Hey, folks. I’ve a question about metadata inheritance specifically as it applies to tasks inheriting metadata from a page.
I would like to create a table of tasks where the metadata defined on a page is reflected unless the metadata field is overwritten for that specific task.
eg.
With an example page of:
---
month: May
"Cloud Cover": ".35"
tags: may
---
- [x] 1st
- [x] 2nd
- [x] 3rd [cloudCover: .80]
- [x] 4th [cloudCover: 1]
...
- [ ] 30th
- [ ] 31st
I would expect to be able to use this query
Table without id
sDay.text as Day,
sDay.cloudCover as "Cloud Cover"
FROM #may
FLATTEN this.file.tasks as sDay
to get
Day (6) | Cloud Cover |
---|---|
1st | .35 |
2nd | .35 |
3rd cloudCover.80 | .80 |
4th cloudCover1 | 1 |
30th | .35 |
31st | .35 |
Where all but the cloudCover value defined on the 3rd and 4th is inherited from the page’s metadata.
Instead, I get
Day6 | Cloud Cover |
---|---|
1st | - |
2nd | - |
3rd cloudCover.80 | .80 |
4th cloudCover1 | 1 |
30th | - |
31st | - |
What am I missing about list items or tasks inheriting from pages?