I am thrilled to see the option find note by UID with the latest release. Unfortunately, I can’t get it to work yet.
I have a shortcut that calls the note by UID. Obsidian reports that it can’t find the note. The release notes for 2024.2 say to "make sure you have configured the Actions URI plugin. The only option I have is the UID frontmatter key. What other options should I configure? What am I missing?
Hi @HeatherH, welcome to the forum! Sorry to hear you ran into problems. Could you please provide me with a copy of the note’s frontmatter and maybe a screenshot of the workflow?
As an example, this is how I use it. I’ve configured Actions URI to use the default key (“uid”):
Here’s screenshots of the note, the shortcut, as well as my options for Actions for Obsidian.
Thanks! I think the problem is that the frontmatter key in the note is uid
but Actions URI is configured with id
. Either change the frontmatter key to uid
or the Actions URI setting to id
, and see if that does the trick.
Makes sense. I changed it to UID and it worked perfectly.
But that raises another question. Does Obsidian have an underlining UID for each file, and, if so, how do I find it?
If not, do I need to generate a unique UID for each file? If so, any recommendations on how to do that?
[Update: I think I figured out it. UID’s seem to be user generated. I also have the Advanced URI plugin installed in Obsidian and it adds an entry in the context menu to “Copy Advanced URI.” In the process of copying the URI, it first creates a uid and adds it as a property to the file.]
Does Obsidian have an underlining UID for each file, and, if so, how do I find it?
It doesn’t. People wanted it, however, so there are community plugins like Add an ID to the front matter which automatically adds a new id
key to the front matter containing a UID.
I think there’s other, more Zettelkasten-related plugins for Obsidian which add UIDs, and I’ve heard of people working with Templater to add them, but I don’t have any more information on that.
Thanks for the info. Now that I have UIDs figured out, let me add a huge thank-you for adding UID’s as a way to address notes.
I just started setting up a Shortcut a couple of days ago to create a menu to frequently accessed Obsidian notes. I am used to working with UUIDs in Drafts and was surprised to not find the same functionality as part of Obsidian. It seems like the only logical way to remotely address a file that might move around or change its name.
And then, right in the middle of debugging my Shortcut that referenced notes via file path, you released the update to Actions.
Presto. The world makes sense again.
Thanks!
Hey, thanks for the kind words. My pleasure!