Posted: 2 Dec 2016 15:41 EST Last activity: 21 Dec 2016 4:28 EST
Pega Product Composer System - Component Search is not working
Thecomponent search is not working when i select one of the parameter and do a search as shown in Seach.JPG attachment. I further went and did into the code for some reason. The data page D_Benefits is calling "Rule-Obj-Report-Definition.pxRetrieveSearchData" as shown in Code.JPG to execute a report defnition. When i run the report defnition by itself i am seeing the data.
***Updated by Moderator: Marissa to update categories***
Yes and D_Benefits is not some thing which I am calling or I wrote .... It is OOTB and it is been called by the OOTB Activities.... My question here is when ever the OOTB Search is trying to use "Rule-Obj-Report-Definition.pxRetrieveSearchData" the data is not returned. I just tried running the Report definitions directly and saw do we actually have data and it worked.
My question here is when ever the OOTB Search is trying to use "Rule-Obj-Report-Definition.pxRetrieveSearchData" the data is not returned. I just tried running the Report definitions directly and saw do we actually have data and it worked.
When you use the run button in the report definition, it will execute against the database and get the results (an SQL query is generated).
The same report when executed via pxRetrieveSearchData will go against the full text search index (Lucene or ElasticSearch) based on the version of the Pega platform.
If pxRetrieveSearchData is not returning results, you should check the search landing page (Designer Studio -> System -> Settings -> Search) to see that all sections are appropriately configured and the "check" button next to each index (whichever enabled) returns a success message saying that the index is available for search.
Thanks for the reply. But I did it much before I post this question. Though the Indexs are enables it is still not pyulling the records, I have changes the OOTB code to point to Report Defnition. Let me know if there is anything else I need to do to make it work.
Posted: 5 years ago
Posted: 21 Dec 2016 4:28 EST
Chidvilasa Raghava N C (Chid.Raghava)
Manager, Healthcare, Industry Applications