So I read through the documents and I am fairly sure the function I want is getMediaProperties().
I know something like :
will fetch me CV10. So lets assume a custom variable named user.WakkaWakka was defined. And we know it works because the test string we defined in the script editor is showing up in that fancy CallControl gadget. So my first instinct is to use something like :
but no luck, I tested that the hand off between the xml and the js was good by putting a callVariable in the place of user.WakkaWakka and that was fine, so I know the issue is in the initial grab from the dialog and obviously I'm not doing it right.
I'll want to display into Finesse Desktop an URL which is passed by the IVR through an ECC variable.
Do you have any hints on how to do this? Any Cisco Custom Gadgets that can be useful? Did you fouund a solution to your problem?
Sadly, the fetching of custom ECC variables still has quite a few of us pulling out our hair. The problem is that if it isn't an out of the box variable we can't seem to fetch it. If you can figure that out for us, I will show you how to to open up web pages or any valid URI as either a pop up or within a frame.
There is the UpdateCallData API.
There is some discussion on how to setup an ECC variable here...
states = finesse.restservices.User.States;
In my custom gadgets, I use this:
var callVars = dialog.getMediaProperties();
Then, I can access ECC variables like this:
somevariable = callVars["user.ecc_variable_name"];
Hope this helps,