this post was submitted on 21 Jun 2023
4 points (100.0% liked)
ObsidianMD
4196 readers
1 users here now
Unofficial Lemmy community for https://obsidian.md/
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Just to make sure I understand, you want your Author notes to have a Dataview table containing all the books they've written?
For each Book note, do you have a field (either in YAML or inline Dataview) pointing to the Author note? What I personally do is have an inline field that links to the Author note:
Author:: [[Stephen King]]
Then in the Author note I'll have this:
table without id link(file.link,title) AS Book, Year FROM "BOOK FOLDER" WHERE contains(Author, this.file.link)
Replace BOOK FOLDER with wherever your books are. Then you can paste this into all your Author notes. Even better, make an Author template so you don't have to type it each time you make an Author note.