I’m having trouble getting a GAD customisation to work…
What I ultimately want to do is pop up a new window when a call is received. The window will contain a different picture depending on the DNIS.
I’ve adapted the customisation example from the Desktop Administrator’s Guide so that the window pops up when the call is received (instead of when the agent logs on to the desktop). The window appears but inside it just says:
HTTP Status 404 - /custom/welcome.jsp
type Status report
message /custom/welcome.jsp
description The requested resource (/custom/welcome.jsp) is not available.
Apache Tomcat/5.5.12
Below are my custom.xml and Welcome.jsp files, which are both located in the \webapps\gdesktop\custom folder.
As you can see, I haven’t even started adapting the Welcome.jsp file to show what I need yet. I’ll eventually need to make it get the DNIS, choose an image and also resize the window to fit arouond the image, as well as making it always on top.
For now if I could get it to say “Welcome” so I can prove the concept, I would be happy! Any ideas why this isn’t working??
OK, the problem with opening the new window was due to capitalisation of the “w” in “welcome.jsp”!
I’ve managed to get a window to popup at the start of the call, made it always on top and resized it to the correct size, using the code below in the welcome.jsp file:
Many thanks, that works great. Just a couple of semi-colons missing but that was easily fixed.
Do you know if it’s possible to hide the toolbars, title bar, file menu, scrollbar etc on the opened window, so it’s effectively just a panel with the image in it? I think it can be done using the window.open method, but we’re obviously not calling the new window in this way…
IMHO there is no way to change window’s properties like address field visibility etc. once the window is opened. It is restricted because of security.
Closing the window automatically once the call ends is a tricky task as it is hard to identify opened window. I would need to do some testing to find suitable way. Problem is that I don’t have free time now
Hi everybody,
I know it is an old post, but I need to do the same thing to pop-up a window when a call is answered.In the example bellow I do not understand which is part of the custom.xml does the welcome.jsp execution occur when a call is received. Can you please explain?
JSP file is executed using custom JavaScript events. You can find list of these in Genesys Desktop 7.6 XML Tag Reference help file.
In the example posted in this thread, welcome.jsp is executed when new interaction is added to agent’s desktop (javascript-onaddinteraction). Added means answered by an agent.
Thank you very much for the explanation, I will definitely look into Genesys Desktop 7.6 XML Tag Reference. I never thought that something so generic like javascript-onaddinteraction label could mean answered by the agent.