LibraryManager_CheckIn
LibraryManager_CheckIn <generic data manager handle> <content handle> <”Comment”>
Library Manager
Check in the file associated with the content. Updates and metadata changes made to the content. Also creates a revision. Returns a hwLMStatus. Use hwLMStatus_GetMessage to check the message.
generic data manager handle
Generic data manager handle. See DMDirector_OpenWorkspace.
content handle
Content handle. See ContentInterfaceList_at.
Comment
You can pass comment that’s associated with the check-in operation. This will be stored in the database as a metadata.
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 getstatus [LibraryManager_CheckIn $gdm $ci “Updated Model” ]
puts “Message à [hwLMStatus_GetMessage $getstatus]”