JayKim
August 10, 2023, 7:42pm
1
What I’m trying to do
Run javascript for dataviewjs in external js file.
Things I have tried
I have this in my note in a dataviewjs block:
await dv.view("javascript/dataview", dv.current());
In my vault I have a folder javascript
containing the file dataview.js
.
I also tried to put this in the snippet folder, but nothing works, I keep on getting this error:
What goes wrong here?
holroy
August 11, 2023, 12:14am
2
Just to make sure: The file is created outside of Obsidian, and is named dataview.js
, and not dataview.js.md
?
JayKim
August 11, 2023, 6:37am
3
It was indeed something like that , it was a .txt file still, thanks it is solved now. I knew it had to be something stupid.
1 Like
system
Closed
August 18, 2023, 6:37am
4
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.