lukas g Posted July 2, 2018 Report Share Posted July 2, 2018 Hi, is it possible to make a custom attribute mandatory, so the user has to give it a value on creation using the Ftrack web gui? For example I want to have a text attribute like "my_extra_name" to be a mandatory information which the user has to supply on creation through the gui. Right now i see two ways for creating new DB instances of my object types but non forces the user to supply my extra data. (The first one at least offers the possibility to directly set the value for a custom attribute and makes i more prominent but it is not mandatory. The Second way does not even offer a direct way for setting any values other then the Name. The user has to select the new instance, open the info-box and fill in additional information there and then save.) Thanks for the help in advance Lukas Link to comment Share on other sites More sharing options...
Mattias Lagergren Posted July 4, 2018 Report Share Posted July 4, 2018 I'm afraid it is not possible to make them mandatory. What you can do is listen to the creation event and pop up a dialog to remind the user to set the attribute. But that would require some programming, let me know if you want me to point you in the right direction there. Link to comment Share on other sites More sharing options...
lukas g Posted July 4, 2018 Author Report Share Posted July 4, 2018 Hi Mattias, it would be great if you could give me more information about your "popup dialog" suggestion and how it could be realized. And maybe you can tell me if there are plans for implementing such a feature like making attributes mandatory? Best regards Lukas Link to comment Share on other sites More sharing options...
Mattias Lagergren Posted July 6, 2018 Report Share Posted July 6, 2018 Here is a link to the documentation about actions: http://help.ftrack.com/developing-with-ftrack/key-concepts/actions and last example shows you how to trigger action UIs based on events in ftrack. We also have an example of an action in this repository: https://bitbucket.org/ftrack/ftrack-recipes/ No plans at the moment I'm afraid, mandatory custom attributes is an interesting idea and I will raise it with the team. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.