Walt Posted January 18, 2023 Report Share Posted January 18, 2023 I'm looking for a way to execute code within an Action when an enumerator widget has its selection changed. For example, if someone changes the selection on a list of items within a user interface, a function would execute to load data for additional widgets within that same user interface. Similar to setting a function for onchange in javascript. Link to comment Share on other sites More sharing options...
Patrick Boucher ftrack Posted February 8, 2023 Report Share Posted February 8, 2023 Hi Walt, That is currently not possible. When using ftrack's simple UI functionalities available via the event hub (https://help.ftrack.com/en/articles/1040465-actions#:~:text=Read more here.-,User interface,-When an action). Using this method, no logic can be sent to change the UI dynamically and no message is sent back for you to process until the form is submitted. This makes it impossible in the current system to create a dynamic UI that refreshes "on_change". I've submitted a feature request on your behalf for consideration by the product team. In the short term, depending on your objectives, implementing your tool with another UI framework (standalone app, external web app embedded in ftrack or not) may be a better solution if its requirements exceed current capabilities. Cheers, Patrick Link to comment Share on other sites More sharing options...
Walt Posted February 9, 2023 Author Report Share Posted February 9, 2023 Thanks, Patrick! 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