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.
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!!.