OpenWGA 7.10 - TMLScript reference

RESTEntry
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.
Parameters

name (String):

Name of the relation

uri (String):

The URI where this relation should point to.