Property error - Property error - Alfresco - Alfresco Content Connector for SAP Cloud - Alfresco/Alfresco-Content-Connector-for-SAP-Cloud/2.0/Alfresco-Content-Connector-for-SAP-Cloud/Configure/Configure-GenericXchange/Configuration/Property-specification/Property-error - 2.0 - 2.0

Alfresco Content Connector for SAP Cloud

Platform
Alfresco
Product
Alfresco Content Connector for SAP Cloud
Release
2.0
License
ft:lastPublication
2025-02-25T09:47:46.920000
ft:locale
en-US
Note: This is an optional property.

If the OData call returns with an error, the returned value of this error property can be written to any available property on the current document in Content Services.

Property Type Description
alfProp String Specifies the Alfresco document property which holds the error state, for example connexasAdministration:sapstatus.
state String Defines the value for alfProp, for example Error.
message Object Defines the document property where the error message should be stored. This can also be a list of properties setting different values from the error response (see example below).

Example

"error": {
    "alfProp": "connexasAdministration:sapstatus",
    "state": "Error",
    "message": {
        "connexasAdministration:saperror": "error.message.value",
        "cm:description": "error.message.statusCode"
    }
}