Multiple checkbox values to CDT

Hi All,

I have a requirement to select mutiple check box at once and save the values in CDT/database .  Issue here is the value is not getting saved into my cdt ri!user.

It just saves the current selected value and ignore others .  Whats wrong here ? Any suggestions?

a!checkboxField(
label:"checkbox",
choiceLabels:index(rule!HD_getAllHelpdesk(),"name",{}),
choiceValues:index(rule!HD_getAllHelpdesk(),"id",{}),
value:ri!user.helpdeskId,
saveInto:ri!user.helpdeskId,

)

Thanks in advance

  Discussion posts and replies are publicly visible