new_DocumentMetadata
new_DocumentMetadata <metadata name> <is query able flag> <value in hwstring>
ParsedDocument
Create a new metadata value. Returns new metadata handle, which can be used to add metadata to content.
metadata name
Metadata name in the content definition .xml file
is query able flag
Flag to set if this metadata can be queried
0 à Cannot be queried
1 à Can be queried
value in hwstring
metadata value in hwstring form
set metaval "fileType"
set val "H3D"
set v1 [hwVariant]
$v1 SetString $val
set dm [new_DocumentMetadata $metaval 1 $v1]