You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to build a dataviewJS query/array like the following DQL:
```dataviewlist summaryfrom "Daily Notes"```
I know I can build result arrays, and pass them to dv.list(), but that is without that extra value of the summary field. Is there another way to do the dv.list() to actually get this kind of result? (And I don't mean just doing dv.query(), and passing the same query result directly onto dv.list() )
By the way, I did find that I could make an array of ListPairWidgets's, to get this kind of result, but it doesn't look especially nice... So if a better way than the following exists, I sure would like to know it.
```dataviewjsconst results = [ new ListPairWidget(dv.page("Something").file.link, 'My summary'), new ListPairWidget('Not a link', 'Not a summary?'), 'Not a widget either': ]dv.list(results)```
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Is it possible to build a dataviewJS query/array like the following DQL:
I know I can build result arrays, and pass them to
dv.list()
, but that is without that extra value of thesummary
field. Is there another way to do thedv.list()
to actually get this kind of result? (And I don't mean just doingdv.query()
, and passing the same query result directly ontodv.list()
)By the way, I did find that I could make an array of
ListPairWidgets
's, to get this kind of result, but it doesn't look especially nice... So if a better way than the following exists, I sure would like to know it.Which produces the image below:

Beta Was this translation helpful? Give feedback.
All reactions