Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Adaptive Card Templating #6477

Open
14 tasks
dmvtech opened this issue Mar 1, 2022 · 1 comment
Open
14 tasks

Support for Adaptive Card Templating #6477

dmvtech opened this issue Mar 1, 2022 · 1 comment
Labels
feature-request A request for new functionality or an enhancement to an existing one. needs-triage The issue has just been created and it has not been reviewed by the team.

Comments

@dmvtech
Copy link
Collaborator

dmvtech commented Mar 1, 2022

Issue

It does not appear that the SDK (and Directline/Webchat) support Adaptive Card Templating.

Using sample 16 and sending the card below, it does not render in Emulator/Webchat/Teams.

{
  "type": "AdaptiveCard",
  "body": [
    {
      "type": "FactSet",
      "facts": [
        {
          "$data": [
            {
              "key": "1",
              "value": "first value"
            },
            {
              "key": "2",
              "value": "second value"
            }
          ],
          "title": "${key}:",
          "value": "${value}"
        }
      ]
    }
  ],
  "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
  "version": "1.3"
}

image

Although, using the Designer and selecting "Bot Framework WebChat" host, it will render correctly (assuming it's just using a HTML renderer or something).
image

I am looking for confirmation that it is currently not supported/implemented as well as requesting comment on if this will be supported in the future of the SDK.

From what I can tell, it looks like templating is currently in preview.

This is separate from any issues with using Adaptive Expressions/LG along with Adaptive Card Templating.

Tracking Status

Dotnet SDK TODO

  • PR
  • Merged

Javascript SDK TODO

  • PR
  • Merged

Python SDK TODO

  • PR
  • Merged

Java SDK TODO

  • PR
  • Merged

Samples TODO

  • PR
  • Merged

Docs TODO

  • PR
  • Merged

Tools TODO

  • PR
  • Merged
@jamesemann
Copy link

Hi team, has there been any progress on this item? We have a customer who is impacted by this. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request A request for new functionality or an enhancement to an existing one. needs-triage The issue has just been created and it has not been reviewed by the team.
Projects
None yet
Development

No branches or pull requests

2 participants