Page.move (Method)

Moves a page to the current subsite. If CommonSpot cannot move the page, it throws an error and does not move the page.

Returns:

Void

Arguments:

Name Type Required Description
subsiteIDOrURL SubsiteIDorURL_EmptyString Required The ID of the target subsite, or the server relative path to the target subsite, or an empty string for the current subsite.
pageID RealPageID_NonBaseTemplate Required A page's ID.
addPermanentRedirect Boolean Optional. Defaults to '1'. Boolean flag which when set indicates that a permanent redirect entry will be added.

Context:

License Requirements None
Permission Requirements subsite:CreatePages
Deny Context None
Require Context AuthoringEnabled
Author Lock If available
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
31040 $1

Notes:

None