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.5.94
Syntax public XHRServiceResponseGeneric<string> UpdatePageSchema(
string pageId,
bool schemaInDraftMode
)
Public Function UpdatePageSchema (
pageId As String,
schemaInDraftMode As Boolean
) As XHRServiceResponseGeneric(Of String)
public:
virtual XHRServiceResponseGeneric<String^>^ UpdatePageSchema(
String^ pageId,
bool schemaInDraftMode
) sealed
abstract UpdatePageSchema :
pageId : string *
schemaInDraftMode : bool -> XHRServiceResponseGeneric<string>
override UpdatePageSchema :
pageId : string *
schemaInDraftMode : bool -> XHRServiceResponseGeneric<string>
Parameters
- pageId
- Type: SystemString
Id of the Page to use to Update schema with - schemaInDraftMode
- Type: SystemBoolean
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
Type:
XHRServiceResponseGenericStringThe 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