Content Studio Web Content Management System
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
READ permission on the category is required.
[This is preliminary documentation and is subject to change.]
Constructs a new instance of the SyncronizedEPTDocument class that represents an empty EPT document.
Namespace: ContentStudio.Document.EPT
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax
public SyncronizedEPTDocument( ConnectionId connectionId, SessionId sessionId, CategoryId categoryId, string documentName, int initialFieldCount, bool schemaBound )
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). - categoryId
- Type: ContentStudio.DocumentCategoryId
The category where the document should be saved to. This category must exist and must be a valid container for EPT documents. - documentName
- Type: SystemString
A name to give the new document. This value cannot be null or empty - initialFieldCount
- Type: SystemInt32
A value that specifies the suggested number of fields the document can contain. - schemaBound
- Type: SystemBoolean
Indicates whether this instance of the document is bound to the underlying EPT schema or not.
Exceptions
Exception | Condition | ||||||||
---|---|---|---|---|---|---|---|---|---|
CSPermissionDeniedException | The caller has no permission to perform the requested action | ||||||||
CSInvalidSessionException | The session is invalid | ||||||||
CSDocumentNotFoundException | The schema cannot be loaded or the document category has no valid Editing template defined. | ||||||||
CSException |
| ||||||||
SqlException | An error occurred when executing the command against the Content Studio database |
Content Studio permissions
See Also