First, search the help docs and this forum. Maybe your question has been answered! The debugging steps can help, too. Still stuck? Delete this line and proceed.
What I’m trying to do
The Current note has a property value called family. It is a property type list. And I put the link backlinks of notes of type “family” into this field. Basically, this is a simple representation of the parents families. There maybe be none, one, or two values based on information known.
Example:
families: [[Smith]] [[Jones]]
Things I have tried
I want to create a table listing all other notes that have at least one matching family in the family property.
I’ve tried
TABLE family, birthday, death
WHERE (file.link.family, this.family)
Doesn’t work. But if I hard code it like this it works perfectly:
TABLE family, birthday, death
WHERE (contains(family, [[Smith]]) OR contains(family, [[Jones]]))
The problem is that I have lots of notes and I cannot hardcode this for each note, I just don’t know the family info until later most of the time, and it would be very time consuming.
My question, I guess is how can I get the information from something like this.family of the current file to work as a replacement for hardcoding each family name?