Closed jfboismenu closed 5 years ago
Adds support for updating field visibility through the API.
This can be achieved by the following code:
sg.schema_field_update("Asset", "sg_my_custom_field", {"visible": False}, project)
where project is a dictionary referring to project in which we want to hide "sg_my_custom_field". Restoring visibility can be done via
project
sg.schema_field_update("Asset", "sg_my_custom_field", {"visible": True}, project)
Note: The build is currently failing because the feature hasn't been released in Shotgun. Once the feature is released the test will be updated to the right version check and the feature commited.
Adds support for updating field visibility through the API.
This can be achieved by the following code:
where
project
is a dictionary referring to project in which we want to hide "sg_my_custom_field". Restoring visibility can be done viaNote: The build is currently failing because the feature hasn't been released in Shotgun. Once the feature is released the test will be updated to the right version check and the feature commited.