Replication.saveScope (Method)
Defines the actions that occur during replication. This set of actions is called the 'replication scope'.
Returns:
ReplicationScopeID (integer)
Arguments:
Name | Type | Required | Description |
---|---|---|---|
id | ReplicationScopeID_Empty | Required | A replication scope's ID. If this value is 0, CommonSpot creates a new scope. |
scopeName | PlainText_NonNull_50 | Required | The replication scope's name. |
description | PlainText_2000 | Required | The replication scope's description. |
replicationDuration | ReplicationDuration | Required | A string describing the replication duration, either 'replicate content since last replication' or 'replicate all content'. |
pageData | Boolean | Required | Boolean flag which when set to true tells CommonSpot to replicate page data onto the target server. |
fileSystemFiles | Boolean | Required | Boolean flag which when set to true tells CommonSpot to replicate file system files onto the target server. |
clearCache | Boolean | Required | Boolean flag which when set to true tells CommonSpot to clear the cache on the target server as it replicates information. |
rebuildStubFiles | Boolean | Required | Boolean flag which when set to true tells CommonSpot to rebuild the target server's stub files while replicating information. |
reindexSearchCollections | Boolean | Required | Boolean flag which when set to true indicates that CommonSpot will re-index the target server's search collections. |
optimizeCollections | Boolean | Required | Boolean flag which when set to true tells CommonSpot to optimize the target server's search collections while replicating information. |
suppressIncrementalIndexing | Boolean | Required | Boolean flag which when set to true tells CommonSpot to suppress incremental indexing while replicating information. |
validateStaticSiteAuxiliaryFiles | Boolean | Required | Boolean flag which when set to true tells CommonSpot to validate the site's auxiliary files while replicating information. |
excludedSubsiteIDList | SubsiteIDList_EmptyString | Optional. Defaults to an empty string. | A comma-delimited list indicating which subsites CommonSpot excludes when replicating information. An empty string tells CommonSpot to replicate all subsites. |
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 |
---|---|
36026 | Scope Name '$1' already exists. |
Notes:
None