DocTypeManagerGetList Method Content Studio 5.7 SDK
Content Studio Web Content Management System

[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

public string GetList(
	ConnectionId connectionId,
	SessionId sessionId
)

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: String
XML
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 &quote;-//W3C//DTD HTML 4.01 Transitional//EN&quote;>"/>
 </list>
</root>
Exceptions

ExceptionCondition
CSExceptionA business rule was violated in the underlying Content Studio database
SqlExceptionAn error occurred when executing the command against the Content Studio database
Content Studio permissions

All logged in users can execute this function.
See Also

Reference