How to add js used in ListView to Report Definition
Hi,
My project is on Pega 6.2 SP2 based on Pega CPM framework, I am facing troubles with a list view.
The newly designed code uses a join of 3 tables in the listview, the 3rd of which is an index table. However as the index table doesnt have a specific service item entry, the list view doesnt load when we open an item from the worklist which has that specific service item in it.
I am planning to get rid of the Index table in this listview, and create a Report Definition instead(as in a report, we can use properties inside the blob as well and need not expose them).
Now my only worry is replicating the onclick behaviour of the listview. We have used a js file in the listview where we have configured behaviours such as single click, double click and onloa function.
As far as I know, I cant add that JS file in the report I am making.
One thing I have in mind is to create a repeating grid, use the report I am making as its source and then configuring single click, double click and onload on the grid but that would require design level changes and the UI might change resulting in bad customer reviews.
Can anybody please help me with it?