Returns a dictionary containing a note’s properties.
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.
Parameters
Vault
The vault to work in.
Type: Vault reference
File Path
The path of the note, relative to the vault root.
Type: Text
Return Value
Dictionary
Examples
My note “Hello.md” contains the following front matter:
---createdAt: 2023-11-06list: - 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](/_astro/afo-get-note-properties-1.-eVdF0Xw_Z2qj3qz.webp)
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](/_astro/afo-get-note-properties-2.Ck-Amz7T_ZAT5dn.webp)
Related Links
- Search the Actions for Obsidian community forum for "Get Note Properties"