Forum Discussion
BeauGP
Apr 17, 2020Copper Contributor
Adaptive Cards from Flow bot showing up blank in iOS
Hey there!
I've created a flow in Power Automate that, when a new item is created in a specific SharePoint list is created, it posts an adaptive card in a channel in Teams. The card includes a bunch of information from that list, a button link to edit the list item, and another button linking off to some related material. On desktop, each new item on the list creates a new card in the desktop app channel as expected.
However, on mobile, this happens:
I have the following at the top of my adaptive card:
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"type": "AdaptiveCard",
"version": "1.2",
Is it perhaps something with how I initialized it? (I will say that adaptive cards messaged to individual users by Flow bot seem to be working fine.)
This is my first post, so please let me know if I've been naughty and this belongs somewhere else. (I see a bug posting area in UserVoice and something called answers.microsoft.com and the difference between these three very similar-seeming areas unfortunately eludes me.)
- pbo-2Copper Contributor
Same issue here on Android 😞
- pbo-2Copper Contributor
I found the problem in my case:
{
"type": "Image",
"url": "{$root.mediaURL}"
}when the image URL is empty Teams on Android doesn't render the adaptive card.
- pbo-2Copper Contributor
Added as BUG: https://github.com/microsoft/AdaptiveCards/issues/4926
- KirilSteel Contributor
BeauGP Same problem on Android. The cards show in
This is my adaptive card code:
{ "$schema": "http://adaptivecards.io/schemas/adaptive-card.json", "version": "1.0" "type": "AdaptiveCard", "body": [ { "type": "TextBlock", "size": "Medium", "weight": "Bolder", "text": "Test title" }, { "type": "TextBlock", "text": "Another test", "wrap": true }, { "type": "FactSet", "facts": [ { "title": "Fact 1", "value": "Value 1" }, { "title": "Fact 2", "value": "Value 2" } ] }, { "type": "TextBlock", "text": "Second test", "wrap": true }, { "type": "FactSet", "facts": [ { "title": "Fact 1", "value": "Value 1" }, { "title": "Fact 2", "value": "Value 2" } ] } ], }