Skip to Main Content
Spotfire Ideas Portal

Hide the cancel button when the progress bar is displayed by using "Spotfire.Dxp.Framework.ApplicationModel.ProgressService"

Customer want to hide the cancel button when the progress bar is displayed by using "Spotfire.Dxp.Framework.ApplicationModel.ProgressService".


They tried to achieve this using Spotfire.Dxp.Framework.ApplicationModel.ProgressService with reference to the following URL, but there is a possibility of inconsistencies in the DB when the cancel button is pressed.


■Reference

https://community.spotfire.com/articles/spotfire/how-to-add-progress-bar-and-cancellation-option-when-executing-ironpython-scripts-in-spotfire/


  • Attach files
      Drop here to upload
    • Guest
      Reply
      |
      Jul 22, 2024

      Hi Magnus,

      Thank you for your reply.

      Regarding the inconsistency of the Spotfire screen, we have resolved the issue with the IronPython script and have revised the text as follows.

      > there is a possibility of inconsistencies in the DB


      Regarding the DB inconsistency, when inserting, updating, or deleting multiple rows of data in the DB with an IronPython script, there is a problem that only some of the data is reflected in the DB when I press cancel in the middle of the process.

    • Admin
      Magnus Rylander
      Reply
      |
      Jul 15, 2024

      Hi Marina and thanks for posting the Idea. I'd like to understand why you want a progress bar without cancellation option. What do you mean by inconsistencies in the DB and Spotfire screen? Also, are you implementing an IronPython script or an extension?

      1 reply