Content Studio Web Content Management System
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
Xml
All authenticated users and the anonymous use can call this method. However, only the document that the caller can BROWSE is returned.
[This is preliminary documentation and is subject to change.]
Returns a list of child documents of a document
Namespace: ContentStudio.Document
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax
public string ListChildren( ConnectionId connectionId, SessionId sessionId, DocumentId documentId, DocumentId presentationTemplateId, DateTime dateCriteria )
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 list children for - presentationTemplateId
- Type: ContentStudio.DocumentDocumentId
This parameter is ignored. Pass zero. - dateCriteria
- Type: SystemDateTime
A DateTime that is compared with the publish date of the listed documents. Can be used when previewing documents in time. Pass MinValue to use the current date.
Return Value
Type: StringXml
Examples
<root> <status>0</status> <statustext>Success</statustext> <document> <elementid>1022</elementid> <elementname>Startsida</elementname> <parentelementid>1146</parentelementid> <child>1</child> <categoryid>131</categoryid> <publishdate>2006-03-03T14:55:00</publishdate> <categoryname>Webbsidor</categoryname> <elementorder>0</elementorder> <data> <url></url> <data></data> <target></target> </data> </document> <!-- more document can follow --> </root>
Exceptions
Exception | Condition |
---|---|
SqlException | An error occurred when executing the command against the Content Studio database |
Content Studio permissions
See Also