Content Studio Web Content Management System
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
APPROVE permission on the edit template is required.
This method was added in Content Studio version 5.7 Update 1
[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
Exception | Condition |
---|---|
ArgumentNullException | |
CSInvalidSessionException | |
CSDocumentNotFoundException | |
CSPermissionDeniedException | |
CSException | |
SqlException | |
XmlSchemaException | |
XmlException |
Content Studio permissions
Remarks
See Also