Forum Discussion
Chriag
May 22, 2023Copper Contributor
Adaptive card not rendering on Android mobile app
Schema: {
"contentType": "application/vnd.microsoft.card.adaptive",
"content": {
"version": "1.2",
"fallbackText": "Adaptive card version not supported",
"type": "AdaptiveCard",
"body": [
{
"type": "Container",
"items": [
{
"type": "ColumnSet",
"columns": [
{
"type": "Column",
"width": "auto",
"items": [
{
"type": "ImageSet",
"images": [
{
"type": "Image",
"size": "Small",
}
],
"imageSize": "Small"
}
]
},
{
"type": "Column",
"width": "auto",
"items": [
{
"type": "TextBlock",
"text": "TASKS 0/4",
"color": "Accent",
"weight": "Bolder",
"size": "ExtraLarge",
"fontType": "Default"
}
]
}
],
"horizontalAlignment": "Center"
},
{
"type": "ColumnSet",
"columns": [
{
"type": "Column",
"width": "stretch",
"items": [
{
"type": "Input.Toggle",
"title": "message",
"id": "ZDqYw-MLkUSSWuWurCikXmUAJaSM{tag}W/\"JzEtVGFzayAgQEBAQEBAQEBAQEBAQEBARCc=\"",
"value": false,
"wrap": true
}
]
},
{
"type": "Column",
"width": "stretch",
"items": [
{
"type": "TextBlock",
"text": "Fri May 26 2023",
"horizontalAlignment": "right",
"size": "small",
"color": "attention"
}
]
},
{
"type": "Column",
"width": "auto",
"items": [
{
"type": "TextBlock",
"text": "[Open](https://tasks.office.com/en-US/Home/Planner/#/plantaskboard?planId=QY6PLFiGNUebB2WLW3DPTWUACrpj&taskId=ZDqYw-MLkUSSWuWurCikXmUAJaSM)",
"horizontalAlignment": "right",
"size": "small",
"color": "attention"
}
]
}
]
},
{
"type": "ColumnSet",
"columns": [
{
"type": "Column",
"width": "stretch",
"items": [
{
"type": "Input.Toggle",
"title": "test",
"id": "upNcFv6ptEO3ZqMski5jQmUAE98E{tag}W/\"JzEtVGFzayAgQEBAQEBAQEBAQEBAQEBARCc=\"",
"value": false,
"wrap": true
}
]
},
{
"type": "Column",
"width": "stretch",
"items": [
{
"type": "TextBlock",
"text": "Thu May 18 2023",
"horizontalAlignment": "right",
"size": "small",
"color": "attention"
}
]
},
{
"type": "Column",
"width": "auto",
"items": [
{
"type": "TextBlock",
"text": "[Open](https://tasks.office.com/en-US/Home/Planner/#/plantaskboard?planId=QY6PLFiGNUebB2WLW3DPTWUACrpj&taskId=upNcFv6ptEO3ZqMski5jQmUAE98E)",
"horizontalAlignment": "right",
"size": "small",
"color": "attention"
}
]
}
]
},
{
"type": "ColumnSet",
"columns": [
{
"type": "Column",
"width": "stretch",
"items": [
{
"type": "Input.Toggle",
"title": "Test",
"id": "9qRaX3RWM0OqAZAvgaNl2WUAC1kV{tag}W/\"JzEtVGFzayAgQEBAQEBAQEBAQEBAQEBARCc=\"",
"value": false,
"wrap": true
}
]
},
{
"type": "Column",
"width": "stretch",
"items": [
{
"type": "TextBlock",
"text": "Thu May 18 2023",
"horizontalAlignment": "right",
"size": "small",
"color": "attention"
}
]
},
{
"type": "Column",
"width": "auto",
"items": [
{
"type": "TextBlock",
"text": "[Open](https://tasks.office.com/en-US/Home/Planner/#/plantaskboard?planId=QY6PLFiGNUebB2WLW3DPTWUACrpj&taskId=9qRaX3RWM0OqAZAvgaNl2WUAC1kV)",
"horizontalAlignment": "right",
"size": "small",
"color": "attention"
}
]
}
]
},
{
"type": "ColumnSet",
"columns": [
{
"type": "Column",
"width": "stretch",
"items": [
{
"type": "Input.Toggle",
"title": "chirag",
"id": "LufshElqiEW2-z5aOM_iQGUADuYT{tag}W/\"JzEtVGFzayAgQEBAQEBAQEBAQEBAQEBARCc=\"",
"value": false,
"wrap": true
}
]
},
{
"type": "Column",
"width": "stretch",
"items": [
{
"type": "TextBlock",
"text": "Thu May 18 2023",
"horizontalAlignment": "right",
"size": "small",
"color": "attention"
}
]
},
{
"type": "Column",
"width": "auto",
"items": [
{
"type": "TextBlock",
"text": "[Open](https://tasks.office.com/en-US/Home/Planner/#/plantaskboard?planId=QY6PLFiGNUebB2WLW3DPTWUACrpj&taskId=LufshElqiEW2-z5aOM_iQGUADuYT)",
"horizontalAlignment": "right",
"size": "small",
"color": "attention"
}
]
}
]
}
]
}
],
"actions": [
{
"type": "Action.Submit",
"title": "Mark as Done",
"id": "thissave",
"data": {
"doaction": "savetaskstatus",
"formid": "bf11935c-18c1-46595e2e"
}
},
{
"type": "Action.Submit",
"title": "Add Task",
"id": "thisadd",
"data": {
"doaction": "addnewtaskform",
"formid": "bf11935c-18c1-46595e2e"
}
},
{
"type": "Action.Submit",
"title": "Delete Selected",
"id": "thisadd",
"data": {
"doaction": "deletetaskstatus",
"formid": "bf11935c-18c1-46595e2e"
},
"style": "destructive"
}
]
},
"type": "AdaptiveCard",
"version": "1.2",
}
2 Replies
Sort By
- Meghana-MSFT
Microsoft
Thank you for reporting this, we will check this and get back to you.- Meghana-MSFT
Microsoft
Chriag - We tried this at our end. You have mentioned same value '"id": "thisadd"' for "Add Task" and "Delete Selected" buttons. Please change the id of Delete Selected buttons and the card will render on Android mobile as well. We tested and it worked properly.
"actions": [ { "type": "Action.Submit", "title": "Mark as Done", "id": "thissave", "data": { "doaction": "savetaskstatus", "formid": "bf11935c-18c1-46595e2e" } }, { "type": "Action.Submit", "title": "Add Task", "id": "thisadd", "data": { "doaction": "addnewtaskform", "formid": "bf11935c-18c1-46595e2e" } }, { "type": "Action.Submit", "title": "Delete Selected", "id": "thisdelete", "data": { "doaction": "deletetaskstatus", "formid": "bf11935c-18c1-46595e2e" }, "style": "destructive" } ]
Thanks,
Meghana
----------------------------------------------------------------------------------------------------------
If the response is helpful, please click "**Mark as Best Response**" and like it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.