How to Cycle Through Different Tabs in Spotfire

“Can Spotfire cycle through different tabs?” is a question I’ve heard numerous times before, and I admit that I have always answered it with a discouraged “No”.

However, during one engagement with a customer, I no longer wanted to say “No” and said “Let’s see”.

The first thing that came to my mind was to use Python to loop through the different pages of the analysis. Storing the “current” page in a Document Property and then making that page the active one was easy enough. The problem comes in triggering the Python script once the “next” page is loaded. Python, as we all know, needs to be triggered somehow. Spotfire currently¬†does not have the capability to load or execute a script when an analysis or page is loaded.

So what else can we use? Well, we do have Javascript. We can automatically execute Javascript whenever a page loads by embedding it within a TextArea.

So let’s start cooking by downloading the complete tutorial below!

[maxbutton id=”8″ url=”” text=”Download Tutorial” ]

We Look Froward to Hearing from You
As always, please feel free to discuss what you see or ask any questions in the comments section of the post, or contact us for more information on how we can help your organization leverage a tool like Spotfire.

Dennis-Aligno_ProfileDennis Aligno

Principal Consultant
About Dennis: Dennis has skills and expertise in Spotfire installations & implementations (servers such as Spotfire, Webplayer, ADS/Composite). He has extensive experience with working closely with clients to find and execute optimal solutions. His past experience includes Vice President of Information Security at Bank of America, as well as positions in application development, databases and mobile development.