Replies: 1 comment
-
Sorry, figured it out. under the "common" Bot Responses section, just need to click on "Show Code", and notice the parameters which are required for the #cardActionTemplate ... which were missing when I pasted it in through the UI. #cardActionTemplate**(type, title, value)** |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there, I have an extremely silly question. How the heck do I allow URL linking in my CardAction buttons??
I have the following in the "common" Bot Responses, but keep getting an error on the "cardActionTemplate" from #DisplayHero saying that the number of parameters are invalid. WHAT AM I DOING WRONG?? :(
#cardActionTemplate
[CardAction
Type = ${if(type == null, 'imBack', type)}
Title = ${title}
Value = ${value}
Text = ${title}
]
#DisplayHero
[HeroCard
title = BotFramework Hero Card
subtitle = Microsoft Bot Framework
text = Build and connect intelligent bots to interact with your users naturally wherever they are, ...
image = https://sec.ch9.ms/ch9/7ff5/e07cfef0-aa3b-40bb-9baa-7c9ef8ff7ff5/buildreactionbotframework_960.jpg
buttons = ${cardActionTemplate("imBack", "Show more cards", "Show more cards")}
]
Beta Was this translation helpful? Give feedback.
All reactions