ContentInterface_GetDocuments

Get all of the associated documents.

Syntax

ContentInterface_GetDocuments <content interface handle> <hw_StringList>

Type/Class

ContentInterface

Description

Get all of the associated documents. Note that this does not return the documents associated with the contents to which this content refers. You need to explicitly get the references and ask for the documents from the referred contents. Returns the handle on the documents. Use hwStringList_at to get the handle on the specific document.
content interface handle
Content interface handle
hw_StringList
hwStringList pointer

Examples

set gdm [DMDirector_OpenWorkspace $director $ws $repoh 0]
set qryhandle [$gdm GetQuery] 
set stringtosearch "MS6000"
set clist [ContentInterfaceList]
set query [$gdm ExecQuery $stringtosearch $clist]
set cilistsize [ContentInterfaceList_size $clist]
set clist_at [ContentInterfaceList_at $clist 0]
set content_name [ContentInterface_DisplayName $ clist_at]
set docs [hwStringList]
ContentInterface_GetDocuments [ContentInterfaceList_at $clist 1] $docs