Paul Soulie Posted July 26, 2022 Share Posted July 26, 2022 Hello, first of all thanks for this article. However I have a small problem using this script. As the prompt shows and says "loading" my on demand data doesn't actually load. When the prompt closes then the data starts to load. Meaning that user will need to look at the small wheel on the bottom right of the analysis to know the progress of the loading. How can I tweak the code so that the data starts loading when prompt opens and the prompt closes itself when the data is actually loaded ? Thanks in advance, Paul Link to comment Share on other sites More sharing options...
Jose Leviaguirre Posted July 28, 2022 Share Posted July 28, 2022 Hello @Paul Soulie , Are you using the exact same code? Because it has a line that simulates a task where the time.sleep statement goes in a similar way the subtask 2 works with the clock by checking the clock and start time. Are you using any kind of script to do the on-demand part? If not, there should be some kind of loading indicator when loading data on-demand after. Link to comment Share on other sites More sharing options...
Priyank Dwivedi Posted December 21, 2023 Share Posted December 21, 2023 I agree with Paul. In my case as well, the dialog shows up and closes down after 5 seconds. Then the table begins to refresh. How can we make the dialog stay visible until the data refresh is complete?My table is set to 'on-demand' data and is set up as an information link that runs a SQL server procedure. Link to comment Share on other sites More sharing options...
Paul Soulie Posted December 21, 2023 Author Share Posted December 21, 2023 Hello Priyank, I actually stumbled upon this article that actually checks whether the data is loaded via the small loading circle at the bottom of your analysis. It worked for me so you could use it. Paul https://community.spotfire.com/s/article/JavaScript-Custom-Progress-Indicator-for-TIBCO-Spotfire ST Restricted Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now