Renders the specified view for users.
input-view {
match: Person (candidates) {
from-output: FindPerson {
from-input: PersonName (name)
}
}
message {
macro (PERSON_SELECTION_PROMPT)
}
render {
selection-of (candidates) {
navigation-mode {
if ($handsFree) {
read-one {
with-navigation-conversation-drivers
list-summary {
macro (HANDS_FREE_PERSON_LIST_SUMMARY) {
param (name) {
if (exists(name)) {
expression (name)
}
}
}
}
page-content {
item-selection-question {
macro (HANDS_FREE_PERSON_ITEM_SELECTION_QUESTION)
}
overflow-statement {
macro (HANDS_FREE_PERSON_OVERFLOW_STATEMENT)
}
overflow-question {
macro (HANDS_FREE_PERSON_OVERFLOW_QUESTION)
}
underflow-statement {
macro (HANDS_FREE_PERSON_UNDERFLOW_STATEMENT)
}
}
}
}
}
where-each (candidate) {
macro (PERSON_SUMMARY) {
param (person) {
expression (candidate)
}
}
spoken-summary {
template ("#{value(candidate.name)}")
}
}
}
}
}
The $handsFree
EL variable should be checked within a read-many
or read-one
block, not outside it in the navigation-mode
or render
block of a view. When used directly in a navigation-mode
or render
, it will always evaluate to true
. This usage is deprecated.
auto-complete optional | Generates a full screen view of an interactive component that lets users browse content from a specified data range |
calendar optional | Generates a full-screen view of an interactive component that lets users select a date or a range of dates from a calendar |
date-picker optional | Generates a full-screen view of an interactive component that lets users select a date |
duration-picker optional | Generates a full-screen view of an interactive component that lets users select a duration of time |
image-picker optional | Generates a full-screen view of an interactive component that lets users select images |
form optional | Generates a view with editable fields using various interactive components for users to input information |
layout optional | Defines the layout of the given view |
layout-macro optional | Defines a layout or a portion of a layout with a macro |
layout-match optional | Defines a group view using an existing layout that matches on the specified value |
macro optional | Defines a layout, a portion of a layout, or a dialog with a macro |
selection-of optional | Generates a full-screen Selection List component that enables users to select one or more items in a given list using the selection-of key in input-view |
time-picker optional | Generates a full-screen view of an interactive component that lets users select a time |