Access hierarchical custom attributes on User object
2 2

4 posts in this topic

Hey there, 

 

we are currently trying to 'find' our custom attributes.. We set them up being 'Hierarchical' and when having selected a task, they can be retrieved via task['custom_attributes']['attribute_name']. In the web-ui they are visible when selecting a users profile in the overview. Now we would like to access these attributes via user['custom_attributes']['attribute_name'], but 'attribute_name' is not listed as a member in user['custom_attributes'] (Non-hierarchical attributes, which are added to 'User', are listed ). 

Are we missing something here? 

 

 

Thanks alot in advance

Share this post


Link to post
Share on other sites

Hey, 

 

another thing we noticed:

We use a custom attribute of type: dynamic enum which is hierarchical. If the project is selected and we change its values, no 'ftrack.update' gets triggered! On the other hand, if we select a folder (or any other object under project), changes to our custom attribute, do trigger 'ftrack.update'. 

Is this behavior wanted? For our workflow, it would be great, if the custom attribute changes trigger 'ftrack.update' no matter what is selected. 

 

 

thanks again

Share this post


Link to post
Share on other sites

I will report this as a bug (hierarchical attributes appearing on user in UI but not in API)

On 21/03/2018 at 5:51 PM, Tim Edelmann said:

We use a custom attribute of type: dynamic enum which is hierarchical. If the project is selected and we change its values, no 'ftrack.update' gets triggered! On the other hand, if we select a folder (or any other object under project), changes to our custom attribute, do trigger 'ftrack.update'. 

Is this behavior wanted? For our workflow, it would be great, if the custom attribute changes trigger 'ftrack.update' no matter what is selected. 

We've just recently got a bug report about ftrack.update events no triggering when an hierarchical attribute changes. 

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