Jump to content

Howto open a hyperlink from just one click on a graphical table values

Shweta Mishra

Recommended Posts


You can do this by enabling the "Perform action on click" in the settings of the column, and using an Action Script.


Right click on your graphical table and select "Properties";

In the "Axes" tab, select the column you want, and click "Settings";

In the column settings window, select the "Actions" tab, and check the "Perform action on click" checkbox.

Then click on "Settings", and create an IronPython script.


Here below is an example of a script that opens the TIBCO website, you can adapt it to your needs :


import System



More info on Action scripts can be found at :


Link to comment
Share on other sites

Thanks for this quick reply!


My main focus is to write the ioronpython script. I had tried this. It is not working on webplayer.


Actually the requirement is to open a report by clicking on the values from graphical table.Depending on the values from graphical table different tabs will be opened in a new report (That I am handing by generating dynamic values in configuration block).




Only chalenge is to open this other report by single click only on the graphical atble.


So I am looking for the script to open a hyperlink by single click from webplayer .



Link to comment
Share on other sites

Note that when you execute an IronPython script on the Web Player, the script is executed on the Web Player server and not the client browser. You will need an HTML form based solution for your script to work on the Web Player.One possible solution is to use an HTML text area. Here are the steps to implement:


Add/Insert a new TextArea and name it "HTML" in your page.

Update your IronPython script to add the following, to generate a link:

from Spotfire.Dxp.Application.Visuals import HtmlTextArea

dynamic.As[HtmlTextArea]().HtmlContent = "

Link to comment
Share on other sites

Thanks Manish for you reply!


I had tried it before. Still user has to click two times here.


1st time: to execute ironpython so that  link will be genrated


2nd time: to click on the link.


But the requireemnt is just to click once on the values  of graphical table to open a hyperlink/differenet report.

Link to comment
Share on other sites

  • 3 years later...

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