You are here

Deleting a property for custom types or aspects

The delete action on a property depends on the status of the model and whether or not the property has been applied to a file.

Prerequisites for deleting a property for custom types and aspects:

For aspects
  • If the model is inactive, you can simply delete the property by clicking Delete from the Actions drop-down list for the relevant property.
  • If the model is active and the aspect has been applied to a file in Share, you can delete the property by clicking Delete from the Actions drop-down list for the relevant property. The aspect will still be applied to the file but the deleted property will no longer be visible on the Edit Properties page in Alfresco Share.
Note: When deleting a property, remember to update the Layout Designer and delete any search filter that you may have created for that property.
For custom types
  • If the model is inactive, you can simply delete the property by clicking Delete from the Actions drop-down list for the relevant property.
  • If the model is active, you can delete the property if it was created after the type was applied to a file. Once the property is applied to a file, it cannot be deleted using the Model Manager. In this case, you need to delete the file from Share and then permanently delete the file from the Share trashcan.
  • If a 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 Share.
    • cannot be deleted, if the property is created with the default value and then the type is applied to a file on Share.
    • can be deleted, if the property is created for a type which is already applied to the file.
  1. Click Admin Tools, and then click Model Manager.

    The Model Manager page is displayed.

  2. Click the relevant model from the Custom Models list.

    The selected model page appears. This page shows the existing custom types and aspects associated with the selected model.

  3. To delete a property, perform the following action:
    • Under the Custom Types list, click the type whose property you want to delete.

      The property page relevant to the selected type is displayed. This is of the format model name:custom type name.

    • Under the Aspects list, click the aspect whose property you want to delete.

      The property page relevant to the selected aspect is displayed. This is of the format model name:aspect name.

  4. For the property you want to delete, click Delete from the Actions drop-down list.

    The Delete Property window appears.

  5. Click Delete.

Sending feedback to the Alfresco documentation team

You don't appear to have JavaScript enabled in your browser. With JavaScript enabled, you can provide feedback to us using our simple form. Here are some instructions on how to enable JavaScript in your web browser.