HyperWorks Desktop

new_DocumentMetadata

new_DocumentMetadata

Previous topic Next topic No expanding text in this topic  

new_DocumentMetadata

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

NAME


new_DocumentMetadata

 

SYNTAX


new_DocumentMetadata <metadata name> <is query able flag> <value in hwstring>

 

TYPE/CLASS


ParsedDocument

 

 

DESCRIPTION


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

 

 

EXAMPLES


set metaval "fileType"

set val "H3D"

set v1 [hwVariant]

$v1 SetString $val

set dm [new_DocumentMetadata $metaval 1 $v1]

 

ERRORS


 

SEE ALSO