What I’m trying to do
I am trying to use a dataview query dv.tryQuery()
inside a templater JavaScriptQuery, i.e.
<%*
let x = await dv.tryQuery("LIST FROM ''")
tR += `${x}`
%>
Unfortunately, the console returns
Template parsing error, aborting. dv is not defined
Things I have tried
I’ve already tested this in a Sandbox vault with only Templater and Dataview being installed.
There is this one related question in the forum but it does not apply to my case, since I’ve tested Sandbox vault.
What am I missing? Thank you!