diff --git a/pype/ftrack/actions/action_create_cust_attrs.py b/pype/ftrack/actions/action_create_cust_attrs.py index bd0a03b475..3c86570e32 100644 --- a/pype/ftrack/actions/action_create_cust_attrs.py +++ b/pype/ftrack/actions/action_create_cust_attrs.py @@ -497,7 +497,12 @@ class CustomAttributes(BaseAction): def get_entity_type(self, attr): if 'is_hierarchical' in attr: if attr['is_hierarchical'] is True: - return {'is_hierarchical':True} + type = attr['entity_type'] if ('entity_type' in attr) else 'show' + + return { + 'is_hierarchical': True, + 'entity_type': type + } if 'entity_type' not in attr: raise CustAttrException('Missing entity_type')