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

```dataviewjs
dv.pages()

Any suggestions?

Please try this:

```dataviewjs
let pages = dv.pages().file.name;
dv.list(pages);
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:

console

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.