[Bug]: Template not working when creating a new note
edoski opened this issue · 2 comments
Bug Description
After having set in the configuration the note path to my template of choice, I noticed that when using the command on <new_note_title>
it would create the new note, import the template, but wouldn't swap text segments like {{date:YYYYMMDD}} with the actual date itself.
To note, it would work with {{title}} in the title section of the note, but wouldn't for any that were in the note body like the above mentioned {{date:YYYYMMDD}}.
Relevant Screenshot
To Reproduce
No response
Debugging Log
[17:56:39.445] Shimmering Obsidian[Script Filter] Queuing argument '(null)'
[17:56:45.275] Shimmering Obsidian[Keyword] Processing complete
[17:56:45.283] Shimmering Obsidian[Keyword] Passing output 'test note' to Run Script
[17:56:45.562] Shimmering Obsidian[Run Script] Processing complete
[17:56:45.565] Shimmering Obsidian[Run Script] Passing output '01 Fleeting Notes/Test note.md
' to Call External Trigger
[17:56:45.566] Shimmering Obsidian[External] Processing complete
[17:56:45.566] Shimmering Obsidian[External] Passing output '01 Fleeting Notes/Test note.md
' to Run Script
[17:56:45.854] Shimmering Obsidian[Run Script] Processing complete
[17:56:45.859] Shimmering Obsidian[Run Script] Passing output '' to Hide Alfred
[17:57:04.869] Logging Stopped.
Workflow Configuration
Version & System Information
(oinfo command not working)
- macOS: 14.0 Beta (23A5286i)
- Alfred: v5.1.1 [2138]
- Obsidian: v1.3.7
- Workflow: v3.12.8
- Metadata Extractor: v1.1.0
- Advanced URI: 1.36.5
- allExceptMD.json, tags.json, metadata.json: All in folder and all non-empty.
- {vault-path}/.obsidian/workspace.json: Exists.
- Environment Variables: In Relevant Screenshot section.
Last working version
No response
Make sure you have done the following
- I have updated to the latest version of this workflow.
- I am using Alfred 5. (Alfred 4 is not supported by this workflow anymore.)
- I have updated to the latest version of the Metadata-Extractor and the Advanced URI plugin.
- If the
o…
main search does not work, I made sure that I haven't changed any of the default settings of the Metadata-Extractor. Furthermore, I have tried rerunningosetup
and it still does not work. - If notes in general can be found, but recently created or renamed notes cannot, I used the
oupdate
command to manually update the metadata. - I have not renamed my Obsidian config folder, it's still
.obsidian
(About → Advanced → Override config folder).
That's not a bug, that's simply not a feature this workflow has implemented.
I see little value in implementing templating functionality when there are Obsidian plugins that can already do that.
So to get things like date insertion, please use a plugin like Templater