exclude table item where file contains "<% tp.file.cursor(0) %>" #1278
-
I have the following query that creates a book list.
My problem is that since the query is itemType = "book", my book template is always included as well. I'd like to exclude the template by filtering out any file that contains 2️⃣ How do I make the |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
You can exclude files with |
Beta Was this translation helpful? Give feedback.
-
For 1: I filter out my templates by excluding the folder that they are in |
Beta Was this translation helpful? Give feedback.
For 1: I filter out my templates by excluding the folder that they are in
FROM -"templates"
For 2:
file.link
gives the link to the file in the same what thatfile.name
gives the name of the file.If you want to construct your own link with display text, there is a helper function
link(path, displayText)
that might be useful.