Dataview all notes linked to this note - explained

What I’m trying to do

Hello, i am another newbie with a struggle. I have a note (made from a template) and in that note i want to mention the other notes that link this note.

Things I have tried

I saw a desciption in the forum:
Try this:

LIST
FROM [[]]
  • [[]]= «this file»
  • FROM [[]] = «inlinks to this file»

But i have no clue as to what this really means and to how to make it work.
Ik have the plugins dataview and templater installed.

Could anyone explain this more explicitly in lamens terms?

you need to put these lines in code fences
three backticks and dataview on top like so:

```dataview
LIST
FROM [[]]
```

also saw a version swhere which also checks for outgoing links not linked (there’s also a sort at the end):

```dataview
LIST
FROM [[]]
AND !outgoing([[]])
SORT file.mtime desc
```
1 Like

My daily note template contains this dataview search:

table without id link(file.link, title) as "Notes referencing this note"
where contains(this.file.inlinks, file.link) sort file.link asc
2 Likes

Works like a charm, thank you

1 Like

Also works AND looks nice, ty very much

1 Like