Item-level Elements | HCL Digital Experience

The following elements are applied at the item level since they contain information that is specific to each individual feed entry. These elements are only used in the output feed. They have no meaning in the context of an input feed.

resultCode

Table 1. resultCode element
Element parameters: Details for this element:
Allowable Values This element has one of the following values depending on what happened when the input feed entry was processed:
OK
The entry was processed completely with no warnings or errors.
WARN
The entry was processed completely but one or more warnings were logged.
ERROR
One or more error messages were logged. The entry might not have been saved in Web Content Manager.
FAIL
The content item could not be saved or updated.
Required Attributes None
Optional Attributes None
Required sub-elements None
Optional sub-elements None

Example:

<ibmfs:resultCode>OK</ibmfs:resultCode>
<ibmfs:resultCode>WARN</ibmfs:resultCode>

resultMsg

Table 2. resultMsg element
Element parameters: Details for this element:
Allowable Values Each instance of this element contains the details of a warning or error message.
Required Attributes
level
The value of this attribute indicates the severity of the message. Allowable values are: "WARN" and "ERROR".
code
This attribute should hold the error code that is associated with the message.
Optional Attributes None
Required sub-elements None
Optional sub-elements None

Examples:

<ibmfs:resultMsg level="WARN" code="WCM0014">
Default Content GUID does not point to a content item. Default content set to null.
</ibmfs:resultMsg>


<ibmfs:resultMsg level="ERROR" code="WCM0030">
A WCMException was thrown when attempting to move the content.
</ibmfs:resultMsg>

documentId

Table 3. documentId element
Element parameters: Details for this element:
Allowable Values This element contains the ID that was generated by Web Content Manager.
Required Attributes None
Optional Attributes None
Required sub-elements None
Optional sub-elements None

Example:

<ibmfs:documentId>
com.ibm.workplace.wcm.api.WCM_Content/Connections Announcement/f6f60a00498c0d759ee9ffe695695374/PUBLISHED
</ibmfs:documentId>