I am trying to define a key with a list of values in yaml front matter (or in-line, see below), and then use dataview to make a list (or table or whatever) of all files that contain one specific value in that list. e.g.:
the front matter bit:
--- type: book copy: - library1 - library2 - personal ---
and the dataview query:
```dataview LIST FROM "books" WHERE copy = "library2" ```
somehow, dataview and/or yaml don’t seem to accept the lists I define. If I use only one value, it works fine. as you can probably guess, I organize my literature with obsidian and I want to note in which libraries I can find a particular book and then generate lists for each library so I can see what to get on my library visits.
what I’d like even better would be using standard obsidian tags instead of front matter, cause the former offer auto-complete, so I don’t have to remember all the shorthands for the libraries. Is there a any way to achieve this?
I also tried to define the lists with square bracket, without brackets just separated by commas and inline key-value pairs (key:: library1 library2 etc).
It would be so cool if anyone could point me in the right direction to make this work. Thanks!