Jump to content

Access hierarchical custom attributes on User object


Tim Edelmann

Recommended Posts

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

Link to comment
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

Link to comment
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. 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...