Creates a new Schema based on given Page's content, only applies to Page's with presentations. If Page has no presentations, returns error status.
There are 2 Schemas with the same Root name allowed, one with Presentation, one without. Once this operation is carried out once on a Schema, it cannot be called again on the Pages with the new schema.
After the new Schema is saved, the Page used to create this Schema will be used the new schema instead of its previous one. All other Pages using the previous schema will not be affected.
Namespace: IngeniuxCMService
Assembly: IngeniuxCMService (in IngeniuxCMService.dll) Version: 9.0.565.0 (9.0.565)
Syntax
public XHRServiceResponseGeneric<string> SaveNewSchemaFromPage( string pageId, string schemaFriendlyName )
Parameters
- pageId
- Type: SystemString
Id of the Page to create new Schema with - schemaFriendlyName
- Type: SystemString
Friendly Name of the new Schema, must not matching the Page's current Schema's friendly name.
Return Value
Type: XHRServiceResponseGenericStringId of newly created Schema
See Also