Notion app logo
Struggling to stay organized and effective? Learn to master your time and tasks with the Effectively Notion course!

Get all links to the current file with Obsidian and Dataview

How to get all links to the current file with Obsidian and Dataview.


Dataview is easily one of the most powerful plugins for Obsidian.

One of my favorite ways to use Dataview is to get all of the files that are linked to the current file.

This lets the user embed linked mentions in the document instead of having to use the "Linked Mentions" section of the Obsidian UI.

using the dataview tag:

	.map(page =>

The Result:

This is helpful if you don't need to see where the file is mentioned and instead just want to see an overview of all the files that link to it.

Update 2022-11-25

I've started taking Interstitial Notes and leveraging a Dataview (Obsidian) query that gets all list items that match the query for the current file:

		.where(li => li.text.includes(`[[${dv.current()}]]`))
		.map(li => [li.text]))

This lets me easily capture my atomic thoughts, tasks and feelings in a daily note (I have a Quick Add workflow for each type that makes it fast) and then collect all of those thoughts, tasks and feelings in the note that it's relevant for.

As an example, today I worked on updating all of my 404 links to point to their 200 equivalent notes in I capture all of my tasks, ideas, thoughts and feelings in my Interstitial Notes and then use the query above to render something like this in the note:

Photo of Chase Adams

Hey, I'm Chase. I help aspiring entrepreneurs and makers turn their ideas into digital products and apps.


Vector Arrow Scribbles
banner image for figma vector arrows scribbles

A figma community project of vectorized hand-drawn arrows.

Go To Figma
Vector Line Scribbles
banner for figma vector line scribbles

A figma community project of vectorized hand-drawn lines.

Go To Figma
Vector Shape Scribbles
banner image of figma vector shapes scribbles

A figma community project of vectorized hand-drawn shapes.

Go To Figma

Subscribe to my Newsletter

Every other week I publish the Curiously Crafted newsletter.

In it, I explore the intersection of curiosity and craft: the people who make stuff, what they make and the way they pursue the craft of making.


I'm on almost all social media as @curiouslychase.

The curious logo of Chase Adams: glasses and a bow tie.stay curious.