cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
121
Views
0
Helpful
0
Comments
cdnadmin
Level 11
Level 11
This document was generated from CDN thread

Created by: Mark Applebee on 08-08-2013 08:09:22 AM
I am trying to return an integer value from my custom element to the call studio app. In my custom java class I am trying to use setElementData to achieve this. But it will return only string value. Can some help me to solve this scenario?
Thanks!!

Subject: Re: New Message from Mark Applebee in Customer Voice Portal (CVP) - CVP - A
Replied by: Janine Graves on 08-08-2013 08:45:10 AM
Element data is stored as a String, but if it contains an Int value then you can treat it like an Int in the Studio app (for example, the Studio Counter element creates element data named 'count') that you treat like an Int.  In the Java, just say setElementData(elementVarName, Integer.toString(varValue)) -- Janine Graves
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:

Quick Links