cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1390
Views
0
Helpful
5
Replies

Finesse gadgets- blank page

iptuser55
Level 6
Level 6

Hi

Ive added a new gadget in finesse, logged on as an  agent and can see the new tab. For testing I added a url http://www.bbc.co.uk  but it is blank. I also added an internal URL - what am I missing?

bbctest_xml

<?xml version="1.0" encoding="UTF-8"?>
<Module>

<ModulePrefs title="bbctest for Cisco Unified CCE"
        description="bbctest for Cisco Unified CCE Gadget">

    <Require feature="settitle" />
    <Require feature="dynamic-height" />
    <Require feature="pubsub-2" />
 <Require feature="setprefs" />
</ModulePrefs>

<Content type="html">
<![CDATA[
    <!-- Styling -->
    <link rel="stylesheet" href="bbctest.css" type="text/css" />
    <!-- jQuery 1.5 -->
    <script type="text/javascript" src="jquery-1.5.min.js"></script>
    <!-- Finesse Library -->
    <script type="text/javascript" src="finesse.js"></script>

    <!-- EIM WIM Server URL -->
    <script type="text/javascript" src="bbctest_server_url.js"></script>

    <!-- Gadget Business Logic -->
    <script type="text/javascript" src="bbctest.js"></script>

    <body>
        <div id="displayOut"></div>
    </body>

    <script type="text/javascript">
        // initialize the gadget running the init handler defined in CIM.js
        gadgets.HubSettings.onConnect = function () {
  finesse.modules.CIMGadget.init(bbctest_server_url);
        

    };
    </script>
]]>
</Content>
</Module>


bbctest_server_url_js

var bbctest_server_url = "http://www.bbc.co.uk";

thanks

5 Replies 5

Deepak Rawat
Cisco Employee
Cisco Employee

Are you doing this for UCCX or UCCE

Regards

Deepak

UCCE

Since your intent is to display a web page inside Finesse Desktop, try using Embedded WebApp Sample Gadget 2.0 available at below link and edit the file EmbeddedWebApp.xml in Notepad++

On line 36 there is a 

finesse.modules.EmbeddedWebAppGadget.init("http://www.cisco.com");

Replace the http://www.cisco.com with the required URL i.e., http://www.bbc.co.uk or some other that Finesse can access

https://developer.cisco.com/site/finesse/downloads/sample-gadgets/

Re-upload the EmbeddedWebApp.xml along with all of the files in the EmbeddedWebApp folder and then go the desktop layout and add the gadget as this :

<gadget>3rdpartygadget/files/embeddedwebapp/embeddedwebapp.xml</gadget>

Regards

Deepak

Deepak and iptuser55 this still may not work for a couple reasons.

1) if you're using Finesse in https which I believe is a default in later versions of finesse, more modern browsers will block the mixed content due to security.

Using IE11 built in developer tools you'll see an error message like this SEC7111: HTTPS security is compromised by http://www.bbc.co.uk/

2) Even if you get passed this, some sites can set options on their site so that you can not reference it in an iframe rendering this kind of functionality useless in a cisco finesse gadget.

If it is something along with other sites that your agents depend on, I would recommend simply making a list of links so they can open them up as they see fit.

thanks for your help. The BBC.co.uk was just as an example

We have internal web based service desk application which we would like to appear in the agents finesse tab in addition we also use egain which again is web based

Are you saying we need to use embededwebapp to get this to work also since finesse is https does that mean we need to embed only https or use a mixed mode browser?

We also have issues with screen pops not seeming to work as well