. . 11 Posted April 12, 2013 Share Posted April 12, 2013 Hi Does anyone know if it is possible to create a dropdown list property control which contains bookmarks So for example if I select Headcount from my dropdown the settings for my Heacount bookmark appear but if I select Revenue from the drop down list my Revenue settings appear Alternatively does anyone know if it is possible to script "if" statements based on a property control drop down So in this example Headcount is selected and a script run that states if Property control = headcount run this script if property control = Revenue run this script. Thanks Alex Link to comment Share on other sites More sharing options...
Manoj Chaurasia Posted October 23, 2015 Share Posted October 23, 2015 Did you ever figure this out. I too would like a property control with a list of bookmarks. Link to comment Share on other sites More sharing options...
Bren Croll Posted June 18, 2019 Share Posted June 18, 2019 me 3 doesn't look like it's possible to me without a whole lot of mucking around (scripts etc) Link to comment Share on other sites More sharing options...
Colin Gray 3 Posted June 18, 2019 Share Posted June 18, 2019 Hi there, To answer the second part of your question - you can indeed run a script based upon a property. The way to do this is to have your document property associated with your drop down trigger an IronPython script. Within this script you can then choose to execute another script based upon whatever selection the user has picked. See this article on how to call other IronPython scripts from within an IronPython script. So you should be able to do a series of IF statements, each which call different scripts using this: https://community.spotfire.com/wiki/using-ironpython-call-script-tibco-spotfire There is also a DXP posted here that loops bookmarks and displays their settings. I'm not sure if this helps you https://community.spotfire.com/questions/looping-through-all-bookmarks-and-displaying-filter-settings-text-area Hope this helps Colin Link to comment Share on other sites More sharing options...
Bren Croll Posted June 18, 2019 Share Posted June 18, 2019 answered the wrong thread 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