Vipin Keshri (VipinK17)
Accenture LLP
Lead System Architect
Accenture LLP
VipinK17 Member since 2013 19 posts
Accenture LLP
Posted: July 13, 2020
Last activity: July 14, 2020
Posted: 13 Jul 2020 14:51 EDT
Last activity: 14 Jul 2020 13:31 EDT

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 Experience Healthcare and Life Sciences Insurance Lead System Architect Senior System Architect System Architect User Experience Designer Solutions Engineer
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.