The TIBCO Platform is a real-time, composable data platform that will bring together an evolving set of your TIBCO solutions - and it's available now!
A chart showing the TIBCO Platform vision
Jump to content
Forums
Ask questions and gain insight from discussions

Recommended Posts

Posted

Hi,

I have a drop down property control with page names (fixed values), basicallywhat I need to achieve is that to automatically navigate across the pages when selected.

For instance, when I selected the third page then it will have to let me move to that specific page.

Is there any way to achieve this without using script parameters

Thanks

Posted

Use a python script to take the drop down value and pass to the script.

try:

Document.ActivePageReference = Document.Pages[targetPageIndex]

except:

passwith targetPageIndex being a parameter input for the script.

 

The Above example the document property is an interger. You can also use a string :

 

Interger Based [starts at 0] below will select second page of analysis

try:

Document.ActivePageReference = Document.Pages[1]

except:

passString Base / Page Name :

try:

Document.ActivePageReference = Document.Pages['Page (2)']

except:

pass

Posted
@tyger0951, thank you so much for giving me a helping hand. I unfortunately can't use scripts since it requires to be approved on the platform level. Can I pull this offwithout using a python script
Posted
Not with a drop down menu. You can use calulated values and just put in a 'string' for the expression and set the action on click to navigate to other pages but that would be multiple clickable texts rather than a drop down. The only method I know to have an action on a drop down menu change is through scripting. 
Posted
Thanks @tyger0951 for all the explanation and great help. Really appreciate it. I'm going to use the python script you provided and communicate with the platform team to make it trusted.

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