The REMOVE_ASPECT action removes an aspect from a file or folder in Alfresco Content Services (ACS).
Aspects extend the behavior and metadata of repository content by adding additional properties, features, or capabilities. Use this action when an aspect is no longer required or when content should no longer participate in the functionality associated with a particular aspect.
During the operation, the connector identifies the target file or folder. Then ACS verifies the specified aspect is assigned to the content. The aspect is removed from the content. The content remains in the repository, but the functionality associated with the removed aspect is no longer applied.
The input parameters of the action are:
| Parameter | Type | Required | Description |
|---|---|---|---|
| aspect | String | Optional | Aspect to remove from the file or folder. For example: rv:reviewable. |
| file | Array<json>, JSON | Optional | ACS file from which the aspect will be removed. If multiple files are provided, only the first file is processed. |
| folder | Array<json>, JSON | Optional | ACS folder from which the aspect will be removed. If multiple folder references are provided, only the first folder is used. |
| nodeId | String | Optional | Node ID of the file or folder. For example: a6a977a6-c728-4038-8dbc-d914c4d8cfb3. |
| path | String | Optional | Location or relative path of the file or folder from which the aspect will be removed. |
The output parameters of the action are:
| Parameter | Type | Required | Description |
|---|---|---|---|
| response | Array<json> | Optional | Response returned by ACS for the aspect removal request. |