Skip to Main Content
Spotfire Ideas Portal
Status Future Consideration
Product Spotfire
Categories API
Created by Guest
Created on Aug 29, 2025

make script.WithParameters(params) work on WP@Linux

Below IronPython script doesn't work on WP@Linux,

res, script= Document.ScriptManager.TryGetScript('myScript')

newScript = script.WithParameters(params)


It fails with error "Operation is not supported on this platform."


We use above API to enable / disable button in text area.

e.g. button is enabled at the beginning, when it is clicked, we replace the script associated with the button by the one created above, this one has a parameter defined but no value is assigned so now the button is disabled.


As per support,

The exception is caused by platform-specific API limitations. When calling s.WithParameters(params) a new ScriptDefinition is created and a new approval stamp in a user context is created. On Linux, there is no API that supports data encryption for a per-user context.


Please improve this.


  • Attach files