Bases: linksTo(file.file, this.file.path) is not valid anymore

What I’m trying to do

I was an early user of Bases and in the beginning, I’ve managed to create this query to get all of the files that mentioned the current file on a link (like outlinks) and it worked flawlessly for a while. Then they made a huge update and it broke and I just simply couldn’t find a way to make the same filtering again.

Things I have tried

I’ve tried the Link documentation but no success, I might be doing something very complicated and not seeing a thing or two on the new logic.

I had a previous dataview query that did exactly this behavior on previous files, but since I managed to make it on bases I was replacing it on a lot of files and then after the upgrade the code didn’t work anymore.

Dataview:

TABLE file.cday as "Created"
FROM "Products & Teams" where contains(file.outlinks, [[Company name here]])
SORT file.cday DESC

Does anyone has the same use case might share how they did it?

file.links.contains(this)

1 Like

file.hasLink(this)

3 Likes

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