Question
How to create a case link that opens the review harness containing pyPoralNav
I want to create a case link that opens the review harness, in which pyPortalNav displays.
But, the case link which I created did not display pyPortalNav properly.
How do I resolve this issue?
The case link is as follows.
==========================================
<%
String insHandle = null;
try
{
insHandle = tools.getDatabase().getHandle(tools.getStepPage());
}
catch (Exception e)
{
insHandle = tools.getProperty(".pzInsKey").getStringValue();
}
tools.putSaveValue("PublicLinkURL",pega_procom_pegaprocomutilities.pzGetPublicLinkURLForWork());
//The Location parameter needs to be URL encoded
tools.putSaveValue("RedirectLocation", pega_rules_utilities.encodeURLParameter(insHandle));
%><a href="<%=tools.getSaveValue("PublicLinkURL")%>?pyActivity=@baseclass.doUIAction&action=openWorkByHandle&key=<%=tools.getSaveValue("RedirectLocation")%>&prevRecordkey=Data-Portal&portalThreadName=STANDARD&portalName=pyCaseManager7" style="text-decoration:none;" target="_blank"><pega:reference name=".pyLabel"></pega:reference> (<pega:reference name=".pyID"></pega:reference>) </a>
Hi,
Kindly check below link.This may help you.
https://pdn.pega.com/support-articles/assignment-link-not-visible-review-harness