Dataview - Pull in Tasks with a Specific Link In the Task

Things I have tried

I’ve been working on this for a few days (!). I currently have:

TASK FROM [[]] WHERE !completed

What I’m trying to do

I am trying to pull in a list of all incomplete tasks that have a link to the page that I’m on within the task itself (not just the page). The code I have above will pull in all tasks from a page that links to the page I’m on, but I only want to pull in tasks that explicitly link to my page.

Example:

- [ ] Buy Groceries for [[Dinner with Friends]]

If that task shows up on a daily note, I want to be able to go to [[Dinner with Friends]] and pull in that specific task.

I know that tasks have an implicit field called “outlinks”, I’m just having difficulty figuring out how to access it…

Welp, it’s magic…post the problem and immediately find the answer.

1 Like