Jump to content

Entity type "CustomAttributeLinkConfiguration" not recognized


YuChen

Recommended Posts

Hi,

I follow the example provided by tutorial document to create a CustomAttributeLinkConfiguration entity:

shot_object_id = session.query('ObjectType where name is "shot"').one()['id']
sequence_object_id = session.query('ObjectType where name is "sequence"').one()['id']

session.create('CustomAttributeLinkConfiguration', {
    'entity_type': 'task',
    'object_type_id': sequence_object,
    'entity_type_to': 'task',
    'object_type_id_to': shot_object_id
    'label': 'Master shot',
    'key': 'master_shot',
    'config': '{}',
    'one_to_one': True,
    'write_security_roles': [security_role],
    'read_security_roles': [security_role]
})

but got an error message: Entity type "CustomAttributeLinkConfiguration" not recognized.

My ftrack is v.4.6.15. Does this version support "CustomAttributeLinkConfiguration" entity ?

 

Link to comment
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
×
×
  • Create New...