cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
Walkthrough Wednesdays
167
Views
5
Helpful
1
Replies
Clifford McGlamry
Rising star

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

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
gorourke
Rising star

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

 

Content for Community-Ad