Move content¶
Moves one content item under another content item or to the content root.
Warning
Moving content changes its place in the tree and can change its route. Use the key when later operations must target the moved item reliably.
Syntax¶
Examples¶
Move an item under Archive:
Move an item to the content root:
Result¶
The result contains summary, attempted, succeeded, failed, and a one-item content array. The item records the source, destination, success, and Umbraco result.
Permissions¶
Requires access to the UmbraScript section and a signed-in backoffice user for the move operation.
Common failures¶
- The source or destination cannot be resolved.
- The source resolves to more than one item.
- The destination is not valid for the source Document Type.
- Umbraco rejects the move for the current user or tree state.