Add a new command: add tag(s) property

Use case or problem

Hi, I’d like to use command to quickly add new tags property.

Just like the “Add alias” command.

Proposed solution

Currently though we have “Add tag” command, it doesn’t add the tags property, but insert a # character.

I hope we could have a new “Add tag property” command :pleading_face:

This way, we can quickly add tags even if the properties area is collapsed.

From:

To:

Advanced URI can set property values although you need some external tool (Apple Shortcuts, Raycast quicklinks etc) to query the value that you want to set

https://publish.obsidian.md/advanced-uri-doc/Actions/Frontmatter

 


https://manual.raycast.com/quicklinks

Thank you for sharing!

Actually, I was looking for a more visual way to add it, similar to the “Add alias” command, and I figured out a workaround:

app.workspace.activeEditor.metadataEditor.addProperty("tags")

Advanced URI was updated to version 1.47.0 which includes property focus feature although the current implementation is quite poor. Based on my testing it is still buggy. It works properly if Files and any other item in left side bar is closed. Also it doesn’t auto scroll note yet.

You can try this URI

obsidian://adv-uri?frontmatterkey=tags&mode=append

On mac

open "obsidian://adv-uri?frontmatterkey=tags&mode=append"

I support this FR.

Thanks for opening it.

Good to know, thank you! AdvURI is a great plugin—I love it! <3