Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
vendors:cisco:uc:ucce:cvp:java [2021/07/01 16:15] – gerardorourkevendors:cisco:uc:ucce:cvp:java [2025/02/06 12:52] (current) – [Convert a Number to a String type with an intger value] gerardorourke
Line 9: Line 9:
  
  
-===== Convert a Number to a String type with an intger value =====+===== Convert a Number to a String type with an integer value ===== 
 +Note - you don't need to do this - you can use Set value as follows: 
 + 
 +=== JavaScript in Set Value node - can also do this ==== 
 +as you can see from below - do NOT use "eval" 
 +<code> 
 +var pollDurationInt;  
 +pollDurationInt = {Data.Session.pollDuration}; 
 +pollDurationInt = parseInt(pollDurationInt,10); 
 +pollDurationInt = pollDurationInt .toString(); 
 +pollDurationInt; 
 +</code> 
  
   * Set a session variable myInt to be your number, such as the string "12.0" which gets returned from Set value   * Set a session variable myInt to be your number, such as the string "12.0" which gets returned from Set value
Line 443: Line 455:
  
 </code> </code>
 +
 +
 +==== Cisco Stock Elements ====
 +
 +The out of the box elements for CVP in CVP Call Studio are located in the JAR file
 +  *C:\Cisco\CallStudio\eclipse\plugins\com.audiumcorp.studio.elements.core\lib\elements.jar
  • vendors/cisco/uc/ucce/cvp/java.1625152523.txt.gz
  • Last modified: 2021/07/01 16:15
  • by gerardorourke