Руководство Пользователя для Cisco Cisco Customer Voice Portal Downloads
C
HAPTER
3:
C
ISCO
U
NIFIED
CVP
W
ORKSPACE
V
OICE
XML
S
TUDIO
U
SER
G
UIDE
FOR
C
ISCO
U
NIFIED
C
USTOMER
V
OICE
P
ORTAL
109
Substitution
The presence of the
button near a setting means that substitution can be employed.
Substitution allows something to be given a value that is not known until runtime, without
resorting to programming.
resorting to programming.
Data is “assembled” from static content and tags representing dynamic content, such as ANI, the
starting date, or Element and Session data created by elements. At runtime, the text that
represents the substitution value will be replaced (“substituted”) for its actual value. Substitution
is an excellent way for a designer to create dynamic content without the help of a developer.
starting date, or Element and Session data created by elements. At runtime, the text that
represents the substitution value will be replaced (“substituted”) for its actual value. Substitution
is an excellent way for a designer to create dynamic content without the help of a developer.
Substitution is available wherever the substitution button appears, including:
Dynamically configured Java class names or URIs
Log entry values (not names)
Within the set UID section
Element settings
VoiceXML property values (not names)
Audio file URIs, TTS backup content, Say It Smart input data, audio path, fileset, and
Log entry values (not names)
Within the set UID section
Element settings
VoiceXML property values (not names)
Audio file URIs, TTS backup content, Say It Smart input data, audio path, fileset, and
audio types
Custom Element and Session data values (not names)
Application Transfer destinations
VoiceXML Insert source URI
Standard Action and Decision element Java class names or URIs
Application Transfer destinations
VoiceXML Insert source URI
Standard Action and Decision element Java class names or URIs
When a configuration option allows substitution, the substitution button becomes clickable.
Clicking on this button brings up a dialog box providing all substitution options and a text box
where the value can be assembled out of substitution tags.
Clicking on this button brings up a dialog box providing all substitution options and a text box
where the value can be assembled out of substitution tags.
When substitution is chosen and the appropriate data entered, clicking Add Tag will add the tag
to the value. You can continue to add additional substitution tags or static content by typing into
the text box. All static content will be concatenated with the substitution tags at runtime to yield
the final value of the configuration option. Substitutions tags are simply open and close braces
encapsulating a unique keyword identifying the data it represents.
to the value. You can continue to add additional substitution tags or static content by typing into
the text box. All static content will be concatenated with the substitution tags at runtime to yield
the final value of the configuration option. Substitutions tags are simply open and close braces
encapsulating a unique keyword identifying the data it represents.
If data represented by the tag ends up as null or empty, it will be rendered as an empty string and
a warning will be added to the VoiceXML Server Error Log.
a warning will be added to the VoiceXML Server Error Log.
For example, if a setting contains
source = {CallData.SOURCE}
and there is no application
that transferred to the current application, the setting would be evaluated as
source =
.