OpenWGA 7.6 - TMLScript reference

RESTEntry
Method :

addMetaData(name, value)

On object RESTEntry
Usage Adds a metadata field to the entry
Description The usage of this method is not restricted to the actual metadata fields of the document. You could add any custom metadata field that you want.
Parameters

name (String):

Name of the field

value (String, Number, Date, Boolean or a List containing these values):

The value of the field