Replies: 1 comment 1 reply
-
Bumping to see if anyone can help. Thanks! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm working on setting up a workflow where I have a task list (using Kanban, though I don't think that's relevant) where each task is a link to a page that contains further details, including some metadata. I'm trying to write a Dataview query that will create a task list but allow me to use fields from the page that each task links to.
So, each task on the page "Kanban" is of the form
[[Task1]]
, and then the pageTask1.md
has some Dataview fields for things like priority.Ideally, I'd want to be able to do something like:
TASK from "Kanban" GROUP BY priority
where 'priority' is defined in the file linked from each task. This doesn't seem to work, probably because the task and the link/page are separate entities. (Though it would be cool if this did work!)
I've also tried something like this DataviewJS:
var tasks = dv.page("Kanbaan").file.tasks; dv.taskList(tasks).groupBy(t => dv.page(t.text).file.priority)
but there doesn't seem to be a way to follow a link from task text.
Am I missing something here, or does this functionality not exist? I know one possible workaround is to include the metadata as inline fields in the task instead of in the linked page, but that could get cumbersome. Any advice or guidance is appreciated. Thanks!
[EDIT] If relevant, I seem to be using v0.4.26.
Beta Was this translation helpful? Give feedback.
All reactions