Posted: 11 Jul 2016 12:02 EDT Last activity: 4 Aug 2016 11:38 EDT
Modal dialog not launching from repeat grid using embedded page list
I have three repeat grids, each in different sections. They all reference the same section in a section include for one of the columns. The included section has an image with an on click event to launch a modal dialog. This works fine for 2 out of the 3 repeat grids. After testing I have found this is because the one that doesn't work is using an embedded page as the List/Group. I have also tried using both onClick events 'Open local action' and 'Launch: Local action' with the same results.
The only work around for this issue I have found is to copy the page list to a dummy top level clipboard page. Does anyone know of a more elegant solution?
Also, we're on Pega v7.1.6. Is this bug fixed in later versions?
***Updated by Moderator: Marissa - to add category***
One shows the modal dialog the other does not show it. Not really much to show in screenshots. I'm attaching screenshots of the working scenario configuration. Literally the only difference in the non-working scenario is changing the "List/Group" from "DummyDisputeAmountPage.DisputeList" to ".DisputeList" so it'll use the dispute list from the work page. The dummy page is a straight copy of the work page in pre-processing on flow action.
Posted: 5 years ago
Posted: 19 Jul 2016 21:24 EDT
Sai Deepak Aleti (SaiDeepak)
Principal Technical Solutions Engineer
In all 3 scenarios, I am using a top level clipboard page that gets populated when the row is selected.
Do you see request hitting server, if so, do you see any errors in Pega logs/ Tracer capture.
Yes, it is hitting the server and there is an error. PerformPreProcessing is failing with the error Failed to find a 'RULE-OBJ-FLOWACTION' with the name 'EDITDISPUTEDAMOUNT' that applies to '@baseclass'.. The context of this step is named my TLCP but it is empty. In the UI and on the clipboard this page is not empty so I wonder if this is on a different thread.
If request isn't hitting server, do you see any JS errors? It is ihitting the server.
If request is hitting server and you are not seeing any serverside errors, is the response reaching back to browser? Yes using the console in Chrome shows the POST returns 500 (Internal Server Error).
If i understand correctly your grid is displaying a list of transactions and these are necessarily work objects. Correct ?
If that is the case then pyWorkPage.pagelist property configuration is not supported for work object bound grids. It has to be some toplevelpage.pagelist property. Basically any page other than pyWorkPage.