Element.deleteSavedElement (Method)

Deletes a saved element. CommonSpot does not remove any elements created from this element. It only removes the element's definition.

Returns:

Void

Arguments:

Name Type Required Description
elementTypeID ElementTypeID Required An element type's ID (for example 46 for a Simple Form element).

Context:

License Requirements None
Permission Requirements site:ManageElements
Deny Context None
Require Context AuthoringEnabled
Author Lock (not required)
Transaction Logging If transaction logging is enabled at the site level, calls to this method will be logged
Customization This method may be customized at the site level

Error Codes:

None

Notes:

None