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

sample gadget http 404 error

Yort Mantup
Level 4
Level 4

I had a series of permalink reports working for about a year.  However they were blow away by mistake and I am trying to set it back up.  I am struggling with getting a cuic permalink report to show in finesse using the sample gadget.  The error I am receiving is below.  Nothing has changed since a year ago.  Still running UCCX 10.6. I feel like it's a syntex error somewhere but I can find the issue.  I can open the link in a browser showing the report if I remove the "amp" after the &.

This is what my .js file looks like (first part providing the link)

var permalink = "https://172.xx.x.xxx:8444/cuic/permalink/PermalinkViewer.htmx?viewId=FA0991391000015C00000AA853EDF87E&amplinkType=htmlType&ampviewType=Grid";
var finesse = finesse || {};
finesse.gadget = finesse.gadget || {};
finesse.container = finesse.container || {};
clientLogs = finesse.cslogger.ClientLogger || {}; // for logging

// Gadget Config needed for initializing Logging

 

Here is the XML:

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

<ModulePrefs
title="CUIC Gadget"
height-"650"
scrolling="true"/>
<Require feature="settitle" />
<Require feature="dynamic-height" />
<Require feature="pubsub-2" />
<Require feature="setprefs" />
</ModulePrefs>

<Content type="url" href="https://172.18.7.130:8444/cuic/permalink/PermalinkViewer.htmx?viewId=FA0991391000015C00000AA853EDF87E&amplinkType=htmlType&ampviewType=Grid"/>
<![CDATA[
<!DOCTYPE html>
<!-- Styling -->
<link rel="stylesheet" href="CUIC.css" type="text/css" />

<!-- jQuery -->
<script type="text/javascript" src="/desktop/assets/js/jquery.min.js"></script>

<!-- Finesse Library -->
<script type="text/javascript" src="/desktop/assets/js/finesse.js"></script>

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

<body class="claro">

<!-- sample gadget html only has 1 div which will be modified during the screenpop -->
<div>
<div id="agentout">
</div>

</div>
</body>

<script type="text/javascript">

// initialize the gadget running the init handler defined in screenpop.js
gadgets.HubSettings.onConnect = function () {
finesse.modules.SampleGadget.init();

};

</script>
]]>
</Module>

 

Error from Finesse

There were issues rendering this gadget.
Unable to retrieve spec for https://acme1.acmecorp.com:8444/3rdpartygadget/files/SampleGadget/CUIC.xml. HTTP error 404
https://acme1.acmecorp.com:8444/3rdpartygadget/files/SampleGadget/CUIC.xml
0 Replies 0