Mihai Daniel OLTEANU Posted May 10, 2023 Share Posted May 10, 2023 Hello all,I'm facing a challenge without any solving solution for the moment.I need to use an action control, namely a button, for opening a new web page of a different dashboard. So, in my opinion the only way is to assign to this action control an Iron Python script which would open that web page.The thing is that I have not found any Iron Python script which is able to do that. It's true I found one but it's working only from the design view and NOT when my dashboard is on web.If you have a workaround for this I would apreciate. Thank you in advance. Link to comment Share on other sites More sharing options...
Fredrik Rosell Posted May 11, 2023 Share Posted May 11, 2023 Hello!What complicates things is that the IronPython script is executed on the Web Player server. There is an existing script example that shows how to handle this use case:https://community.spotfire.com/s/article/How-to-open-a-URL-in-TIBCO-Spotfire-Using-IronPython-ScriptingHere's an example of when I tested and confirmed that this works (using Spotfire Web Player 12.0.1) - first opening an existing direkt hyperlink in the Text Area, then using the link generated by the IronPython script. Best RegardsFredrik Link to comment Share on other sites More sharing options...
Mihai Daniel OLTEANU Posted May 12, 2023 Author Share Posted May 12, 2023 Hello Fredrik,Thank you very much for this example I apreciate.It could work but the problem is that is working in two steps which is not so user friendly. I will see how I will handle that.Best Regards,Mihai Link to comment Share on other sites More sharing options...
Fredrik Rosell Posted May 12, 2023 Share Posted May 12, 2023 Hello Mihai,Agreed - two steps is not optimal. I'm afraid I can't think of a better solution for this but maybe someone else can (especially if you describe the use case in a bit more detail) Link to comment Share on other sites More sharing options...
Mihai Daniel OLTEANU Posted May 12, 2023 Author Share Posted May 12, 2023 No problem.Thanks anyway. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now