ContentInterface_IsCheckedOut

Check if the content is checked out.

Syntax

ContentInterface_IsCheckedOut <content interface list handle>

Type/Class

ContentInterface

Description

To check if the content is checked out.
content interface list handle
Content interface handle
Returns 0 or 1
1
Checked-out
0
Not checked out

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]
ContentInterface_IsCheckedOut $clist_at