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.
holroy
May 13, 2023, 12:49pm
2
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?
opened 03:17AM - 25 Aug 21 UTC
help
[//]: # (Note: If you are unsure about or have questions related to your feature… request prefer making a discussion first. After we understand what you are looking for we can easily create an issue to track the solution and progress)
**Is your feature request related to a problem? Please describe.**
I would use without grammar in any other columns, but the only way I found to use the without method was for ID. For example, I am writing notes with the help of obsidian and dataview. During this process, when I am writing notes, also using dataview to generate my MOC table, so I will take file.inlink and outlink into consideration. While I try to do that, I notice that the MOC appears in each file.inlink rows, so I want to exclude it.
**Describe the solution you'd like**
Provide the without grammar support for it, then I can append it in my dataview code.
**Describe alternatives you've considered**
Provide the filter which allows people freely filter the elements they don't want.
**Additional context**
Yes, all in ATTACHMENTS_MEDIA
I didn’t think about only listing .md files. I’ll try that.
system
Closed
August 30, 2023, 10:41pm
7
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.