Forum Discussion
Yoann_Maingon
9 years agoAccelerator I
the code is actually :
Item Rel = this.newItem(“MyRelationship”,"get");
Rel.setProperty(“related_id”,MyItemId);
Rel = Rel.apply();
I was missing the "get" action .
Yes, it does look for the relationships. And yes the Rel object will contain the relationships (you need to look at their source_id property to find the parent).