Correct answer by
Community Advisor
18-01-2022
06:09 PST
- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Hello @Tobias_Lohmann ,
yes I can do that.. I thought i could use the ootb methods.
I do this for now. Which uses RegisterGroup but i only Register one recipient at a time. No idea if i can add multiple at a time or how
//some loop
for (;;;){
choiceList.push({value :recipient.id});
where.push({condition : {expr: '@id=' + recipient.id}});
}
var id = 1111;//group id
for (var i = 0; i<this.where.length;i++) NLWS.nmsRecipient.RegisterGroup( DOMDocument.fromJXON({'entityList' : { key: {value : id}, where : {condition : {expr : '@id='+id}}}}), DOMDocument.fromJXON({'choiceList' : { key: choiceList[i], where : where[i]}}), true );
I guess.. i will just directly insert them to the rcpGrpRel with session write. thanks a lot for your help.
Marcel
Views
Replies
0 Likes
Total Likes