Hi everybody
What I’m trying to do
I have a button with Meta Bind to create a new note with templater.
Here is a part of the action:
actions:
- type: templaterCreateNote
templateFile: System/Templates/Template, books.md
folderPath: books
fileName: bookname
Is there a chance to change the folderPath to the current folder (no absolute path)?
I have a folder structure with folders for every bookshelf. On every bookshelf I’d like to have the button to create a new book. It works perfectly but I’d like to have a generic button script without an absolute path in it.
Things I have tried
I tried the syntax from Dataview plugin: this.file.folder, but it didn’t work. I also tried . and ./ and others.
I assume only an absolute path is accepted for the folderPath property. At least in the docs I can’t find any other information.
Has anybody an idea how to solve this?
Thanks!
Daniel