Creating an object association using the Runtime API?

0
How is this done as I can’t find any documentation on which APIs to use? I've created two objects using the core.instantiate() method but can’t see how to create an association between them.
asked
1 answers
2

With the setvalue method of the IMendixObject you can set attributes and associations, in other words set the value of any member of an IMendixObject.

See: https://apidocs.rnd.mendix.com/8/runtime/com/mendix/systemwideinterfaces/core/IMendixObjectMember.html#setValue-com.mendix.systemwideinterfaces.core.IContext-T-

A second option could be to create a proxy object for the instantiated IMEndixObject and use the available setter in the proxy object.

answered