Please advise:
In the daily notes there is an item “projects:” and below their name. Is it possible to deduce these names from all notes into one document? Do “projects” need to be labeled in a special way? Can the dataview plugin handle this? What would a query look like in principle?
Hi.
If you want to use dataview to create a dynamic/automatic list of metadata you need to know the kind of metadata that work with dataview.
https://blacksmithgu.github.io/obsidian-dataview/data-annotation/
In your example, you need to create your own fields according the syntax admitted by plugin. Let’s take an example using full inline fields (syntax key:: value
):
# This is my daily note
blah, blah, blah...
## Projects
<!-- if only one project -->
project:: ProjectA
<!-- if a list of projects -->
project:: "ProjectA", "ProjectB", "ProjectC"
<!-- or a list of projects dispersed in the note -->
project:: ProjectA
blah, blah, blah...
blah, blah, blah...
project:: ProjectB
blah, blah, blah and more blah, blah, blah...
project:: ProjectB
blah, blah, blah...
---
Now you can create a query “targeting” the metadata project
. Example:
## A table with "projects" by file/daily-note
```dataview
TABLE project AS "Projects"
FROM "your-daily-notes-folder-or-tag-or-nothing"
WHERE project
```
Thanks!
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.