-
Hi, A file dv.execute(`
TASK
WHERE scheduled = date(this.file.name)
`); As you can see I query the scheduled date based on the file name e.g. I then import this JS in each of my daily notes: ```dataviewjs
dv.view("/scripts/daily_log_scheduled");
``` I much prefer the functionality of the Is there a way to achieve this through the tasks plugin that anyone is aware of? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
I do something much the same, combining dataview and Tasks. This example in the docs may give you enough info to bend it to your needs: If you get it working, it would be good if you could share the result here…. |
Beta Was this translation helpful? Give feedback.
-
Following through on @claremacrae's suggestion A file with content const query = `
not done
scheduled = ${dv.current().file.path}
group by heading
hide backlink
hide scheduled date # we know what date it is 🤪
`;
dv.paragraph('```tasks\n' + query + '\n```'); I then import this JS in each of my daily notes as I did before ```dataviewjs
dv.view("/scripts/tasks_daily_log_scheduled");
``` |
Beta Was this translation helpful? Give feedback.
Following through on @claremacrae's suggestion
A file
/scripts/tasks_daily_log_scheduled.js
with content
I then import this JS in each of my daily notes as I did before