Data in ADP different from what's being shown in list view?
Summary
Unexpected behavior when resetting/refilling ADP's used for list views.Content
Hello Community,
Goal
On page A, we want the user to be able to select items from one list and move them to another, so we both know what's selected and what's still available. Both the selected and available items should then be shown on page B.
Approach
We use two ADPs, one with available items and one with selected items. We fill the lis views with available items from a REST endpoint call. When a user selects an available item, we add the item to the selectedItemsADP and remove it from the availableItemsADP using two 'fire data provider events' in a single action chain. So far, so good. We got this working after learning about the proper use of the ADP's id attribute in this thread:
Tagged:
0