Forum Discussion
Unable to reach app - Adaptive Cards
Lycius - Could you please share the adaptive card JSON so that we can try it out once from our end?
Prasad_Das-MSFT Here is a copy of the adaptive card. The Update Message is not an adaptive card itself just "@{variables('StrClientName')}'s @{variables('StrFormName')} was handled."
{
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"type": "AdaptiveCard",
"version": "1.2",
"body": [
{
"type": "TextBlock",
"text": "A Form was Submitted",
"id": "Title",
"spacing": "Medium",
"horizontalAlignment": "Center",
"size": "ExtraLarge",
"weight": "Bolder",
"color": "Accent"
},
{
"type": "TextBlock",
"text": "Received at @{body('Convert_time_zone')}",
"id": "acHeaderTagLine",
"separator": true
},
{
"type": "TextBlock",
"weight": "Bolder",
"size": "Large",
"spacing": "None",
"id": "acHeader",
"text": "Information Below"
},
{
"type": "TextBlock",
"text": "@{outputs('Get_@mention_token_for_Type_1_Notifications')?['body/atMention']}",
"wrap": true,
"id": "txtMention"
},
{
"type": "TextBlock",
"text": "@{variables('StrClientName')} submitted the @{variables('StrFormName')}",
"id": "acDetails",
"wrap": true
},
{
"type": "TextBlock",
"text": "Has the associated task been complete?",
"id": "acQuestion",
"weight": "Bolder"
},
{
"type": "ActionSet",
"actions": [
{
"type": "Action.Submit",
"id": "butSubmit",
"title": "Yes, I have completed any associated tasks."
}
]
}
]
}
- Prasad_Das-MSFTFeb 07, 2022
Microsoft
Lycius - We have tried to repro the issue with the JSON provided, but it worked for us. We didn't get any error message. Please try to update MS Teams version and check if it helps.
Thanks,
Prasad Das
---------------------------------------------------------------------
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.
- ChetanSharma-msftFeb 08, 2022
Microsoft
Lycius - Could you please confirm if your issue has resolved with above suggestion or still looking for any help?- LyciusFeb 08, 2022Copper Contributor
ChetanSharma-msft Definitely still happening. We had one not work just now.