Content Studio Web Content Management System
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
XML
All logged in users can execute this function.
[This is preliminary documentation and is subject to change.]
Returns a list of available docTypes i the system.
Namespace: ContentStudio.Document
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax
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).
Return Value
Type: StringXML
Examples
<root> <status>0</status> <statustext>Success</statustext> <list> <doctype id="0" name="(Default - inherited)" advanced="0" declaration=""/> <doctype id="1" name="(None)" advanced="0" declaration=""/> <doctype id="10" name="HTML 4.01 Transactional" advanced="0" declaration="<!DOCTYPE HTML PUBLIC "e;-//W3C//DTD HTML 4.01 Transitional//EN"e;>"/> </list> </root>
Exceptions
Exception | Condition |
---|---|
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 |
Content Studio permissions
See Also