Bases Formula Backlinks with tags

What I’m trying to do

With the plugin bases I have a table that show all my “Goals”. For each “Goal” I want a formula that show me only the backlinks to each “Goal” that have a tag called “#test”.

Is there a way to do it?

Things I have tried

file.backlinks.filter(value.hasTag("test"))

I receive an error:

Cannot find function “hasTag” on type Link

OK I found the solution:

To show the full path:

file.backlinks.filter(value.asFile().hasTag("test"))

To show only the file name:

file.backlinks.filter(value.asFile().hasTag("test")).map(value.asFile().asLink(value.asFile().name))
1 Like

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