Dataview (or other) query for all items in page "section"

Did you install dataview with BRAT? If yes, you have the version 0.5.16 (Beta), if not you have the version 0.4.26.
The new metadata structure in beta versions isn’t yet documented.
But if you use the inline js query to check the metadata in one sample note, you see a new lists level:

`$=dv.span(dv.current())`

If in table query, this level is target with file.lists.
I have not yet check how to explore this new resource, but I think that is similar to the tasks.
For test purposes, try something like:

TABLE L.text
FROM "your-folder-path"
FLATTEN file.lists as L
WHERE !L.status
WHERE meta(L.section).subpath = "Book List"

(there’s necessary to separate lists from tasks… I tried the status data, but I’m not sure about it)

5 Likes