GUOIDLookupID Method (ConnectionId, SessionId, CSFileObjectTypes, String) Content Studio 5.7 SDK
Content Studio Web Content Management System

[This is preliminary documentation and is subject to change.]

Transforms a list of id:s of the Unit, Category or Document type to a list of GUOID of objects. The list items must be separated by a comma.

Namespace: ContentStudio.Document
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax

public string LookupID(
	ConnectionId connectionId,
	SessionId sessionId,
	CSFileObjectTypes objectType,
	string idList
)

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).
objectType
Type: ContentStudio.DocumentCSFileObjectTypes
Type of file object in the idList.
idList
Type: SystemString
A single ID of the object to get the GUOID for or a list of identifiers separated by a comma. This list cannot be longer that 8000 characters.

Return Value

Type: String
XML
Content Studio permissions

All users with a valid session can execute this method. Anonymous access is not supported.
Remarks

The returned data is an XML document where each row has the format <object id="17" guoid="OK00000000G0000G0000GFACAG000000000017" class="D" filename="System/AS_Document/44EF10BD-E32D-49E2-9740-75A07BD71197.aspx"/> depending on the data returned. The procedure omits duplicate id:s but returns an empty string in the GUOID field for id:s that does not exists in the system. If an item in the list is non numerical it will be omitted as well. ***************** Return XML <root> <list> <object id="1" guoid="OK00000000G0000G0000GFACAG000000000001" class="D" filename="System/AS_Date/FC645263-FD5C-494C-B969-1F8E1E8952CC.aspx"/> <object id="2" guoid="OK00000000G0000G0000GFACAG000000000002" class="D" filename="System/AS_Document/44EF10BD-E32D-49E2-9740-75A07BD71197.aspx"/> <!-- more object may follow --> </list> </root>
See Also

Reference