PageCommandsServicesSaveNewSchemaFromPage Method
|
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.5.94
Syntax public XHRServiceResponseGeneric<string> SaveNewSchemaFromPage(
string pageId,
string schemaFriendlyName
)
Public Function SaveNewSchemaFromPage (
pageId As String,
schemaFriendlyName As String
) As XHRServiceResponseGeneric(Of String)
public:
virtual XHRServiceResponseGeneric<String^>^ SaveNewSchemaFromPage(
String^ pageId,
String^ schemaFriendlyName
) sealed
abstract SaveNewSchemaFromPage :
pageId : string *
schemaFriendlyName : string -> XHRServiceResponseGeneric<string>
override SaveNewSchemaFromPage :
pageId : string *
schemaFriendlyName : string -> XHRServiceResponseGeneric<string>
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