LibraryManager_UndoCheckOut
LibraryManager_UndoCheckOut <generic data manager handle> <content handle> <undo reference file flag>
Library Manager
Marks the content as not checked out. The content will still be in a retrieved state. All of the changes made to the content will be reverted. However, the content is still available to you on your local machine.
generic data manager handle -
Generic data manager handle. See DMDirector_OpenWorkspace.
content handle
Content handle. See ContentInterfaceList_at.
Undo reference file flag – Use this flag to undo the check out of any referenced contents
0 – True
1 – False
set gdm [DMDirector_OpenWorkspace $director $ws $repoh 0]
set qryhandle [$gdm GetQuery]
set st [$gdm ExecQuery $ qryhandle $clist]
set stringtosearch "MS6000"
set clist [ContentInterfaceList]
set status [$gdm ExecQuery $stringtosearch $clist]
set ci [ContentInterfaceList_at $clist 0]
set undoRefs 0
set getstatus [LibraryManager_UndoCheckOut $gdm $ci $undoRefs]
puts “Message à [hwLMStatus_GetMessage $getstatus]”