SocialMedia.copyChannelPost (Method)

Copies the content of the specified social media post to another social media post.

Returns:

Void

Arguments:

Name Type Required Description
sourceID SocialMediaContentOrPostID Required The ID of the social media post to copy from.
targetChannelID SocialMediaChannelID Required A comma delimited list of channels IDs to copy to.
targetID SocialMediaContentOrPostID Required The ID of the social media content or post (if edited) to copy to.

Context:

License Requirements SocialMedia
Permission Requirements (none)
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 Customization is not supported for this method.

Error Codes:

Code Error Message
83501 The specified content is not associated with the channel provided.
83506 The content specified has already been posted on the specified channel.
83517 You have insufficient permissions to perform this operation for the channel [$1].

Notes:

None