Retrieving information from linked files in Bases

I have some notes that are tagged #trip, some of which have a link to notes that are tagged #event. Is there a way in bases to list all notes in #trip, and then further identify which of these have a link to an #event note? I know the simple solution is to add a property to all my #trip notes, but I find that this pattern comes up a few times in other ways in my vault, so I was wondering if this can be done programmatically. Thanks!

Maybe something like:

file.links.filter(value.asFile().hasTag("event")).length > 0

… ? :woman_shrugging:

I’m not a big tag user so this might not work as expected :sweat_smile:

Bingo! Thank ye kindly!

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.