Question
Cognizant Technology Solutions
IN
Last activity: 4 Oct 2018 11:08 EDT
How can i change the pegacall pop up size?
How can i change the pegacall pop up size?
**Moderation Team has archived post**
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Updated: 15 Dec 2015 6:24 EST
TATA CONSULTANCY SERVICES
IN
Hi Sreela,
Believe the Pega OOTB Activity - PopWorkstationActivity is responsible for preparing the Screenpop settings before it is send it to Desktop.
Rule Details:
Activity: Pop Activity to a workstation
CL ChannelServices-ScreenPop
ID PopWorkstationActivity
RS Pega-CTI:07-13-20
In the above activity, if refer to the Step 3 Java code, specifically --> String property -- "msg" where the Screenpop Window configuration gets wrapped in CDATA & finally Screenpop msg data sent using (pega_channelservices_utilities).
There is one more property WindowFeatures (believe this is the one which should holds the height & width properties of the Screenpop window) is not visible to the developers ??
If possible we can customize this Activity & define the WindowSize to your own Use-Case (something like show below). May be Kandy Rathinasamy can advise if this is the right way to do. Other CTI SME's can advise as well.
String WindowFeatures = "left=0,top=0,width=425,height=450,scrollbars=1,resizable=1"
JAVA snippet from Step 3:
-------------------------------------
Hi Sreela,
Believe the Pega OOTB Activity - PopWorkstationActivity is responsible for preparing the Screenpop settings before it is send it to Desktop.
Rule Details:
Activity: Pop Activity to a workstation
CL ChannelServices-ScreenPop
ID PopWorkstationActivity
RS Pega-CTI:07-13-20
In the above activity, if refer to the Step 3 Java code, specifically --> String property -- "msg" where the Screenpop Window configuration gets wrapped in CDATA & finally Screenpop msg data sent using (pega_channelservices_utilities).
There is one more property WindowFeatures (believe this is the one which should holds the height & width properties of the Screenpop window) is not visible to the developers ??
If possible we can customize this Activity & define the WindowSize to your own Use-Case (something like show below). May be Kandy Rathinasamy can advise if this is the right way to do. Other CTI SME's can advise as well.
String WindowFeatures = "left=0,top=0,width=425,height=450,scrollbars=1,resizable=1"
JAVA snippet from Step 3:
-------------------------------------
String WindowFeatures = tools.getParamValue("WindowFeatures");
String msg = "<PopURL><TARGET>PopWindow</TARGET><WINDOW>" + WindowFeatures + "</WINDOW><URL>";
// Need to send wrapped in CDATA
msg += "<![CDATA[";
// Add the requested activity
String PopActivity = tools.getParamValue("Activity");
msg += "?pyActivity=";
msg += PopActivity;
// close the CDATA
msg += "]]></URL>";
// Add the requestor handle
String clientHandle = tools.getParamValue("ClientHandle");
if (clientHandle != null)
{
msg += "<pyClientHandle>";
msg += clientHandle;
msg += "</pyClientHandle>";
}
msg += "</PopURL>";
....
....
try {
String tenantName = tools.findPage("pxRequestor").getString("pzTenantName");
if (protocol == 1){
oLog.debug("TCPSendToDesk, info: " + port + " " + protocol + " " + PresenceAgent);
pega_channelservices_utilities.pyTcpSendToDesk(host, port, msg, 30000, 0, 10000, 0, false, 0, 3000, tenantName );
} else {
oLog.debug("UDPSendToDesk, info: " + port + " " + protocol + " " + PresenceAgent);
pega_channelservices_utilities.pyUdpSendToDesk(host, port, msg, false, 0, 0, tenantName );
}
-----
Thanks
Hari Kumar Alampuru
Pegasystems
US
In recent versions of Pega Call, there is a call treatment rule where you can configure what occurs when a call arrives (e.g. screen pop, start interaction, answer the call). That configuration includes configuration of the screen pop window size.
Updated: 15 Dec 2015 11:32 EST
Cognizant Technology Solutions
IN
Thanks for you help Hari , Kandy.
I am using Pega 6.2 SP2 and the changes in the PopWorkstationActivity worked! Appreciate it.
Is the call treatment rule in 6x versions?Kandy Rathinasamy
TATA CONSULTANCY SERVICES
IN
Good to know that it worked !!
Cognizant Technology Solutions
IN
How does the "PopWorkstationActivity" activity get called? I am not seeing the fix when i move to another environment. Although the code is pointing to same versions. Hari Kumar
Cognizant Technology Solutions
IN
Hi Hari Kumar
I am not being able to see the fix in higher environment. Am I missing something?
Pegasystems
US
Pega Call processing of CTI events occurs in services (SOAP or Java, depending on the link type). Check that the service package for the service and verify that it points to an access group and application that have access to your ruleset and modified rules.
Coforge
US
Hi, we have slightly customized version of CTI Pop, where we get call request with user and Workstation details via HTTP service call... from that service activity i need to push pop to that user. Now how to find the port number for that user ? is this Port number can be retrieve by using some ActiveX controls or without ActiveX ?
and one last question is, is this Port binding approach works for Virtual desktops users ? or any additional steps we need to plan to enable pop for VDI users ?
Appriciate what ever info you can provide to help to solve this. thanks.