Is there a way to know where a templaterCreateNote was called from? #419
Unanswered
AWegnerGitHub
asked this question in
Q&A
Replies: 1 comment
-
The templater API does not allow passing of custom arguments to the template. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a button that looks similar to this in my Daily Note template.
In the created note, I'd like to have a link back to the page that created this new note. Is there a way to know where the button was clicked as pass it so that I can utilize that in the template?
The process flow I'm looking for:
I've tried adding a
tp.system.prompt
to the template to do this, but it requires manually typing the name of the Daily Note file - exactly - to ensure the links are correct. Definitely slows down the process of creating a new note, and not something I can easily hand off to a less savvy user because it doesn't "just work" when they click the button.Beta Was this translation helpful? Give feedback.
All reactions