ContainerElement.deletePlaceholder (Method)

Deletes the placeholder from the specified container element at the specified position.

Returns:

Void

Arguments:

Name Type Required Description
pageID RealPageID_NonBaseTemplate Required The ID of the page or soft template on which the container element resides.
containerInstanceID ContainerElementInstanceID Required A container element's instance ID.
position PositiveInteger Required The index of the placeholder element to remove.

Context:

License Requirements (none)
Permission Requirements element:Author
Deny Context (none)
Require Context AuthoringEnabled
Author Lock Required

Error Codes:

Code Error Message
1000301 The element $1 does not exist on the specified page.
1000312 No item found at the position specified for the specified container element.
1000313 The element at the position specified is not a placeholder.
1000314 The element at the position specified is already in deleted state.

Notes:

None