Jump to content

Spotfire Page Layout Change using Iron Python


Padmini
Go to solution Solved by barchiel33,

Recommended Posts

Hello,

I have a page in Spotfire where I am interested to just add/remove graphs in specific part of the page. I have other text areas and Tables that I would not like to disturb.

Is it possible?

I am already using the script below. But it adds the visualization in the entire area below. However, I would be interested to know if its possible to provide the position or define the area where multiple visualization can be added dynamically without affecting the other fixed visualizations.

Thank you.

 

Link to comment
Share on other sites

  • Solution

Yep! This is entirely possible! Basically what you do is rebuild the page layout each time a visual is added or removed. Here's a good starting point: 

 you'll use similar code to this. Basically, iterate through the visuals on the page and add them to the layout in different places based on their names.

  • Like 2
  • Thanks 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...