Question
Accenture
IN
Last activity: 29 Jan 2025 2:34 EST
How to launch a case in portal from URL on click
I have a use case where the user should be able to get access to a pega case assignment on URL click. Through URL mapping that is achieved. but on url click the portal is not opening rather the case is opening stand alone. i understand some configuration need to be done in the URL mapping activity so that the case opens in the portal and on clicking submit or cancel the user can come back to the portal.
Can someone guide me on this ?
P.S- I am a beginner so please be elaborative in your answer. Thanks
@DebasreeS4579 To open a Pega case in a portal from a URL click and ensure the portal stays visible, use the URL format:
https://<server>/prweb/PRServlet?pyActivity=OpenAssignment&InsHandle=<AssignmentHandle>&portalName=<PortalName>. Replace<server>with your Pega server URL,<AssignmentHandle>with the assignment key (likeASSIGN-WORK-1234), and<PortalName>with the desired portal name (likeUserPortal). This URL will open the case within the specified portal instead of a standalone window. Ensure the portal is configured correctly inApp Studio > Channels and Interfaces. If the case still opens standalone, modify theCode-Security.URLMappingactivity by ensuring theShow-Harnessmethod is used andpyPortalHarnessis specified. To return to the portal after submitting or canceling, configure the flow action's post-processing to use theFinishAssignmentactivity with theportalNameparameter. Make sure the access group linked to the user has the correct portal configured underAvailable Portals. This setup should keep the portal visible and return the user to the portal after the case interaction