cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
398
Views
5
Helpful
1
Replies

Finesse 3rdparty Widget off box - Call with Dynamic URL?

Clifford McGlamry
Spotlight
Spotlight

Trying to figure out if this is possible.  I am NOT a Java developer, and find myself at a severe disadvantage here.  

 

What I want to do is to be able to call an application on an external web server (similar to the EmbeddedWebAppSampleGadget), but I want to be able to put dynamic parameters onto it using call parameter variables or ECC variables.  Something like:

 

https://externalWebServer/myContent.aspx?CallerID=callVariable9&CallerName=userCallerName

 

Is this possible?  If so, can someone provide a reference on how to do it correctly?  Really don't want to have to reinvent the wheel here.  Thanks in advance for some assistance.  

1 Reply 1

Gerry O'Rourke
Spotlight
Spotlight

Yes - you can do this.

Have a look at the "LearningSampleGadget"

 

https://github.com/CiscoDevNet/finesse-sample-code/tree/master/LearningSampleGadget

 

Reference:

https://developer.cisco.com/docs/finesse/#!sample-gadgets/sample-gadgets

 

Extract of the above gadget code - doing exactly what you want.

// Example of using data from the dialog to do a web search
$("#bing").attr("src","https://www.bing.com/search?q=" + callVars["callVariable3"]);

 

Gerry

 

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: