Jump to content

Navigate from one dashboard to another dashboard using ironpython


Vedhika M

Recommended Posts

Hi, I have created 5 different dashboards and each dashboard has the property control-drop down menu in text area. Now, I would like to navigate from one dashboard to anotherwhen i make selection from drop down. Could anyone pls help on how I can achieve this using iron python scripting If there is any other easiest way , pls suggest...
Link to comment
Share on other sites

  • 1 month later...

Hello,

You can use the Web Page panel to display the required dashboard url selected from the drop down using a python script -

 

Reference-https://community.spotfire.com/wiki/configure-or-change-url-web-page-panelcollaboration-panel-tibco-spotfirer-using-ironpython

 

Alternatively you could generate the report url at run time and add it as a hyperlink in the text area ,which can then be clicked by the user to open in a new browser tab

Here is how you can add a hyperlink to the text area-

from Spotfire.Dxp.Application.Visuals import HtmlTextArea

vis = ta.As[HtmlTextArea]()

vis.HtmlContent = "link1"

 

#Here the dashboard name can come from the document property

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...