I have created the section and using the chart control and using the report definition which has charts configured in it. The issue is with the click , when we are trying to click on one of the item on drill down report from the user portal , the new tab is getting opened blank but no case details getting loaded.
The same is working fine from the devstudio , opening case from drill down report is working fine .
I have followed below article and tweaked a little to open the case from portal ,which is working fine , but getting replaced in the same harness . I cannot modify the table present in the section as it is OOTB and final (pzRRListBodyRK) present in the code-pega-list. Please suggest
This is a portal context issue, not the report itself. In 8.6, drill-down links can open a blank tab if the portal isn’t using a Dynamic Container or if the click tries to open “new document” without a proper open action. Easiest fix: in your chart’s Drill Down, point to a custom drill-down Report Definition where the first column is the case ID and its “Display format” is a Link with action Open work by handle using .pzInsKey, and set Target = New document; this avoids editing pzRRListBodyRK. Make sure the user portal uses a Dynamic Container so new documents load correctly. Confirm the user’s access group can open the work class (privileges/RSRs) since Dev Studio often masks missing access. If you prefer script, create a small Control that calls pega.desktop.openWorkByHandle(pzInsKey) and reference it for that ID column in the drill-down RD. Revalidate/save the RD, clear caches, and test with a real end-user operator. If it still opens blank, apply the latest 8.6 patch (there were known fixes around report drill-down navigation) or switch the link Target to “Replace current” as a fallback.
@Sairohith - Thanks for your reply . Lets stick to the option of changing in the report definition in the place of format control . I tried to add the pxLink , but there is no place where we can add onclick behavior what we do in section . Anyways looking out for more option my side as well to figure out if any
Hi All , I have added pzInsKey to the reportdefinition and added the pxWorkLink control which takes the current value of the field i.e pzInskey and forms the URL and in the UI as well show the case id from the given PzInskey . This worked for me .Please refer the attachment section for more details.