简体   繁体   中英

Is it possible to show a image/message in spotfire text area to wait for data to be loaded?

I built a spotfire report in which i am retrieving data from web by running iron python script on a button click .But the problem here is after clicking the button the script is running at the back and it may take few seconds to populate the data in report actually the user will have no idea whether the data loading is going or its done . so any way that we can show Image or a Message signing the data loading or done. Thanks

While I believe it might be difficult (but not impossible) to report progress on the ongoing task, would it be enough for you to set a string document property at the end of your ironpython script to for instance: "Data loaded"?

To set a document property from ironpython, use:

Document.Properties["propertyName"] = "Data loaded"

Then add a property control to a text area and have it show the value of the document property. Once the script completes the text will then be shown to the user.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM