Davaviewjs nonfunctional

What I’m trying to do

while dataviewjs is active in the Dataview settings, even the most basic queries are blank (no errors)

Things I have tried


Any suggestions?

Please try this:

let pages = dv.pages().file.name;
console.log("Total of pages: " + pages.length); 

If there’s still nothing in the preview please check the console, you must get something like this:


Ok that has results.

Perfect! Hope that solves your question.

It points me in the right direction. Thanks.

1 Like

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