For custom types, if a content model is active the property can be deleted if it was created after the custom type was applied to a file. Once a property has been applied to a file it cannot be deleted until any nodes using it have been deleted from Alfresco Share and the trashcan.
If a content model’s custom type is applied to a file, then the associated properties:
- Can be deleted if the user does not edit or save the properties via the Edit Properties option in Alfresco Share.
- Can be deleted if the property is created for a custom type which has already been applied to a file.
- Cannot be deleted if the property is created with a default value and the custom type is then applied to a file on Alfresco Share.
For aspects, if a content model is active and the aspect has been applied to a node, but the property has not been used then the property can be deleted. If the property has been used on a node (including in the version history or content in the archive store), then the property cannot be deleted. An administrator should create a new aspect containing only the desired properties and then create a switch to add it to all content using the old aspect and remove the existing one.
To delete a property:
- Log into Alfresco Share as a user that is a member of the ALFRESCO_MODEL_ADMINISTRATORS permission group and click Admin Tools > Model Manager and select the content model to delete a property for.
- Click Delete from the Actions dropdown against the property in the custom types or aspects list.