Skip to Main Content
Spotfire Ideas Portal
Status Future Consideration
Product Spotfire
Categories Scripting
Created by Guest
Created on Feb 9, 2018

Ability to pass document properties to and from JavaScript Scripts

I need a way to pass document properties to and from JavaScript scripts. My workaround at the moment is to pass properties into html tags and then pass that to JavaScript.

 

This is important to me for 2 reasons:

(1) As a dashboard author, I'm assume that I should use Python for basic data/visualization processing, R for TERR data functions, and JavaScript for element/display interaction. With that assumption, there needs to be a clear way for me to pass information between the different script environments and to the main SpotFire elements. If I don't have that, I can't fully utilize Javascript like I would with other applications

(2) The current workaround is slightly obscure and therefore limited. I have to attach a text area + html code for every page I want to use the property in. This not only makes my my dashboard more complex, but my code (Python + HTML + JavaScript) is harder to maintain, and harder to keep adaptable

 

Impact:

  • Currently affects 2 dashboards 
  • Potential to affect  a total of 10 dashboards within the next 6 months
  • Attach files