SocialMediaChannel.save (Method)
Saves a channel for the specified service.
Returns:
SocialMediaChannelID (integer)
Arguments:
Name | Type | Required | Description |
---|---|---|---|
id | SocialMediaChannelID_0 | Required | The ID of the social media channel to edit, or 0 to create a new channel. |
name | PlainText_NonNull_100 | Required | The name of the social media channel. |
description | PlainText_NonNull_2000 | Required | The description of the social media channel. |
serviceID | SocialMediaServiceID | Required | The unique id of the social media service for which the channel applies. |
publicURL | FullyQualifiedURL | Required | A fully-qualified public URL to view the channel. |
propertiesData | Struct | Optional. Defaults to '#StructNew()#'. | A structure of properties for the channel. |
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 |
---|---|
84002 | Another channel already exists with the same name. |
84005 | The service specified is not yet registered. |
84006 | Some error occurred while trying to retrieve the access token. |
84007 | $1 |
84008 | The specified channel is not associated with any service. |
84009 | Properties for the corresponding service could not be found in database. |
84010 | All the properties for the corresponding service has not been saved. |
Notes:
None