Get Note Properties

Returns a Shortcuts dictionary containing the note properties for a specific note.

Please note: If the note's front matter contains a structure that Obsidian can't process, the note properties will be empty, because that's what Obsidian will return in that case.


Returns

A dictionary, i.e. a data structure that stores key-value pairs, containing a note's properties.


Examples

My note "Hello.md" contains the following front matter:

---

createdAt: 2023-11-06

list:

- one

- "2"

- three

---

Since this action returns a dictionary, I can access the single keys using a Get Dictionary Value action:

The 'Get Note Properties' action accessing the 'Hello' note in my vault 'Workbench', followed by a 'Get Dictionary Value' action using the prior action's result, accessing the value of the `createdAt` key, which returns string '2023-11-06'


Accessing the "list" key, I get its value, which is a list of strings:

The 'Get Note Properties' action accessing the 'Hello' note in my vault 'Workbench', followed by a 'Get Dictionary Value' action using the prior action's result, accessing the value of the `list` key, which returns its list string, i.e. 'one', '2', and 'three'


Changes / History

v1.4

Action was introduced. 🐣

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Carlo Contact Carlo