Creating list tables and setting selection mode by using run processes in Progressive Web Applications
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*
As a Remedy developer, you can create a table which can switch between selection modes. You can design a workflow that returns values which in turn are used by the PERFORM-ACTION-TABLE-ROW-SELECTION-MODE command to switch table lists between multiple selection, single selection, or view-only.
Create a Progressive View.
In the Command Line field, enter the following command:
PERFORM-ACTION-TABLE-ROW-SELECTION-MODE selectionMode tableFieldID
Enter the following values of selectionMode to make a corresponding switch in selection modes of the lists:
Value of selectionMode | Selection mode of list switches from |
---|---|
0 | Any selection mode to multiple selection mode |
1 | Any selection mode to to view-only |
2 | Any selection mode to to single selection |
In place of tableFieldID, you can also add $tableField$ or $tableName$, where tableField and tableName are names of the table field table. The value of selectionMode can be passed by another field based on how you design active links but the values must be one among 0, 2, or 1.
When you display this form in progressive views, you can see a table list and a button that allows you to change the form, for example, multiple selection to a single selection, if you add 2 as the value of selectionMode in the command.