What I’m trying to do
I’m trying to create labels with QR codes to identify containers of stored goods. The QR codes point to canvases which describe the contents of a container with words and pictures. It seems like it should be a relatively simple matter but my efforts have failed to populate the necessary variables.
Basically, i need to create a text string with the Obsidian URL for the note which will become the argument value for the qrcode plugin. The necessary sequence works fine manually using the menu item to generate the Obsidian URL for the file, I would like to automate it.
Things I have tried
I think the information I need should be provided by the Templater file.path but however I try to capture it, it never does. I’ve tried to get the path value using
Templater commands in front matter: currentfilepath: <% tp.file.path(true)%> but as far as I can tell it doesn’t populate.