How to write multiple frontmatter keys using Obsidian Advanced URI

Hi,

I’m trying to write multiple frontmatter keys to a file at the same time using the Obsidian Advanced URI Plugin, but I can’t see anywhere in the documentation how to write multiple keys at the same. The relevant examples in the documentation only show nested keys.

My desired result is to have the following file properties:

id: 135762
copyright_year: 2024

So far I have tried the following actions:

obsidian://adv-uri?vault=Notes&filepath=my-file&frontmatterkey=id&data=135762frontmatterkey=copyright_year&data=2024

obsidian://adv-uri?vault=Notes&filepath=my-file&frontmatterkey=id,copyright_year&data=135762,2024

neither of which does what I’m looking for.

Any advice would be very welcome. Thanks in advance.

It’s pretty niche using Advanced URI for this.
Is this for a mobile quick capture perhaps?

If not, you could look around for a Templater solution, or if you would want to be able to add to existing frontmatter as well, with Obsidian’s built-in ‘processFrontMatter’.

Uris are nice to use, the thing is, this method is pretty limited.
Try the Multiple properties plugin instead.

Even simpler, make some templates for your yaml header, user the core template plugin.