Ambiente
Problema/Sintomas
Como criar uma lista no ACC dinamicamente e preencher os dados na lista?
Tentamos criar uma lista usando a atividade do JavaScript; a lista está sendo criada. Mas não podemos inserir os dados na lista do JavaScript.
Como inserir os dados em uma lista do JavaScript?
Usar a função nms.recipient.RegisterGroup
fornecida abaixo para atualizar a lista com os recipients:
//List - definição do objeto de lista var entity = entityListkey value="643475"/ where condition enabledIf=""" expr="@id = 643475"/ /where /entityList
//Recipient - definição da lista de recipients var choice = choiceListkey value="100"/ where condition enabledIf=""" expr="@id = 100"/ /where /choiceList//add recipients to list
nms.recipient.RegisterGroup(entity,choice,true)