Adds a property to the Data Entry Template.
IBaseProperty
to be added to the Data Entry Template; cannot be null
. The property can be any sub-type of IBaseProperty
. The added property will not be persisted until Store
is called.
NameAlreadyInUseException
will be thrown. If a property with the same name and the same type is added, it will be ignored. The updated properties will affect all associated unpublished content items after the Data Entry Template is stored. The updated properties will not affect published content items unless they are republished.
Note: If an ISelectionListProperty
is added to the template, and the corresponding selection list is later deleted, the ISelectionListProperty
will be automatically removed from the template.
Exception Type | Condition |
---|---|
InvalidOperationException | The Data Entry Template has already been removed. |
NameAlreadyInUseException | There was already a property with the same name in the Data Entry Template. |
IDataEntryTemplate Interface | Plumtree.Remote.PRC.Content.DataEntryTemplate Namespace | RemoveSelectionList