IBMCM_CreateChildItem
Creates a child component under the current document that was created by using IBMCM_CreateItem.
Member of namespace
ibmcmSyntax
bool IBMCM_CreateChildItem(string attributeInfo)
Parameters
attributeInfo: String in the format of child item name, count.
Returns
True, if the child item is created is successfully created. Otherwise, False.Level
Document or Page level.Details
Creates a child component under the current document that was created by using IBMCM_CreateItem.A
comma-separated string that consists of two 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.
- count
- The number of child component attribute values that will be set.
- The count is the number of child component attributes values that will be set by IBMCM_SetChildAttributeValue.
This action needs to be called after IBMCM_CreateItem.
- Example:
-
IBMCM_CreateItem("ABCInsPlc") IBMCM_CreateChildItem("Automobiles,1") IBMCM_SetChildAttributeValue("Automobiles,ABCVIN,vin123") IBMCM_UploadDCO_DOC()This example creates an IBM Content Manager Child Item based on the name Automobiles.