new_DocumentMetadata
Create a new metadata value.
Syntax
new_DocumentMetadata <metadata name> <is query able flag> <value in hwstring>
Type/Class
ParsedDocument
Description
- 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
Examples
set metaval "fileType"
set val "H3D"
set v1 [hwVariant]
$v1 SetString $val
set dm [new_DocumentMetadata $metaval 1 $v1]