Custom Attribute must be set
2 2

3 posts in this topic

I have a enumerator, single selection custom attribute on all my projects. It has a default value set. Users must be able to change the value of this custom attribute. Is there a way to avoid the attribute having no value? ATM a user can delete the value and the attribute is being stored with no set value. Any way to configure my custom attribute in a way that a value is mandatory?

Thanks

Share this post


Link to post
Share on other sites

Hi Peter,

If you or someone on your team is comfortable working with the API and running an event listener, it would be possible to respond to a user's deleting the value. You could revert to the previous value, set it to a default, or prompt the user to set it themselves.

Here's a similar example to get you started--reverting status changes by users not in a certain group.

https://bitbucket.org/snippets/ftrack/LEx77/event-listener-restrict-task-status

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
2 2