Creates a new IContentItem with the given IDataEntryTemplate in the containing folder.
IContentItem will be created in; cannot be null. null, empty, or longer than 255 characters. The string used for the name will be trimmed of leading and trailing whitespace when it is stored and is case-insensitive during name comparison. IDataEntryTemplate used for the content item; cannot be null. An IContentItem that has not been persisted. IContentItemManager.CheckInItem must be called to persist the item.
This method does not create a persistent object. To create and persist a content item use this method to create a new item, then use IContentItem.SetPropertyValue to set the property values, and IContentItemManager.CheckInItem to persist the item.
InvalidOperationException will be thrown.
| Exception Type | Condition |
|---|---|
| InvalidOperationException | The specified folder or the Data Entry Template has not been stored or has already been removed. |
| ArgumentException | The name is an empty string or longer than 255 characters. |
IContentItemManager Interface | Plumtree.Remote.PRC.Content.Item Namespace