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")%>[email protected]&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>