LibraryManager_CheckIn
Check in the file associated with the content.
Syntax
LibraryManager_CheckIn <generic data manager handle> <content handle> <”Comment”>
Type/Class
Library Manager
Description
Check in the file associated with the content. Updates the 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
- content handle
- Content handle
- Comment
- You can pass a comment that is associated with the check-in operation. This will be stored in the database as a metadata.
Examples
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]”