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 is preliminary documentation and is subject to change.]
Saves the XDR and XSD schema definitions of an Edit template.
The schema is generated based on the supplied EPT document sample.
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, string eptXmlData )
Parameters
- connectionId
- Type: ContentStudioConnectionId
A value that identifies the web site - sessionId
- Type: ContentStudio.SecuritySessionId
A value that identifies the user's session. This value usually originates from a call to OpenSession(ConnectionId). - editTemplateId
- Type: ContentStudio.DocumentDocumentId
The Edit template whose schema should be generated and saved - eptXmlData
- Type: SystemString
The EPT Xml data to create a schema for. This data must conform with the EPT data standard.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | |
CSInvalidSessionException | |
CSDocumentNotFoundException | |
CSPermissionDeniedException | |
CSException | |
SqlException | |
XmlSchemaException | |
XmlException |
Content Studio permissions
See Also