ā08-29-2016 12:04 AM
I have installed the UCCX 10.5.1 to work with finesse
I needed a gadget that take the inbound call number and opens a website and put this number into its search field.
The problem is that i am always getting a NULL value inside that search button.
I tried to create an ECC variable put it is not working
Could anyone help me and thank you in advance.
Solved! Go to Solution.
ā09-01-2016 10:06 PM
Hi Elie,
I think IE is blocking the content from being shown (hence the pop up). When you click "Show all content" it refreshes the page and sort of messes the whole pop up stuff up. Try to disable the "Show all content" pop up from being shown by going to Tools -> Internet Options -> Security -> Internet -> Custom Level -> Miscellaneous -> Display mixed content -> Enable.
I was able to reproduce your issue and after enabling mixed mode, the pop up was showing. Do note that it does take about 3 seconds for the popup to render.
Thanx,
Denise
ā08-29-2016 08:49 AM
Hi Elie,
The ScreenPop gadget does the search using the callVariable1 so make sure there is a value in that call variable. If you do not have any value in that call variable but have it in another, just change the URL in the ScreenPop.js:
html += '<iframe src="https://www.dogpile.com/info.dogpl/search/web?fcoid=417&fcop=topnav&fpid=27&q=' + callvars["callVariable1"] + '" width="100%" height="650"> </iframe>';
Assuming you did not change the call variable layout (if I remember the default correctly), you should see the values in the callvariables in the call control gadget:
Another way is to look at the dialog events coming to the desktop when the call is made with either the developer tools or send the client logs) to confirm that there is a value in callvariable1.
If you are still stuck, please attach the client logs of the scenario and I can take a look.
Thanx,
Denise
ā08-29-2016 10:36 PM
Hi Denise,
Thanks for your reply.
Everything you have mentioned is exactly what i did, concerning the screenpop.js I didn't change the URL (so it is the default) but what i did is that i created an ECC variable (userNUMBER) in my script that gets the calling number in the beginning and sets it when connected.
Extension 1002 is caling 1004 and when answering the call, the variable is filled but the search box in dogpile has a NULL value and this is the problem..
Best Regards,
Elie
ā08-29-2016 10:42 PM
Hi Elie,
What is the value of call variable1? From your screenshot, I see that ECC variable userNUMBER has a value, but does callVariable1? Since you said you are using the default js file, you need to make sure callvariable1 is something. In the Manage call variables layout, add another row and select callVariable1 as the Variable and see if there is a value.
Thanx,
Denise
ā08-29-2016 10:54 PM
Hi Denise,
I added a new row and no the callVariable1 is empty
Best Regards,
Elie
ā08-30-2016 09:35 AM
Right. So that is why the search is always searching for null. Without any modifications to the ScreenPop.js, it is taking the value of callVariable1 (which is empty in this case and empty equals to null for the search). So what you are seeing is correct. So if you want to search against the ECC variable userNUMBER, you want to change the code in the ScreenPop.js to html += '<iframe src="https://www.dogpile.com/info.dogpl/search/web?fcoid=417&fcop=topnav&fpid=27&q=' + callvars["userNUMBER"] + '" width="100%" height="650"> </iframe>';
Thanx,
Denise
ā08-30-2016 10:38 PM
No Denise it is not working as well.
ā08-31-2016 09:42 AM
Hi Elie,
Can you reproduce the scenario and click the "Send Error Report" link. Then grab the client logs and attach it to this thread. I will have to take a look at the logs.
Thanx,
Denise
ā09-01-2016 01:07 AM
Hi Denise,
It worked fine now, i can also create an ECC with the same name "callVariable1" and leave the Screenpop.js as it is (default)
But i realized something that the screenpop gadget is not opening (internet explorer is not showing me the content) without an embedded web app on the same page. Is it a problem related with internet explorer (http or https)
Thank you
ā09-01-2016 10:04 AM
It worked fine now, i can also create an ECC with the same name "callVariable1" and leave the Screenpop.js as it is (default)
Cool. I'm glad it works.
But i realized something that the screenpop gadget is not opening (internet explorer is not showing me the content) without an embedded web app on the same page. Is it a problem related with internet explorer (http or https)
What do you mean when you say "an embedded web app on the same page"? Do you mean the embedded web app gadget? Do know that if your are using the http url for the Finesse desktop, you must use a http URL for the screen pop. The browsers do not like the mixed mode. Or, do you mean that if the screenpop gadget is on a hidden tab, it doesn't work.
Thanx,
Denise
ā09-01-2016 09:14 PM
The problem is that when i answer the call the screenpop gadgets show me nothing.
It was working when i added an embedded webapp gadget, before even i answer the call internet explorer asks me if i want to show the content.
I have attached 3 screenshots to show you this problem :
with the webapp gadget it is working but i just want screenpop gadgets
finesse desktop url : https://10.1.240.96:8445/desktop/container/?locale=en_US
desktop layout :
<gadgets>
<gadget>http://10.1.240.54/applet/EmbeddedWebApp/EmbeddedWebApp.xml</gadget>
<gadget>http://10.1.240.54/applet/ScreenPopSampleGadget10.5.1/ScreenPop/ScreenPop.xml</gadget>
<gadget>http://10.1.240.54/applet/ScreenPopSampleGadget10.5.11/ScreenPop/ScreenPop.xml</gadget>
</gadgets>
ā09-01-2016 10:06 PM
Hi Elie,
I think IE is blocking the content from being shown (hence the pop up). When you click "Show all content" it refreshes the page and sort of messes the whole pop up stuff up. Try to disable the "Show all content" pop up from being shown by going to Tools -> Internet Options -> Security -> Internet -> Custom Level -> Miscellaneous -> Display mixed content -> Enable.
I was able to reproduce your issue and after enabling mixed mode, the pop up was showing. Do note that it does take about 3 seconds for the popup to render.
Thanx,
Denise
ā09-01-2016 10:13 PM
Thank you Denise, it worked fine now
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide