UCCX11 Finesse Gadget Creation and Customization
Download the Gadget:
Windows server installed with IIS
CurrentPromotion.xml
Copy WelcomeWorld.xml as CurrentPromotion.xml and put in root web directory and change content to:
<?xml version="1.0"?>
<promotions>
<productname>Super Deluxe Widget Bundle</productname>
<promotion>Buy 2 Get 1 Free</promotion>
</promotions>
|
Add 8080 binding to IIS
Changes on WebService.js
Change Rest request page to CurrentPromotion.xml
Changes on WebService.xml
<?xml version="1.0" encoding="UTF-8"?>
<Module>
<ModulePrefs title="Current Product Promotions"
description="Current Product Promotions">
<Require feature="settitle" />
<Require feature="dynamic-height" />
<Require feature="pubsub-2" />
<Require feature="setprefs" />
<Require feature="loadingindicator">
<Param name="manual-dismiss">false</Param>
<Param name="loading-timeout">10</Param>
</Require>
</ModulePrefs>
|
Change title and description above.
Confirm Edit the Gadget Body:
<body>
<!-- Sample Gadget -->
<div>
<br>
<fieldset id="hubfieldset">
<legend>Current Promotion</legend>
<button onClick="finesse.modules.SampleGadget.makeWebService();">Get Data</button>
<br>
<div>Text: <span id="result"></div>
</fieldset>
</div>
</body>
|
Changes on WebService.css
Add Span for colors
span {
background-color: #66CCFF;
color: red;
}
|
Set the password for the Cisco Unified CCX 3rd Party Gadget Directory
SSH to UCCX to change SFTP password
utils reset_3rdpartygadget_password
Command Line Interface is starting up, please wait ...
Welcome to the Platform Command Line Interface
VMware Installation:
…
admin:
admin:utils reset_3rdpartygadget_password
New Password:
Confirm New Password:
Updating password for 3rdpartygadget...
Password updated successfully.
admin:
|
Exist
Upload files using WinSCP
Desktop Layout
<tab>
<id>MarketingUpdates</id>
<label>Marketing Updates</label>
<gadgets>
</gadgets>
</tab>
|
I need to generate the gadgets for Facebook and Twitter in the Finesse.
ReplyDeleteDo you know how I can do that?
Look for their developer API. you need find a server constantly download post feedings in right format(Jason to XML?), and create a button to show them. maybe it's lame.
DeleteHello ,
ReplyDeleteFirstly thanks for informations.
When i try try to open the file , i'm getting "unknown format or damaged" error. Could you check the file ?
I am sorry that I can't find the original file. Please see this git page which is more intuitive:
Deletehttps://github.com/CiscoDevNet/finesse-sample-code/tree/master/LearningSampleGadget