Cisco Cisco Unified Customer Voice Portal 10.5(1) User Guide

Page of 156
C
HAPTER 
3:
 
A
DMINISTRATION
 
 
U
SER 
G
UIDE FOR 
C
ISCO 
U
NIFIED 
CVP
 
VXML
 
S
ERVER 
 
 
 
AND 
C
ISCO 
U
NIFIED 
C
ALL 
S
TUDIO
 
 
 
 
78 
 
setGlobalData
 – This function allows the administrator to create a new global data variable. 
The function takes two inputs, the first being the name of the variable and the second being 
the value. Click on the button to set the global data and the result will appear in a dialog box. 
Note that if there exists global data with the  same name it will be overridden. 
 
removeGlobalData
 – This function allows the administrator to delete a global data variable. 
The function takes one input: the name of the global data variable to delete. Click on the 
button to remove the global data and the result will appear in the dialog box. 
 
removeAllGlobalData
 – This function allows the administrator to delete all global data, 
whether it was created by the administrator or applications. Click on the button to remove all 
global data and the result will appear in the dialog box. Be careful when using this function 
as it could affect the performance of applications that rely on global data. 
 
getGlobalData
 – This function allows the administrator to retrieve the value of a global data 
variable. The function takes one input: the name of the global data variable to retrieve. Click 
on the button to display a dialog box showing the value of the global data.  
Application Data Access 
To access application data using the JMX interface, navigate to the 
VoiceApplication/APPNAME/Data
 MBean, where 
APPNAME
 is the name of the application 
whose application data is to be accessed. The Attributes tab lists all the application data variable 
names in an attribute named “AllApplicationDataNames” (the value may need to be expanded in 
order to see all the application data names). The Operations tab lists four functions that can be 
executed by the administrator for application data: 
 
setApplicationData
 – This function allows the administrator to create a new application data 
variable. The function takes two inputs, the first being the name of the variable and the 
second being the value. Click on the button to set the application data and the result will 
appear in a dialog box. Note that if there is already application data with the same name it 
will be overridden. 
 
removeApplicationData
 – This function allows the administrator to delete a application data 
variable. The function takes one input: the name of the application data variable to delete. 
Click on the button to remove the application data and the result will appear in the dialog 
box. 
 
removeAllApplicationData
 – This function allows the administrator to delete all application 
data, whether it was created by the administrator or applications. Click on the button to 
remove all application data and the result will appear in the dialog box. Be careful with this 
function as it could affect the performance of the application. 
 
getApplicationData
 – This function allows the administrator to retrieve the value of a 
application data variable. The function takes one input: the name of the application data 
variable to retrieve. Click on the button to display a dialog box with the value of the 
application data.