obsidian-note-from-template icon indicating copy to clipboard operation
obsidian-note-from-template copied to clipboard

Dynamic template-output value

Open gudstrand opened this issue 1 year ago • 2 comments

I want to prompt for a project in the template (using FromTemplate plugin) and then use that as a part of the template output. My template (as well as the many others I have tried) does not work. Is tis possible? How would I accomplish what I want?


parent: [[[[Project MOC]]]] type: project-page project: "{{project-name:choice:ProjectA:ProjectB:ProjectC}}" template-output: "Projects/{{project-name}}" template-should-create: "open-pane"

gudstrand avatar Jun 23 '23 14:06 gudstrand

Ah - that's not currently supported, as it figures out the template-output directory before the fields are filled in. I'll have a look see if it's manageable to apply all of the final field values to those settings.

mo-seph avatar Dec 20 '23 11:12 mo-seph

I've added this in the dev branch - I want to use the code for a few days before releasing, but it should be out soon

mo-seph avatar Dec 26 '23 19:12 mo-seph