AnsweredAssumed Answered

behavior to set association name

Question asked by darionis on Sep 2, 2014
Latest reply on Sep 17, 2014 by darionis
Hello,

I generate node name dynamically, using OnCreateNode bahavior to calculate node name before saving it. I would also like to use the same generated name as association name (it is a common "contains" association, I just want to have descriptive name).

Usually, association name is set using nodeService.createNode(…) 'assocQname' parameter. Is it possible to set assoc name using behavior?

OnCreateNodePolicy and OnCreateChildAssociationPolicy use ChildAssociationRef parameter but it does not allow to set assocQName.

Any suggestions, please?

Thanks!

Outcomes