msfz751
February 14, 2025, 1:07am
1
I am using dv.io.csv()
to read a text file into Obsidian. This is a simple line:
```dataviewjs
const pdfPages = await dv.io.csv("store/@0-pdfscan_changed.txt")
```
The .txt file is generated after a while returning a table separated by tabs.
The problem is that it takes sometimes more than a minute to update the values in Dataview. I am suspecting of cached values.
Is there a way to force a new reading?
holroy
February 14, 2025, 8:40pm
2
There are three ways to force a rerun of a query:
Reload the document (like going back and forth in tab history, or close/reopen the document)
changing the query (this could be as simple as adding/removing a space character)
Force a rebuild using the command “Dataview: Rebuild current view”
If you’re likely to do this often, I would consider assigning a hotkey to that command in the last item.
system
Closed
March 14, 2025, 8:40pm
3
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.