FranZ Posted May 18, 2016 Report Share Posted May 18, 2016 I'd like to have a push button and checkboxes in my webUI that is launched from my Action. The pushbutton is for "help", and the checkboxes are to show what is configured for my shots that are created by the action. I'd like the artists to be able to change the configuration as needed. I see these are available when I use the webUI, but I don't see them listed in the documentation. So how can I get them? http://ftrack.rtd.ftrack.com/en/3.3.15/developing/actions.html#custom-ui Link to comment Share on other sites More sharing options...
tokejepsen Posted May 18, 2016 Report Share Posted May 18, 2016 You can't get a custom pushbutton at this point in time, but you can have checkboxes and an "Submit" button. Have a look at this action for DJV Viewer, which lists the movie and image sequence asset versions in a dropdown menu; https://gist.github.com/tokejepsen/77d02d8f2f09e27de08b Link to comment Share on other sites More sharing options...
FranZ Posted May 25, 2016 Author Report Share Posted May 25, 2016 Is there a checkbox example? I really just need the syntax for the checkbox. I'm already using drop down menus. I'd really love to use some checkboxes as well Link to comment Share on other sites More sharing options...
tokejepsen Posted May 25, 2016 Report Share Posted May 25, 2016 +1 for checkboxes I'm using Yes/No dropdown atm. Link to comment Share on other sites More sharing options...
FranZ Posted May 25, 2016 Author Report Share Posted May 25, 2016 Hmmm... that isn't exactly what I am looking for, but I could give it a try. Link to comment Share on other sites More sharing options...
Mattias Lagergren Posted May 26, 2016 Report Share Posted May 26, 2016 Hey, thank you for this feedback - I've got some positive news for you! I've just pushed a fix for this. A new boolean type action field that renders as a checkbox in the Web UI. We're going to test it today and hopefully it will be out in our next maintenance release. The configuration will look like this: { 'label': 'My Boolean', 'name': 'my_boolean', 'value': True, 'type': 'boolean' } Link to comment Share on other sites More sharing options...
Mattias Lagergren Posted May 30, 2016 Report Share Posted May 30, 2016 A follow up on this, we just merged the checkbox action field into the mainline and it will come out with the next maintenance release. Link to comment Share on other sites More sharing options...
FranZ Posted May 31, 2016 Author Report Share Posted May 31, 2016 Excellent. I look forward to using the checkboxes. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.