What I’m trying to do
I recently started using Meta Bind to create buttons. I created a button called “New Meeting” that will show up on every project template. I use PARA and have a folder called Calendar in my Resources folder where I house all date-related notes such as daily notes, etc. This Calendar folder has subfolders to keep things relatively organized by year and month.
So for example:
- 3 Resources/Calendar/2024/11
- 3 Resources/Calendar/2024/10
- 3 Resources/Calendar/2024/09
I would like the meeting note created by the Meta Bind button to be created in the appropriate Calendar folder. So for example, today being November 2024, I would like a meeting note from today to be created in the “Calendar/2024/11” folder.
If this is not possible, maybe a pop-up asking where I’d like to store the folder?
I can’t seem to get the dynamic folder destination working.
I can’t seem to
Things I have tried
I tried using Templater logic in the folder path:
folderPath: 3 Resources/Calendar/<% tp.date.now(“YYYY/MM”) %>
I’m not sure what even else to try.
Here’s the full code I’m using:
label: New Meeting
icon: 📅
hidden: false
class: ""
tooltip: ""
id: ""
style: primary
actions:
- type: templaterCreateNote
templateFile: 3 Resources/Utilities/Templates/New note templates/Meeting.md
folderPath: 3 Resources/Calendar/<% tp.date.now("YYYY/MM") %>
fileName: New Meeting 1
openNote: true
openIfAlreadyExists: true