Click or drag to resize

PageCommandsServicesUpdatePageSchema Method


Updates the Schema of the Page based on current Page content, only applies to Page's with presentations. If Page has no presentations, returns error status.

Namespace: IngeniuxCMService
Assembly: IngeniuxCMService (in IngeniuxCMService.dll) Version: 10.6.492
Syntax
public XHRServiceResponseGeneric<string> UpdatePageSchema(
	string pageId,
	bool schemaInDraftMode
)

Parameters

pageId  String
Id of the Page to use to Update schema with
schemaInDraftMode  Boolean
Specifies to put the updated Schema in draft mode or not. Updated Schema in draft mode will not affect created Page content until saved to a new version.

Return Value

XHRServiceResponseGenericString
The Id of the updated Schema
Remarks

If Page doesn't exist, returns error status

If Page's Schema was for some reason deleted (e.g. direct removal in Content Store database), returns error status

See Also