PageSet.move (Method)

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

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.
pageSetID PageSetID Required A page set'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 PageSet
Permission Requirements subsite:CreatePageSets
Deny Context None
Require Context AuthoringEnabled
Author Lock  

Error Codes:

Code Error Message
31040 $1

Notes:

None