Comment by raybb

1 month ago

On a side note, the docs don't seem to mention if this is possible but does anyone know how to use a template or set a default frontmatter (like created date) when using the "new" button in a Base?

The solution I used before bases is eh... pretty hacky.

```meta-bind-js-view {memory^inputText} as title --- const toShow = context.bound.title || "TKTK"; const str = `\`\`\`meta-bind-button label: New Project Idea - ${toShow} icon: "" hidden: false class: "" tooltip: "" id: "" style: primary actions: - type: templaterCreateNote templateFile: Templates/Project.md folderPath: Project Ideas fileName: ${toShow} openNote: true \`\`\``; return engine.markdown.create(str) ```