Image.move (Method)

Moves an image to the current subsite.

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.
imageID ImageID Required An image's ID.

Context:

License Requirements None
Permission Requirements subsite:UploadImages
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:

Code Error Message
31040 $1

Notes:

None