Sedat Diken Posted December 31, 2019 Posted December 31, 2019 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
Tyger Guzman 2 Posted December 31, 2019 Posted December 31, 2019 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
Sedat Diken Posted January 2, 2020 Author Posted January 2, 2020 @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
Tyger Guzman 2 Posted January 2, 2020 Posted January 2, 2020 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.
Sedat Diken Posted January 3, 2020 Author Posted January 3, 2020 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.
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