Blogs

Finesse Developers,

Are you excited about Cisco Live in Orlando? We are because we're anxious to share all of the progress that the Finesse team has made over the past year. We also want to provide details on our Finesse 10.0 release.

There are two Finesse sessions this year:
  • BRKCCT1031 -- Cisco Finesse: Revolutionizing the Agent Experience
  • BRKCDN1001- Programming with the Finesse API
  • ...Read More

 

Finesse gadgets can be hosted on your own web server or on the Finesse server itself.

To host gadgets on your own web server, you host the gadget just as you would any web site. You could use IIS, Apache, etc. That is up to you.
...Read More

 

bMost of the information you need is in this Finesse Developer Center and there is a detailed presentation for Finesse Developers here https://communities.cisco.com/docs/DOC-28452

You can explore the Finesse Developer Center http://developer.cisco.com/web/finesseand if you can’t find what you need, let us know.
...Read More

 

I. Disclaimer
-------------------------------------------------------------------------------

The SampleGadget_WebService sample gadget is intended to serve as an example of
using the gadgets.io.makerequest function to make a request of a web server that is
accessible via Finesse server.



This is only a sample and is NOT intended to be a production quality ...Read More

 

The SampleGadget_Logging sample gadget is intended to serve as an example of initializing and using the
Finesse logger.

This sample illustrates how to initialize the logger and log a message to the console and the Finesse agent logs on the Finesse server.

1. initialize private var
clientLogs = finesse.cslogger.ClientLogger;
2. connect with hub ...Read More

 

Showing 1 - 5 of 22 results.
Items per Page 5
of 5

Forums

« Back to General Questions

RE: New Message from Absaar Javed in Cisco Finesse - General Questions: RE:

Combination View Flat View Tree View
Threads [ Previous | Next ]
I need to use "getCredentials(parameter);" method from finesse.js, to get username and password in a third party gadget for it's login and  subscription, how can i access this method?

or if I have to access 'user ID and password' via _config object, like
var userId=_config.id, var password=_config.password;
for my gadget, so that it can subscribe to finesse notifications, then how can I do this?

getCredentials is used to extract the credentials from the config object. I found an example in the Finesse desktop:

//If the authorization string is provided, then use that to
//extract the ID and the password. Otherwise use the ID and
//password from the respective ID and password params.
if (_config.authorization) {
var creds = _util.getCredentials(_config.authorization);
_config.id = creds.id;
_config.password = creds.password;

You should be able to access the method by calling _util.getCredentials(_config_authorization);


Finesse client services are initialized with the config when the finesse gadget is loaded:

finesse.clientservices.ClientServices.init(finesse.gadget.Config);

Here is how you get the gadget config (from the SampleGadget_Final.js sample gadget):

// Configuration for the gadget
finesse.gadget.Config = (function () {
var _prefs = new gadgets.Prefs();

/** @scope finesse.gadget.Config */
return {
authorization: _prefs.getString("authorization"),
host: _prefs.getString("host"),
restHost: "localhost"
};
}());

Collateral


No files available