ContentInterface_AddReference
ContentInterface_AddReference <content interface handle1> <content interface handle2>
ContentInterface
To add reference to a selected content. Note that the parent file should be checked out.
content interface handle1
àContent Interface handle of the content which will get a reference file
content interface handle 2
àContent interface handle of the content which will be added as reference
set query [$gdm ExecQuery $stringtosearch $clist]
set cilistsize [ContentInterfaceList_size $clist]
set content_parent [ContentInterfaceList_at $clist 0]
set content_reference [ContentInterfaceList_at $clist 1]
set status [ContentInterface_AddReference $ content_parent $ content_reference]