PageCommandsServicesSaveNewSchemaFromPage Method

Ingeniux CMS Web Services API

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: 10.3.70

public XHRServiceResponseGeneric<string> SaveNewSchemaFromPage(
	string pageId,
	string schemaFriendlyName


Type: SystemString
Id of the Page to create new Schema with
Type: SystemString
Friendly Name of the new Schema, must not matching the Page's current Schema's friendly name.

Return Value

Type: XHRServiceResponseGenericString
Id of newly created Schema
See Also