Python Reload data with prompt
As part of a Spotfire application I am working on, I have a requirement to allow the user to manually reload all data tables when using the webbrowser as the 'Reload Data' button in the client does. I added a button for this with some basic Python code underneath, which is technically functional. However, it does not show a prompt on the progress of loading, meaning it is unclear that the application is processing the request (and additionally, does not show a trigger when it is finished).
Does any of you know how I can show a loading screen for this, similar to the regular data loading prompt? The standard prompt I am talking about is enclosed as well.
The script as it is currently written
from Spotfire.Dxp.Data import * from Spotfire.Dxp.Data.Import import * # Refresh all tables for t in Document.Data.Tables: if t.IsRefreshable: t.Refresh()