ContainerElement.moveElement (Method)
Moves an element within the specified container element.
Returns:
PositiveInteger
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 | The container element's instance ID. |
elementInstanceID | ControlID | Required | An element's instance ID. |
direction | MoveDirection | Required | The direction in which CommonSpot will move a container's element: 'Bottom', 'Down', 'Top, or 'Up'. |
Context:
License Requirements | (none) |
Permission Requirements | (none) |
Deny Context | None |
Require Context | (none) |
Author Lock | 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:
Code | Error Message |
---|---|
1000301 | The element $1 does not exist on the specified page. |
1000303 | CommonSpot could not insert the element. |
1000307 | The specified element instance does not exist on the $1 element. |
Notes:
None