Skip to Main Content
Spotfire Ideas Portal
Status Future Consideration
Product Spotfire
Categories API
Created by Guest
Created on Feb 21, 2019

JavaScript API ability to open a file without user saved state

It's possible to open Spotfire files and ignore user's saved state with the '&applyState=false' URL parameter. It would be helpful to have an option to do the same through the JavaScript mashup API. I'm working on automated tests in Spotfire using Selenium and being able to clear the state when opening files would remove variability.

  • Attach files
  • Guest
    Reply
    |
    Apr 23, 2019

    Hi Magnus, sadly not. I want to be able to support state handling normally for regular users, but disable it through the JavaScript API in certain situations.

  • Admin
    Magnus Rylander
    Reply
    |
    Apr 4, 2019

    Hi Pete, 

    You can disable the state handling using a document property in the analysis file. Would that solve the issue fir your auto test use case?