Dataview: Linked pages by tag

Things I have tried

Not much, yet, as I am not even sure if this is a possibility.

What I’m trying to do

I would like to inquire if it is possible, and how, to use the dataview plugin to create a list of all linked pages within a file that have a certain tag.

Actual use example:
I have a character names ZZ. I am writing on their life in the file called ZZY. While writing, I create several linked pages of other characters they know. These are tagged with #character. I create a file for ZZ’s sister, YY.
Bith ZZ and YY are tagged #character.

I would like to be able to create a list of all linked pages tagged linked to the file the query is in.

1 Like

You could try the following query:

LIST FROM #character
WHERE contains(file.outlinks, this.file.link)

It will create a list of all notes that:

  • have the #character tag
  • and are linked to the note the query is in.

Good luck! I hope this helps.

1 Like

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