Question
· Apr 19, 2017

Programmatically adding relationships to object instances

Hi!

I'm trying to insert a relationship from a parent object instance to a child object instnace programmatically. Ie, i want to do:

Do parentObject.childRefProperty.Insert(chilDobject)

where childRefProperty is defined by a string. I feel this should be achievable with $PROPERTY and/or $METHOD or maybe something in  $SYSTEM.OBJ.*, but can't quite figure it out. Anyone know?

Cheers :)

Chris

Discussion (3)1
Log in or sign up to continue