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

Page of 122
C
HAPTER 
2:
 
B
UILDER FOR 
V
OICE
XML
 
S
TUDIO
 
 
V
OICE
XML
 
S
TUDIO 
U
SER 
G
UIDE 
 
 
 
FOR 
C
ISCO 
U
NIFIED 
C
USTOMER 
V
OICE 
P
ORTAL
 
 
 
 
 
 
 
41
Root Document Settings 
The following describes the Root Document Settings of a Cisco Unified CVP voice application. 
 
ƒ  JavaScript.  The JavaScript section is used to specify custom JavaScript content that will 
be inserted into the application root document. Selecting Add... will open up a dialog box 
where a label for the JavaScript must be specified along with the desired JavaScript 
content. The name of the JavaScript is used to identify particular script content in the 
Root Doc Settings properties dialog. All script content listed in the edit box is inserted 
within VoiceXML <
script
> tags by VoiceXML Server and therefore, 
<script>
 tags 
should not be defined in the script content. VoiceXML Studio does not execute the script 
or validate the script syntax. Multiple scripts can be specified with unique labels. The 
order of the scripts listed in the Root Doc Settings properties is the order that they appear 
in the root document. The order can be modified by using the Up and Down buttons. 
ƒ  VoiceXML Property.  This table is used to enter all VoiceXML properties the developer 
wishes to appear in the root document. By placing them in the root document, the 
developer applies the properties to the entire application. Each property's name is entered 
alongside its value. If a property's value is left blank, its value will be set to an empty 
string in the root document.