Autofilling from Properties

What I’m trying to do

I’m kind of new to this and not real code savvy so this is probably really easy… But I have a template for quotes using a the Quote callout and I want to make the “Title” part of the Quote callout to autofill with the “Quote By” input I added in the properties. Is this doable and what code do I use to do it?

I do wish Obsidian had a Google Keep type cards-view plugin because Keep was perfect for my quotes database until I ran into tagging limitations.

Have you tried out Canvas? Its a core feature that lets you visualize your notes as cards and could be useful for a quotes database.

I have, but it doesn’t have the sort of search and autodisplay capabilities that Keep does. Like with keep I can search an idea and all the quotes related to that idea just pop up with no others. Any idea getting the callout to autofill from the property value?

I had something like this figured out at one point. I remember it required using several plugins community plugins including Dataview, Templater, maybe Metadata Menu. You can access a note’s YAML properties using Dataview’s API, but it requires a bit of custom js inside your template, which you can do with Templater.

I can’t write the code for you, as I’m novice with js, but I will link to my very first two posts on this forum, which in part documents my process figuring out how to make something similar work for myself.

Here are those posts:

BTW—there’s usually a JS wizard or two hanging around the Obsidian Discord if you want to give that a try.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.