Question
Cognizant
GB
Last activity: 23 Jan 2017 2:16 EST
Tabs creation failing in CPM application
In my cpm application, there are a number of ways of opening a WorkObject, interactions etc. When a new interaction is created it creates a new tab on top. We are using CPMPortalRecents and CPMPortalRecent sections to generate tabs for new threads. In some scenarios a new thread gets created but a tab for the same is not being created. Need help in figuring this out.
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Cognizant
GB
got the ans. The tabs are created with the help of pyAddRecentListItem data transform of PegaCA-work-interaction Class. In my scenario this data transform is not being picked as the work object i am creating is not in the work class. These are special WO residing in a unique implementation layer class.
The solution is just copy the DT in their respective class.It will be picked and tab will be created. Thanks
PEG
GB
I'm not sure that I've understood what you mean. Can you send a screenshot to help illustrate the problem?
Also which version of CPM/CS are you using here?
Cognizant
GB
Hi, Kindly find the attachments in the below post
Cognizant
GB
We are using CPM 7.2.1. CPM uses D_CPMPortalRecents data page to create New tabs for each new thread. We are using the same approach, but unable to create the tabs for few threads. For example: launching a workobject, a thread is generated but the TAB for the same is not generated.
Pegasystems Inc.
US
Hi,
My recommendation to you is to run OOTB CPM Interaction (log on as 'casysadmin/install' and New -> Demo Pop) and check what rules (activites, sections and etc.) are invoked.
I have attached an ootb tracer for launching an OOTB Interaction.
Section CPMPortalRecents (CPMPortalRecent) is invoked from Section CPMInteractionPortalHeader.
Cognizant
GB
Thanks for the info. We are doing the same.. using the OOTB code. But its not working in all the scenarios.
Capgemini Sverige
SE
Hi Fahad,
There can be two possiblities-
1. You need to clear your cache as may be it is taking too much time to load the new tab.
2. May be issue with the script like getting some exception before the new interaction is created.
Accepted Solution
Cognizant
GB
got the ans. The tabs are created with the help of pyAddRecentListItem data transform of PegaCA-work-interaction Class. In my scenario this data transform is not being picked as the work object i am creating is not in the work class. These are special WO residing in a unique implementation layer class.
The solution is just copy the DT in their respective class.It will be picked and tab will be created. Thanks