EPTSchemaSaveSchema Method (ConnectionId, SessionId, DocumentId, XMLSchemaTypes, String) Content Studio 5.7 SDK
Content Studio Web Content Management System

[This is preliminary documentation and is subject to change.]

Saves an EPT document schema. The schema must be a valid XSD or XDR schema.

Namespace: ContentStudio.Document.EPT
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax

public void SaveSchema(
	ConnectionId connectionId,
	SessionId sessionId,
	DocumentId editTemplateId,
	XMLSchemaTypes schemaType,
	string eptSchema
)

Parameters

connectionId
Type: ContentStudioConnectionId
The connection identifier.
sessionId
Type: ContentStudio.SecuritySessionId
The session identifier.
editTemplateId
Type: ContentStudio.DocumentDocumentId
The edit template identifier.
schemaType
Type: ContentStudioXMLSchemaTypes
Type of the schema to save.
eptSchema
Type: SystemString
The EPT schema to save. You can pre-generate a schema using the EptSchemaCreator class.
Exceptions

Content Studio permissions

APPROVE permission on the edit template is required.
Remarks

This method was added in Content Studio version 5.7 Update 1
See Also

Reference