
Announcements
Hi,
Having an issue that I think is a bug with how Actionable Messages are rendered in outlook.
When I have a card with multiple Action.Showcard actions defined, everything works as expected and you get two buttons that can show and hide other content.
If only one Action.Showcard is defined, the button is not being show, only the content within the "card" definition. This is not expected behaviour as in Actionable Messages Designer (amdesigner.azurewebsites.net), it renders the single button correctly.
In Designer:
Same exact definition in Outlook (its only the content, no button):
This is using the following block of JSON, within the main Adaptive Card definition:
{
"items": [
{
"actions": [
{
"card": {
"type": "AdaptiveCard",
"version": "1.2",
"padding": "None",
"body": [
{
"isMultiline": true,
"placeholder": "Comments",
"id": "CompleteCommentBox",
"type": "Input.Text"
},
{
"actions": [
{
"method": "POST",
"url": "[REMOVED FOR PRIVACY REASONS]",
"headers": [
{
"name": "Authorization",
"value": ""
},
{
"name": "Content-Type",
"value": "application/json"
}
],
"body": "",
"title": "Submit",
"isPrimary": false,
"type": "Action.Http"
}
],
"type": "ActionSet"
}
],
"autoInvokeAction": null,
"autoInvokeOptions": null,
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json"
},
"title": "Complete",
"isPrimary": false,
"type": "Action.ShowCard",
"style": "positive"
}
],
"spacing": "none",
"type": "ActionSet"
}
],
"padding": "Small",
"id": "AdaptiveCardOutcomes",
"spacing": "none",
"type": "Container"
}
This topic had the same issue:
Adaptive card not displaying action button Show Ca... - Power Platform Community (microsoft.com)
Would be great to get some feedback on this.
Thank you for your time 👍