What I’m trying to do
I am trying to get my file.inlinks to ignore a specific folder. I have a MOC file call “MOC - Software Development”, which is found in the folder “00 - Maps of Content”.
±–00 - Maps of Content
±–02 - Areas
ª ±–02 - Software Development
ª ª ±–01 - Languages
ª ª ª ±–01 - SQL
ª ª ±–02 - Software Requirements
±–03 - Resources
ª ±–01 - YouTube
ª ±–02 - Podcasts
ª ±–03 - Websites
I have a header within the MOC called “SQL,” which returns all of the links from the 02 - Software Development → 01 Languages → 01 - SQL.
table title
from "02 - Areas/02 - Software Development/01 - Languages/01 - SQL"
sort file.name asc
I want a header called Other at the bottom referencing anything not part of the 02 - Area folders. An example of this might be a Website note that I would reference the “MOC - Software Development.” So, I would like to show all the notes that are found in the 03 - Resources.
Things I have tried
I’ve played around with trying to exclude the folder using not contains
TABLE without id file.inlinks AS "Links from", file.outlinks AS "Links to"
WHERE file.path = this.file.path AND !contains(file.path, "02 - Areas")
sort file.name asc
Also try something like
AND !contains(file.folder, "02 - Areas")
Hopefully, this is enough information for you.
Thanks,
James