One more updoot, this is a pretty significant feature for me since it allows me to cross-link notes to other applications. Ideally knowing the note title would be sufficient, rather than needing to store/know UUIDs referring to each note. I imagine that should be okay, since each filename occurs only once within a vault?
My vote for this feature too. It’s one of the obvious missing links in my current workflow.
One question though: if Obsidian’s URL Scheme relies on file name or file path instead of UUIDs, would the URLs be consistent across multiple (desktop and mobile) OSes?
I can think of two examples: DEVONthink and Drafts. Both has extensive support for URL Schemes relying on UUIDs and the URLs are consistent across macOS and iOS. When I copy the URL of a file, e.g. x-devonthink-item://FB10A963-7A9D-4B70-BC1C-9A0E28A62DCC and paste it into an Obsidian document, this URL always takes me to the same file whether I’m on macOS or iOS.
Because both DT and Drafts rely on UUIDs, I was under the impression that apps have to rely on them to generate URLs that work consistently across multiple OSes.
I think you are probably right. Also, a UUID would not rely on the note name. If you used a note name as a url, and renamed the note, the external link could break.
But would having a UUID rely too much on Obsidian’s database, and go against the philosophy of owning your data? If you had all your Markdown data, and rebuilt your vault, would all those UUIDs be lost and links broken?
Scrivener uses a UUID as well.
Notion uses a UUID, but also puts the name of a note before the UUID. But if you rename the note, the link doesn’t break. The UUID doesn’t change.
This is a fake example: notion://www.notion.so/yourworkspace/The-Note-Name-Goes-Here-820937a9e8f70e0a7fc7097545788763
Things also uses a UUID.
Having natural note names as urls would mean you could write them by hand, or generate them by script, which would be great. Could there be multiple access points? UUID or note name?
I imagine there would be a lot of design considerations to implement this well.
Speaking as a user that knows little about development decisions, I think this may be a good solution. I personally wouldn’t mind using UUIDs accessible only within Obsidian’s database (as opposed to owning your data locally), but for those who wish to adhere to the original philosophy, they can always generate the URLs with file names / file paths.
Linking to files from other applications via obsidian://... would be ideal for integrating with other apps!
Things 3 has a custom URL scheme which is very powerful. Many functionalities apply to Obsidian and are relevant to a number users, but I would argue basic file linking and file creation would already help many users as expressed throughout this thread.
FWIW:
I link to iA Writer from my Jekyll site (generated from an Obsidian Vault) for any internal links that haven’t been created yet: (separated out line by line for easier reading here)
ia-writer://new
?edit=true
&path=path/in/app/to/newfile/20200901-titletextstring.md
&text=---%0D%0Atitle: Title Text String%0D%0Adate: 2020-09-01%0D%0Atags: %0D%0A---%0D%0A#
This is what iAWriter supports. It works across macOS, iOS and iPadOS. Documented here: