avatarStéphane Sulikowski

Summary

The article provides a guide on how to set up a template with dynamic dates in Obsidian using the new 'properties' feature.

Abstract

The article discusses the implementation of Obsidian's 'properties' feature to enhance note-taking by adding dynamic dates to templates. The author explains the role of properties as advanced metadata, comparing them to tags but with extended functionalities that allow for better contextualization, categorization, and querying of notes. The guide outlines steps to change the display of properties to source mode, edit templates to include YAML frontmatter for dynamic date insertion, and revert the property visibility for user-friendly interaction. The author emphasizes the benefits of this feature for automating the note creation process and suggests that it brings a Notion-like experience to Obsidian, offering users more control over their notes.

Opinions

  • The author believes that the new 'properties' feature in Obsidian significantly enhances the user experience by providing Notion-like functionalities within note metadata.
  • They express that setting up templates with dynamic dates is essential for maintaining consistency and efficiency in note-taking.
  • The author views the 'Properties' feature as a powerful tool for organizing notes, enabling users to sort by due date or find all notes related to a specific project.
  • They suggest that the possibilities for utilizing properties are endless, highlighting the feature's potential for advanced queries with Dataview.
  • The author recommends trying out an AI service, ZAI.chat, as a cost-effective alternative to ChatGPT Plus (GPT-4), indicating a positive opinion about the service's performance and value.

Obsidian properties : How to set up a template with dynamic dates

Made with midjourney

Following the launch of Obsidian’s new ‘properties’ feature, I embarked on a journey to optimize my notes to capitalize on this improvement. My first area of focus was naturally my existing templates, where I faced some difficulties in establishing a dynamic date. Let me share how I solved the issue.

What are obsidian properties?

In Obsidian, properties feature as enhanced metadata for your notes, serving a role comparable to that of tags yet equipped with extended functionalities. These properties facilitate the contextualization and categorization of your notes and enable the execution of advanced queries with Dataview. Moreover, Obsidian’s ‘Properties’ feature seamlessly interprets YAML frontmatter, rendering it in a manner that enhances user experience.

It brings a Notion-like experience into the metadata of your notes. Imagine being able to sort your notes by due date, or quickly find all notes related to a specific project. The possibilities are endless, and the control is in your hands.

Default Date in Properties

Now, let’s address the issue I faced: incorporating default dates into templates.

Templates are incredibly useful for maintaining consistency, adding a dynamic date is an essential part. You could manually enter the date each time you create a note, but that defeats the purpose of automation.

Here’s how you can set up a template with a default date using Obsidian properties on existing templates.

Step 1: Change how the properties are displayed

Navigate in the settings to the editor section and change the visibility to « source ».

Step 2: Edit the template

In your new template, you will now see the properties in YAML text format. You can now add the following line, or edit the date property:

date: {{date:YYYY-MM-DD}}

This will create/set a property called “date” and populate it with the current date whenever you create a new note using this template.

Set the properties visibility back to “Visible”.

That’s it !

Conclusion

Properties in Obsidian are more than just metadata; they are a powerful feature that can significantly enhance your note-taking and knowledge-management experience.

Hope that this tip will help you for adopting the properties feature in your templates!

Happy note-taking!

Obsidian
Pkm
Template
Recommended from ReadMedium