Hi there,
Can anyone tell me how to include a property (of a file) in a tasks query?
Something like this:
Project File:
---
type: project
title: Dashboard
tag: #p/dashboard
---
# My Dashboard Project
## TODO:
tasks
not done
tag includes function query.file.property('tag')
Background:
My tasks have a project tag in their description so I can easily aggregate them across multiple files. Tags seemed easier in the task description than links.
Previously I used templater with a prompt asking me for the project tag, that is then hardcoded in the query above. Now I’ve switched the project files to Bases, thus I want to have the project tag in the Project file properties and create this query dynamically.
Is there any way to access the properties of the current file in tasks queries?