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

Responding with cards sample no renderer for adaptive card #2709

Closed
timenick opened this issue Apr 20, 2020 · 2 comments
Closed

Responding with cards sample no renderer for adaptive card #2709

timenick opened this issue Apr 20, 2020 · 2 comments
Assignees
Labels
R9 Release 9 - May 15th, 2020 Type: Bug Something isn't working

Comments

@timenick
Copy link

Describe the bug

Choose adaptive card self, it works. But when you select all cards, the last card will show No renderer for this attachment.

Version

composer stable

Screenshots

image

image

@timenick timenick added Type: Bug Something isn't working Needs-triage A new issue that require triage labels Apr 20, 2020
@timenick timenick changed the title Responding with cards sample no render for adaptive card Responding with cards sample no renderer for adaptive card Apr 20, 2020
@Danieladu
Copy link
Contributor

change the AllCards template from

# AllCards
[Activity
    Attachments = ${HeroCard()} | ${ThumbnailCard()} | ${SigninCard()} | ${AnimationCard()} | ${VideoCard()} | ${AudioCard()} | ${AdaptiveCard()}
    AttachmentLayout = ${AttachmentLayoutType()}
]

to

# AllCards
[Activity
    Attachments = ${HeroCard()} | ${ThumbnailCard()} | ${SigninCard()} | ${AnimationCard()} | ${VideoCard()} | ${AudioCard()} | ${json(adaptivecardjson())}
    AttachmentLayout = ${AttachmentLayoutType()}
]

The reason is that, you can not insert an activity entity into the value of attachment property.

@hibrenda hibrenda added R9 Release 9 - May 15th, 2020 and removed Needs-triage A new issue that require triage labels Apr 22, 2020
@cwhitten cwhitten assigned cwhitten and unassigned zidaneymar Apr 23, 2020
@cwhitten
Copy link
Member

#2752

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
R9 Release 9 - May 15th, 2020 Type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants