Loading Spinner Not Visible in Data Export Widget
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Loading Spinner Not Visible in Data Export Widget
Hello Community,
I am experiencing an issue with the Data Export Widget when exporting an Excel file with data. Although I see the showDataLoading property in the widget, which states that it displays a spinning icon when data is loading, I am unable to see the spinner in action.
Could anyone provide insights on why this might be happening and if there are any specific configurations required to enable it?
I would appreciate your guidance on this.
Thank you!
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi Tony,
Ah, I see! So the loading indicator is only applicable to the button label if it is dynamically set. That clarifies the behavior.
To address this, I implemented an alternative approach in the Mashup to display the download status when the user clicks the "Export" button to export a CSV file.
I achieved this by creating two expressions—one for true and one for false—and using a router to toggle the download status indicator. The status is shown while the export is in progress and disappears once the file has been successfully downloaded. With status i meant to have an extra label which displays text DOWNLOADING... and then it goes away.
This workaround effectively provides users with real-time feedback on the download process.
Thanks for your insights!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @MA8731174
Yes, that property is very confusing.
Data Export Widget is a button after all and that property probably means a loading icon will be displayed if anything that is required to display this button is still loading (for example when the label is not ready... which is kinda impossible since the label property is not bindable to a service)
See article CS392334
Also see articles CS226059 and CS432221 which suggest that this function is not available in ThingWorx, status message can be an easy workaround if that's acceptable.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi Tony,
Ah, I see! So the loading indicator is only applicable to the button label if it is dynamically set. That clarifies the behavior.
To address this, I implemented an alternative approach in the Mashup to display the download status when the user clicks the "Export" button to export a CSV file.
I achieved this by creating two expressions—one for true and one for false—and using a router to toggle the download status indicator. The status is shown while the export is in progress and disappears once the file has been successfully downloaded. With status i meant to have an extra label which displays text DOWNLOADING... and then it goes away.
This workaround effectively provides users with real-time feedback on the download process.
Thanks for your insights!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
