Question

32
Views
VipinK17 Member since 2013 15 posts
Accenture Services Pvt Ltd.
Posted: July 13, 2020
Last activity: July 14, 2020

Embed Pega as deeplink in another app and switch between threads based on InteractionID in the URL

We have a unique requirement to embed Pega portal as a deeplink URL (using sso), in an iframe of external application portal. There there can be multiple such iframe correponding to multiple chat in the xternal app, and each such deeplink should open dedicated Interaction tab in Pega.

We have achieved this by including an activity in the URL endpoint, taking interaction id as param and calling RedirectAndRun OOTB activity, we show OOTB CPMHCInteractionPortal which has mul;tiple tabs for each interaction thread under same requestor.

<iframe src="https://..../PRServlet?pyActivity=Embed-PortalLayout.LaunchInteractionFromURL&InteractionID=I-5558">

This seems to be working for one interaction. Now, when they launch the same Pega deeplink URL with another I-Case in same external portal,under separate tab, it is showing 2 tabs (threads) as two different tab. The requirement is to show only the specific interaction under each tab of external application. 

We have solved this by customizing the CPMPortalRecents and putting the when condition on repeating layout for tabs.

 

Now, the challenge is how to switch between the two pega tabs when user switch tabs in external application for corresponding interactions.

 

Please advise or throw some ideas on how can we make the above work. Your help is appreciated!!.

Pega Customer Service for Healthcare 7.22 Pega Platform 7.2.2 Conversational Channels Case Management User Interface Healthcare and Life Sciences Insurance Lead System Architect Senior System Architect System Architect UX Designer Solutions Engineer
Share this page LinkedIn