IBMCM_SetChildAttributeValue
Assigns a child attribute value for a child item (child component attribute value).
Member of namespace
ibmcmSyntax
bool IBMCM_SetChildAttributeValue(string attributeInfo)
Parameters
attributeInfo: String in the format of child item name, attribute name, attribute value.
Returns
True, if the child attribute value is set successfully. Otherwise, False.Level
All levels.Details
Assigns a child attribute value for a child item. (child component attribute value)
A comma-separated string that consists of three values:- childItemName
- Defines a child component under the IBM® Content Manager item that was created by IBMCM_CreateItem.
- The parameter is a string value that specifies the name of a child component.
- attributeName
- The attribute name of the child.
- attributeValue
- The attribute value.
IBMCM_CreateChildItem must be called before this action can be called.
IBMCM_SetChildAttributeValue must be called the same number of times that is specified in IBMCM_CreateChildItem otherwise the child attributes will not be saved
Smart parameters are supported.
- Example:
-
IBMCM_CreateItem("ABCInsPlc") IBMCM_CreateChildItem("Automobiles,2") IBMCM_SetChildAttributeValue("Automobiles,ABCVIN,vin123") IBMCM_SetChildAttributeValue("Automobiles,ABCLicensePlate,carlic123") IBMCM_UploadDCO_DOC()This example creates an IBM Content Manager Child Item based on the name Automobiles and assigns two attributes.