User Browser Checkmark

I have multiple user browsers on a form. After a user selects a user from the browser, the check mark for the previous selection disappears. Can someone suggest a way to ensure all check marks for previous selections are retained? Thanks.

OriginalPostID-245998



  Discussion posts and replies are publicly visible

Parents
  • I have tried some thing like appending of the selected User to a local variable, may be this will give an Idea to start a work around for your requirement. here is the code snippet.

    load(
    local!users,
    local!selectedUser,
    local!pathValue,
    {
    a!textField(
    label:"Selected Users",
    value:local!users,
    readOnly:true()
    ),
    a!userBrowserFieldColumns(
    label:"Select the User",
    instructions:"select a single user and click on Add to add more Users",
    rootGroup:cons!AMS_ALL_USERS,
    pathValue:local!pathValue,
    pathSaveInto: local!selectedUser,
    selectionValue:local!users,
    selectionSaveInto:
    {local!selectedUser,
    a!save(local!users,union(local!selectedUser,append(local!users,local!selectedUser)))}
    )
    }
    )
Reply
  • I have tried some thing like appending of the selected User to a local variable, may be this will give an Idea to start a work around for your requirement. here is the code snippet.

    load(
    local!users,
    local!selectedUser,
    local!pathValue,
    {
    a!textField(
    label:"Selected Users",
    value:local!users,
    readOnly:true()
    ),
    a!userBrowserFieldColumns(
    label:"Select the User",
    instructions:"select a single user and click on Add to add more Users",
    rootGroup:cons!AMS_ALL_USERS,
    pathValue:local!pathValue,
    pathSaveInto: local!selectedUser,
    selectionValue:local!users,
    selectionSaveInto:
    {local!selectedUser,
    a!save(local!users,union(local!selectedUser,append(local!users,local!selectedUser)))}
    )
    }
    )
Children
No Data