Omit Attachment Folder in Table of Links

I’m trying to create a table of all linked notes, incoming and outgoing. Problem is that it’s displaying all the media in my attachments folder, I just want the notes.

Here’s my current code:

TABLE WITHOUT ID file.inlinks as "Linked mentions", file.outlinks as "Links"
WHERE file.name = this.file.name AND !contains(folder, "ATTACHMENTS_MEDIA")

Any suggestions would be greatly appreciated.

For starters try that contains statement with file.folder, not just folder.

Still the same output, unfortunately.

Are all of your attachments stored in ATTACHMENTS_MEDIA?

If not, where are they stored?

It might also be easier to only list .md files.

A current (still marked as open) bug?

Yes, all in ATTACHMENTS_MEDIA
I didn’t think about only listing .md files. I’ll try that.

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