We created 3 variables. Afterwards, I wrote the following in the question function properties with the adaptive card.
However, nothing appears on the screen and no value is entered in actionSubmitId. Is there any way to solve this?
Here is a sample that works - it should get you going:
kind: AdaptiveDialog
beginDialog:
kind: OnRecognizedIntent
id: main
intent:
triggerQueries:
- dynamic card
actions:
- kind: SetVariable
id: setVariable_iAxgu7
variable: Topic.testKeyword1
value: My Title
- kind: SendActivity
id: sendActivity_xX4y2P
activity:
attachments:
- kind: AdaptiveCardTemplate
cardContent: |-
={
type: "AdaptiveCard",
'$schema': "http://adaptivecards.io/schemas/adaptive-card.json",
version: "1.5",
body: [
{
type: "ActionSet",
actions: [
{
type: "Action.Submit",
title: Topic.testKeyword1
}
]
}
]
}