[Teams] [No image icon displayed on buttons]
See original GitHub issuePlatform
Microsoft Teams Integration
Author or host
Microsoft Teams Client
Version of SDK
SDK Version 1.2
Details
Version
Bot framework : v3 Adaptive Cards : 1.0
Describe the bug
I am sending an adaptive card to a teams chat via bot. The card has two Open Url Action buttons. Both the action buttons have their iconUrl property set to valid Uri.
The card is rendered perfectly in web-chat, where both the action buttons contain icon before the text. But in Teams chat, the buttons only contain text and no icon.
To Reproduce
Steps to reproduce the behavior:
- Open App Studio > Card Editor in Teams client
- Use the following JSON in card editor
{ "type": "AdaptiveCard", "body": [], "$schema": "http://adaptivecards.io/schemas/adaptive-card.json", "version": "1.0", "actions": [ { "type": "Action.OpenUrl", "title": "Email", "url": "mailto:yogeshhindoliya@hotmail.com", "iconUrl": "https://cdn4.iconfinder.com/data/icons/logos-and-brands/512/243_Outlook_logo-128.png" }, { "type": "Action.OpenUrl", "title": "Chat", "url": "mailto:yogeshhindoliya@hotmail.com", "iconUrl": "https://cdn.iconscout.com/icon/free/png-256/teams-1411850-1194339.png" } ] }
- Click on “Send me this Card”
The Json above is sanitised, I am actually using Uri from my blob storage with public access.
Expected behavior
I would expect a card to be sent to me with two buttons. First button ith outlook icon and the second one with teams icon in it as shown in the live-preview on card-editor
##Additional Info The card designer on adaptivecards.io also renders the action buttons with icon in preview mode, so I would expect the same behaviour in chat window.
Screenshots
-
Live-Preview in card editor
-
Card received in Teams Chat window (shows no icon)
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:5 (2 by maintainers)
Top GitHub Comments
Hi @HindoliyaYogesh, we’ve filed a separated issue to track updating Teams to v1.2 #3480
Please go ahead and subscribe to that issue to be notified when Teams has updated
If you’re seeing other issues please reopen and let us know
Hi Team,
Any update on this ? Could you please confirm by when release can happen in teams ?
Thanks