Dynamic Children and Groovy saveMember question
Summary:
Content (please ensure you mask any confidential information):
Hi,
With Dynamic Children enabled for a "Dynamic Calc" parent, and use Groovy(non-REST API) to add member with specified properties, this need to be run by Users, I noticed something weird and want to see if anyone has idea.
#1. With the below approach, the dynamic child will be added with Data Storage of "Dynamic Calc" instead of "store" which is weird, it seems it inherit the parent's Data Storage. Thus I need to reset the Data Storage to "store".
………………xxxxxxxxxxxxxxx
Member mbr_Parent = rtps.RTP_Parent.getMember()
Map prop_newMbr = mbr_Parent.newChildAsMap(rtps.RTP_mbrName)
Tagged:
0