Provides convenient shortcuts to related actions. These shortcuts are shown as buttons at the bottom of a device's screen in the action zone.
If your capsule is on the Marketplace and you haven't used the result-view-capsule-lock
flag to opt out of capsule lock, conversation drivers in result views only display if the device itself also supports capsule lock. If you have opted out of capsule lock, conversation drivers in result views always display.
Learn more about Conversation Drivers.
result-view {
match: MemeTemplate(this)
render {
if (size(this) > 1) {
list-of (this) {
where-each (memeTemplate) {
macro (MemeTemplate_Summary) {
param (memeTemplate) {
expression (memeTemplate)
}
}
}
}
} else-if (size(this) == 1) {
layout-macro (MemeTemplate_Details) {
param (memeTemplate) {
expression (this)
}
}
}
}
conversation-drivers {
if (size(this) == 1) {
conversation-driver {
template (Make this meme)
}
}
}
}
result-view {
match: PlanetDistance (this) {
from-property: Planet (planet) {
min (Required)
max (One)
}
}
render {
layout-macro (planet-distance-macro) {
param (planet) {
expression (planet)
}
}
}
message {
template ("#{value(planet)} is #{value(this)} million miles from the sun.")
}
conversation-drivers {
conversation-driver {
template ("Show #{value(planet)}")
}
}
}
conversation-driver optional | A specific conversation driver |