$interaction Through Assignments
Status
Release Available | Status | Framework Name |
---|---|---|
4.2 | Current | Mui and Mint |
General
A portal administrator can update $interaction selected Variables through Assignments.
Selecting - Code JSON
Copy
"handler": {
"assignments": [
{
"field": "$interaction(ContactList123:$parent.attr(id);).attr(selectedIds);",
"value": [
"$this.attr(id);" ]
}
]
}
To remove the selection, pass an empty array for the value.
Removing - Code JSON
Copy
"handler": {
"assignments": [
{
"field": "$interaction(ContactList123:$parent.attr(id);).attr(selectedIds);",
"value": []
}
]
}
Example
In the following image, a Portal user can click Select All to select both Party 1 and Party 2 at once.