Replication.saveRecord (Method)
Saves replication record information.
Returns:
ReplicationID (integer)
Arguments:
Name | Type | Required | Description |
---|---|---|---|
id | ReplicationID_0 | Required | The replication record's ID. |
frequency | ReplicationSyncType | Required | A string representing how replication occurs: 'On Demand', 'Real Time' or 'Scheduled'. |
scopeName | PlainText_NonNull_50 | Required | The replication scope's name. |
serverName | PlainText_NonNull | Required | The name of the server to which CommonSpot replicates information. |
groupOrder | PositiveInteger | Required | The sort order of the servers within the group. This determines the order in which servers are synchronized. |
delayOption | ReplicationDelayOption | Optional. Defaults to '1'. | An integer representing how packets are applied if multiple target servers exist, as follows: 1 (Apply packets simultaneously) and 2 (Wait X minutes before applying). |
delayMinutes | PositiveInteger | Optional. Defaults to '0'. | The number of minutes before applying the next packet. This member is only used if 'DelayOption' is set to 2. |
Context:
License Requirements | Replication |
Permission Requirements | site:ManageReplication |
Deny Context | None |
Require Context | AuthoringEnabled |
Author Lock | (not required) |
Transaction Logging | If transaction logging is enabled at the server level, calls to this method will be logged |
Customization | This method may be customized at the site level |
Error Codes:
Code | Error Message |
---|---|
36014 | Server '$1' is not valid. |
36017 | Record already exists using ID $'. |
Notes:
None