Frequent Dynamics AX users might notice that some of the forms contain two sections placed next to each other and allow moving items from one side to the other. Normally, the right section contains a list of possible values and the left one contains already selected values. Buttons in the middle allow moving data from one side to another. Mouse double-clicking and drag-and-drop are also supported. Such design improves user experience as data manipulation becomes very user-friendly. Examples in the standard application are General ledger | Setup | Financial statement | Dimension focuses or Administration | Setup | User groups.
This functionality is based on the SysListPanelRelationTable application class. Developers only need to create its instance with the required parameters on the form where the list is required and the rest is done automatically.
This recipe will show the basic principle of how to create selected/available lists. We will add an option...