OpenWGA 7.11 - TMLScript reference

Method :

addRelation(name, uri)

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

name (String):

Name of the relation

uri (String):

The URI where this relation should point to.