Lemme put it out there, I’m an Obsidian novice and a returning once-upon-a-time developer.
Like many before me, I have been searching for a way to list files in external folders that I don’t want included in my Vault, with an option to launch them using the system default settings.
By all accounts, the Dataview plugin doesn’t support external files / folders, and I understand why.
I looked at the Symbolic link option; which appeared to work, however, I couldn’t get Dataview queries to work in the notes, in addition to that it is hailed as “Use at your own risk” method.
With a little help from my AI friend I managed to put something together which appears to have worked for me, hence me putting it out here. I’m still coming to grips with templates in Obsidian which seems to be the logical place. Others may have developed something like this, apologies if that is the case, but I struggled to find working examples.
The example below is my first attempt at doing any of this kinda stuff …
The result of the output looks something like … (Table only)
It didn’t work at first for me after copy/pasting the path to my folder from Explorer. I came to realize that your path uses ‘/’ where Explorer uses ''. I switched all the \ to / and then the list of files popped up! Thanks!
I’m converting my implementation to use yours.
I’ve created a “views” folder under the '.obsidian" folder and placed the js file there.
I’m getting “Dataview: custom view not found for ‘view.js’ or ‘views/view.js’”
Which folder do you use for the view.js, where the dataviewjs codeblock can locate it?