SchemaDesignerServicesSyncComponentUnitsToSchema Method
|
Synchronizes specified Component content units' component embeds to the latest version of their Schema. This operations will update the Content units the component embeds reside at,
based on the component schemas, by adding and removing fields to match the new Schema version.
Namespace:
IngeniuxCMService
Assembly:
IngeniuxCMService (in IngeniuxCMService.dll) Version: 10.3.169
Syntax public XHRServiceResponseGeneric<SchemaComponentUnitSyncResult> SyncComponentUnitsToSchema(
SchemaSyncComponentUnitRequest data
)
Public Function SyncComponentUnitsToSchema (
data As SchemaSyncComponentUnitRequest
) As XHRServiceResponseGeneric(Of SchemaComponentUnitSyncResult)
public:
virtual XHRServiceResponseGeneric<SchemaComponentUnitSyncResult^>^ SyncComponentUnitsToSchema(
SchemaSyncComponentUnitRequest^ data
) sealed
abstract SyncComponentUnitsToSchema :
data : SchemaSyncComponentUnitRequest -> XHRServiceResponseGeneric<SchemaComponentUnitSyncResult>
override SyncComponentUnitsToSchema :
data : SchemaSyncComponentUnitRequest -> XHRServiceResponseGeneric<SchemaComponentUnitSyncResult>
Parameters
- data
- Type: SchemaSyncComponentUnitRequest
Object containing Ids of the Component Units to be synchronized
Examples
Sample JSON input
{
"data": {
"SchemaId": "schemas/VisualFormBuilderForm",
"Pages": [{
"UnitID": "ComponentContentUnits/225"
}, {
"UnitID": "ComponentContentUnits/VisualFormBuilderForm"
}]
}
}
Return Value
Type:
XHRServiceResponseGenericSchemaComponentUnitSyncResultResult of Synchronization
Examples
Sample JSON return
{
"ContentFreezeEndTime": "",
"ContentFreezeStartTime": "",
"code": 0,
"error": null,
"message": {
"Errors": [],
"SchemaId": "schemas\/VisualFormBuilderForm",
"SchemaRootName": "FormBuilder_Form",
"Successes": [{
"UnitID": "ComponentContentUnits\/VisualFormBuilderForm"
}, {
"UnitID": "ComponentContentUnits\/225"
}]
}
}
Remarks If Schema with given Id doesn't exist, returns error status
See Also