Each Obsidian note has a local URL that can be used to link to that note from other applications. For example, if you know the URL of a particular meeting note you created, you can attach that link to the corresponding calendar event and get a clickable link to your note right from your Calendar app.
This action returns the URL of a given note. The URL only works locally, on the Mac or iPhone/iPad that contains the specified note in the specified vault.
Links to Periodic Notes (daily, weekly, etc.) are dynamic, meaning they will always open the current periodic note.
This action doesn't check if the note exists, it just creates the link.
Parameters
Vault
The vault to work in.
Type: Vault reference
Note Lookup
Specify which note should be looked up or manipulated by the action:
- "note": If you want to use another AFO action’s Note result, pick this option.
- "note at file path": The full path of the note, should be used if you already know the full file path (including folder and file extension).
- "note with UID": Use this if you are using unique identifiers for your notes, and you prefer to look them up by the UID.
- the current Periodic Note (daily, weekly, etc.)
Options:
- note
- note at file path
- note with UID
- Daily Note
- Weekly Note
- Monthly Note
- Quarterly Note
- Yearly Note
File Path
The path of the note, relative to the vault root.
Only available when Note Lookup is set to "note at file path".
Type: Text
UID
The unique identifier of the note. To configure the frontmatter key that is used for the lookup, go into Obsidian's settings, section "Community plugins", and find Actions URI.
Only available when Note Lookup is set to "note with UID".
Type: Text
Obsidian Note
A Note that was returned by another AFO action.
Only available when Note Lookup is set to "note".
Type: Note reference
Get dynamic link
Enabling this switch will make Actions URI (the AFO companion plugin) return a dynamic, unchanging link that will always open the current Daily Note, Weekly Note, Monthly Note, etc.
With the switch inactive, the return value will be the default Obsidian link. This link will be different for every day, week, month, etc.
Only available when Note Lookup is set to any of the periodic note options, e.g. "Daily Note".
Type: Boolean (YES
/NO
)
Return Value
Text
Examples
Suppose the file path of your note is My meeting note
and the vault is named Workbench
, the result would be:
For example, if you paste this link into your browser, it will open that particular vault and note.
Related Links
- Search the Actions for Obsidian community forum for "Get Note Link"