0
votes

I'm using the AdaptiveCards package (1.2.3) in Bot Framework. I designed a fancy card and then I saw AdaptiveCards 1.2 is not supported (at least in Azure WebChat and the Emulator). WebChat message

There's plenty of useful features in the 1.2 package:

  • The bleed effect in containers and columns.
  • The ActionSet feature to display buttons anywhere on the card.
  • Being able to ToggleVisibility an element.
  • ...

Is there any chance that AdaptiveCards 1.2 will be supported anytime soon?

Anyways, I'm trying to work around the problem and get a similar result using the 1.1 version. I tried to simulate the bleed effect with the padding property (with no success), I'd also like to have actions in a separate column like so:

Actions in another column

Is there a way to achieve this in AdaptiveCards 1.1?

1

1 Answers

2
votes

There's no way to achieve what you want in Adaptive Cards 1.1.

Adaptive Cards 1.2 have been supported in Web Chat for some time. There is a problem with Direct Line that removes certain elements from Adaptive Cards but that should be fixed soon. In the meantime there is a workaround where you can change the content type to something other than application/vnd.microsoft.card.adaptive and then change it back again on the client side.

Adaptive Cards 1.2 have also been supported in Emulator for some time. Just make sure you have the latest version installed: https://github.com/microsoft/BotFramework-Emulator/releases