Dynamically link to Today's note, but from another vault

I’m posting this just in case anyone else think it is worth using it.
So coming from this link in which the Today’s note is dynamically generated

I created a way so that a link is created in Vault A, that links to Today’s note but in Vault B.
The other vault in this case is called “Vault B” and the daily notes are stored in a /dailynotes subpath.

="[Link to Vault 2 Today's note](obsidian://open?vault=Vault%20B&file=dailynotes%2F" + dateformat(date(today), "yyyy-MM-dd")+ ")"

Thanks to the original authors of the other thread!

You should be able to this more easily with:

Vinzent03/obsidian-advanced-uri: Advanced modes for Obsidian URI (github.com)

with a URI like obsidian://advanced-uri?vault=VAULTNAME&daily=true

Edit: but that is only going to link to the current note on the day you follow the link while I guess you want a permanent link with one for each day?

1 Like

Hey thanks, that plug-in looks like it is worth checking, thanks.

Didn’t quite follow this part. I have like a “Home” page where I start my main vault, and I want to have a link to whatever is the current today note in the secondary vault. I want the link to adapt to whatever date is that day, so no, not a permanent link to any specific date.

1 Like

That’s OK then!