SocialMedia.saveContentInfo (Method)
Saves the title for the specified social media content.
Returns:
SocialMediaContentID (integer)
Arguments:
Name | Type | Required | Description |
---|---|---|---|
id | SocialMediaContentID_0 | Required | The unique ID of the social media content to save the Title for, or 0 when creating a new record. |
title | PlainText_NonNull_100 | Required | The title for the social media content. |
expirationDate | Date_EmptyString | Optional. Defaults to '#DateFormat( DateAdd('d',30,now()), 'yyyy-mm-dd' )#'. | The date upon which the content will be removed from the social media manager. |
sourcePageID | RealPageID_0 | Required | The ID of the source page. |
requiresApproval | Boolean | Optional. Defaults to '0'. | A boolean flag which when set to true indicates that approval is required. |
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 |
---|---|
83523 | ID of the page cannot be zero when trying to save/share a new content directly from a page. |
Notes:
None