The SELECT_METADATA action is used to select the metadata for a file or folder and store it in a variable.
The input parameters for SELECT_METADATA are:
Parameter | Type | Required | Description |
---|---|---|---|
file | Array<json>, JSON | Optional | File from the ACS repository to be selected. |
folder | Array<json>, JSON | Optional | ACS folder to its metadata. If the received value contains multiple references to folders, only the first of them will be used. |
nodeId | String | Optional | Node ID of the file or folder in ACS. Example: a6a977a6-c728-4038-8dbc-d914c4d8cfb3. |
path | String | Optional | The location path or relative path of the selected file. For example, a location path: /app:company_home/app:user_homes/cm:hruser and a relative path: /User Homes/hruser. |
underscoreMetadata | Boolean | Optional | If underscoreMetadata is true, the prefixed properties names contain underscore (_) instead of colon (:) for separating the namespace prefix from the property name. E.g. 'cm_title' instead of 'cm:title'. |
The output parameters from SELECT_METADATA are:
Parameter | Type | Required | Description |
---|---|---|---|
response | Array<json> | Optional | Response for the calls. |
metadata | JSON | Optional | Metadata of the selected node. |