Support Article
Target page list of ListToList control is not populated
SA-7516
Summary
User has configured a repeat grid with a page list property as the data source. The edit option on grid is set to 'Expand Pane'. A button configured in one of the columns launches a modal dialog when clicked. User expands a repeat grid row, clicks on the button to launch a flow action in a modal dialog. This flow action presents a list to list control where user selects few/all values in target list and then closes the modal dialog.
Following behavior is observed:
a) The target page list of the ListToList control does not get populated: if ‘Display details read-only’ check box is checked under ‘Operations’ tab of grid properties dialog and at run time the grid row is expanded. If the same operation is performed with row in collapsed state, the target page list gets populated.
b) If we un-check 'Display details read-only’ check box, even though row is expanded, the target page list gets populated.
Error Messages
No error messages.
Steps to Reproduce
a) Create a repeat grid with edit mode set to 'Expandable Rows'.
b) In one of the columns, place a button control. Configure a 'Launch Local Action' action for click event of this button.
c) At run time, expand a row of grid. For the same row, click the button placed to bring up the modal dialog.
d) Perform some action and click 'Ok' button on modal dialog.
e) The modal dialog gets closed. The target page list property configured on 'ListToList' control is not populated.
Root Cause
The behavior is as per Product design.
Resolution
Even though the modal dialog launched from row does not edit the row, it is still in the row context. When 'Display details read only' check box is checked, the grid assumes that modal dialog launched was just for viewing data and not updating it. Thus, the target page list of ListToList control shown on modal dialog is not populated. If we un-check this checkbox, the issue gets resolved.
Published January 31, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.