Open iMicknl opened 3 years ago
Hello @iMicknl - we'll investigate where authoring support is at for this type.
@sangwoohaan do you recall previous discussions about these actions and how to author imBack and the like? We can connect offline.
Thanks! This is currently blocking us in a PVA scenario, where we use Composer to output a HeroCard with buttons. We would prefer a different postback/imback for the buttons, so we can easily trigger the right dialog.
If this is not supported yet, it would be good to change the documentation for now, and we would have a look at an AdaptiveCard to unblock this.
Apparently cardActionTemplate
is defined in common.en-us.lg
in this sample, see:
https://github.com/microsoft/BotFramework-Composer/blob/2b224daf513ad46c57c98403a23fcea4fd5436f3/extensions/samples/assets/projects/RespondingWithCardsSample/language-generation/en-us/common.en-us.lg#L41-L47
For now, I was be able to unblock my scenario. However for other customers/partners it would be good to have this improved in the documentation. Currently all documentation and samples use cardActionTemplate
, which is not available by default in all projects.
Great feedback @iMicknl
I'll transfer this issue to another project to discuss including this template as part of a package of utility templates made available to install into a Composer solution.
cc @clearab
Thanks @cwhitten. This documentation needs to be updated eventually. Do I need to create an issue there as well, for the short-term?
Describe the bug
Not sure if this should be reported here or in the dotnet runtime, but since it is documented on the composer docs https://docs.microsoft.com/en-us/composer/how-to-send-cards, I will report it here.
cardActionTemplate is documented for the HeroCard, but doesn't work in Composer 1.3.1. Currently I am only able to use plain text buttons, where I would need to use a
imback
with a different payload than the button.Version
1.3.1
Browser
OS
To Reproduce
Steps to reproduce the behavior:
Expected behavior
cardActionTemplate
to work, or a different function to add thisimback
/postback
.Screenshots
Additional context