Content Studio Web Content Management System
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
The number of saved Xml data tags.
Write permission on the document is required when saving a draft, Approve permission if the data is the approved content.
[This is preliminary documentation and is subject to change.]
Saves data to the Xml index. The document must be an Xml document or an exception is thrown.
Namespace: ContentStudio.Document.EPT
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax
public int Save( ConnectionId connectionId, SessionId sessionId, DocumentId documentId, bool isDraft )
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). - documentId
- Type: ContentStudio.DocumentDocumentId
The document to save data for - isDraft
- Type: SystemBoolean
Indicates whether to save the Draft or the published content.
Return Value
Type: Int32The number of saved Xml data tags.
Exceptions
Exception | Condition |
---|---|
CSException | A business rule was violated in the underlying Content Studio database. Exception numbers can be: 1001 Invalid session ID 1002 Permission denied 1009 Invalid parameter value The value below is not an error, it just indicates that the document does not use EPT 1805 The document does not support this functionality |
CSException | A business rule was violated in the underlying Content Studio database |
SqlException | An error occurred when executing the command against the Content Studio database |
XmlException | The EPT content stored in Content Studio is not well formed Xml. |
Content Studio permissions
See Also