Manoj Chaurasia Posted January 31, 2015 Share Posted January 31, 2015 Hello everyone, Is it possible to define the inputs that control loading an On-Demand Data Table through IronPython scripting Essentially I want to do: 1. Allow the user to make a column selection from a drop-down list and assign this to a document property. 2. Store the user input in an input field box and also assign this to a document property. 3. Use an action button/script to set which information link parameter to load on demand from (i.e. load based on my input for Column B now instead of Column A). I don't know how to do item 3. I'm thinking there must be some DataTable (or perhaps Document) property that stores the load On-Demand settings for an information link. Any help is appreciated. Thanks! Trevor Link to comment Share on other sites More sharing options...
Kevin Flynn Posted October 23, 2015 Share Posted October 23, 2015 What you can do is set up 2 document properties. Bind the Empty one to the On-Demand table. Bind the other to the drop down. When they select an item out of the drop down you can make a script fire to check what they selected and populate the appropriate value into the Document Property that is bound to the On-Demand table. Link to comment Share on other sites More sharing options...
Kevin Flynn Posted October 23, 2015 Share Posted October 23, 2015 If need more info on it. You will create a document property named "dpDropDown", and another called "dpOnDemand". You would bind a script to the "dpDropDown" that would then populate the "dpOnDemand" with something like: if Document.Property["dpDropDown"]=="Wassup"; Document.Property["dbOnDemand"] = "Waaassssup" You can also call a table.Refresh() in there also to make it where it doesn't load automatically. Link to comment Share on other sites More sharing options...
Pushkar Hagawane Posted February 28, 2019 Share Posted February 28, 2019 Did you find any solution for point 3 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