Placeholder for document title? Or fixed date when due/done? #539
-
Is there a variable that will insert the document title (or the current date), but then retain that value when the date changes? I've created a Done section within my task list as a daily record of which tasks were completed. Right now, I'm using Is there a way to use something like Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @scottsemple. It sounds like your Done section exists within a Daily Note. If so, and if you name your daily note files using the YYYY-MM-DD convention, then you can accomplish what you want using the Dataview community plugin and the following query:
However: If I wanted, within each Daily Note, a static list of the tasks that I'd completed on that date (regardless of where in my vault they originated or even if the note they were in was later deleted), then I'd be very tempted to use a more hands-on approach. You could stick with the Tasks query that you're already using (presumably in a Daily Note template) and, at the end of each day, select and copy the results of the query, switch to Edit mode, and paste those results over the query block in the Done section of that day's note. I hope that one or the other of the above suggestions meets your needs. |
Beta Was this translation helpful? Give feedback.
Hi @scottsemple.
It sounds like your Done section exists within a Daily Note. If so, and if you name your daily note files using the YYYY-MM-DD convention, then you can accomplish what you want using the Dataview community plugin and the following query:
However: If I wanted, within each Daily Note, a static list of the tasks that I'd completed on that date (regardless of where in my vault they originated or even if the note they were in was later deleted), then I'd be very tempted to use a more hands-on approach. You could stick with the Tasks query that you're already using (presumably in …