ContentInterface_GetMetadata
Get metadata value of content.
Syntax
ContentInterface_GetMetadata <content interface handle> <metadata name>
Type/Class
ContentInterface
Description
Get metadata value of content.
- content interface handle
- Content interface handle
- metadata name
- Metadata name that you want to get the value
Examples
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]”