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
107
and filesets, as well as a list of the audio files each one needs to be recorded to render each of its
filesets.
filesets.
The Data Tab
All elements, using the Unified CVP SDK, can create element and session data that can be
accessed later in the call. Most configurable elements do this to store data captured from the
caller or calculated. The designer does not need to worry about this because the configurable
element automatically produces the element or session data. There are times, however, when the
designer wishes to manually create element or session data without having to resort to the
Unified CVP SDK. This is possible by using the Data tab found on any configurable element’s
configuration pane.
accessed later in the call. Most configurable elements do this to store data captured from the
caller or calculated. The designer does not need to worry about this because the configurable
element automatically produces the element or session data. There are times, however, when the
designer wishes to manually create element or session data without having to resort to the
Unified CVP SDK. This is possible by using the Data tab found on any configurable element’s
configuration pane.
Any number of element and session variables can be created. The left column contains a list of
all custom element data variables created and the right column contains all the custom session
data variables. The variables can be edited and deleted by selecting them, making the desired
changes, and clicking on the appropriate buttons.
all custom element data variables created and the right column contains all the custom session
data variables. The variables can be edited and deleted by selecting them, making the desired
changes, and clicking on the appropriate buttons.
There are several situations where the Data tab has its uses. One can use hardcoded variables set
in an element’s Data tab to allow a non-developer to control parts of the application where code
would normally be needed. For example, a developer could design an element to get information
on a database to come from session data that is manually entered in an element’s Data tab so a
non-developer can alter it. Another situation would be to take advantage of substitution by
creating derivative variables or even modifying the element’s own variables. For example, a
variable can be created to take the value of another variable that contains a floating point value
and prepend a dollar sign to it.
in an element’s Data tab to allow a non-developer to control parts of the application where code
would normally be needed. For example, a developer could design an element to get information
on a database to come from session data that is manually entered in an element’s Data tab so a
non-developer can alter it. Another situation would be to take advantage of substitution by
creating derivative variables or even modifying the element’s own variables. For example, a
variable can be created to take the value of another variable that contains a floating point value
and prepend a dollar sign to it.
The most common use of the Data tab is when an element is skipped. Refer to the section on
skipping elements for more information.
skipping elements for more information.
Creating Element Data
To create element data, select the radio button labeled Element, enter the desired name and value,
choose the data type, and select when the variable is to be created. Note that the value can
choose the data type, and select when the variable is to be created. Note that the value can