Posted: 27 Mar 2015 18:04 EDT Last activity: 23 Apr 2015 14:53 EDT
I am using Repeat Grid to show Report definition and for each row i have a button which triggers a local action which shows user a form. When user submits the form i have to validate the form, if any error show it on the modal window. As i am using report definition i am getting error setting Page Messages because primary page is read only(pxResults) and as a result modal window is closing and i am not able to show the error messages.
How to solve this? How to tell submitmodalflowaction to error out. Any other better way to do this.
Copy the Results of the Report pxResults() into a Temporary PageList and then use the Temporary PageList as the Source of the Repeating Grid? The Temporary PageList will be editable and you can avoid the Read Only error when attempting to edit pxResults(). You can accomplish this by using a Data Transform rule and then call the Data Transform from the Flow Action's Action tab before the associated Section is rendered. Make sure you reference the Temporaary PageList in the "Pages and Classes" tab of the Section referenced by the Flow Action and then use the Temporary PageList as the Source of the Repeating Grid.