Skip to content
Discussion options

You must be logged in to vote

This is doable by directly trawling the dataview index in DataviewJS, though not using normal Dataview queries - you essentially aggregate all file.outlinks links for every page and then filter down to ones which start with your desired prefix:

dv.list(dv.pages().file.outlinks.distinct().where(l => l.path.startsWith("People") && !dv.index.pages.has(l.path)));

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@tonyxiao
Comment options

@blacksmithgu
Comment options

Answer selected by tonyxiao
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants