Things I have tried
I’d like to create a template (including dataview)
LIST FROM ""
WHERE icontains(Company, [[Note Title]]) AND icontains(Tag,"Personal Contact")
I want to insert this template into a note and the [[Note Title]] will automatically populate in the note WHERE clause with out me having to literally type it each time. Can I have a link as a value? if so, what’s the proper syntax to have it auto-populate? “Company” is a YAML Header and the values (links) would be diff companies that I have an existing note for e.g. [[Amazon]], [[Office Depot]], etc.
I’ve tried:
WHERE icontains(Company,[[{{title}}]])
WHERE icontains(Company,"{{title}}")
WHERE icontains(Company,file.name)
WHERE icontains(Company,file.link)
and none of the above works. The only thing that works is if I manually type the link:
WHERE icontains(Company, [[Amazon]])
However; I have hundreds of Notes for Companies and don’t want to have to insert the company name after I insert the template at the top.
What I’m trying to do