ContentInterface_GetMetadata
ContentInterface_GetMetadata <content interface handle> <metadata name>
ContentInterface
Get metadata value of content
content interface handle
Content interface handle
Metadata name
Metadata name that you want to get the value
To get the metadata value “filetype”
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]
set filtype [ContentInterface_GetMetadata $clist_at filetype]
puts “file type is [$filtype hwVariant_GetString]”