Closed AndyAtSaxComputeLtd closed 5 months ago
From what I see if you copy:
It will give you error as you describe it, if you select just this:
It will copy it correctly to outlook, the content and nothing else.
I am not sure this is fixable because it acts the same when you copy paste it into Notepad. It also acts the same if you click on three dots and do Copy Link and paste it into Outlook. It seems to be trying to use Adaptive Cards in Outlook. Outlook as far as I know supports adapctive cards in it's own way
But the contentType is different:
{
"type": "AdaptiveCard",
"version": "1.0",
"body": [
{
"type": "TextBlock",
"text": "Visit the Outlook Dev Portal",
"size": "large"
},
{
"type": "TextBlock",
"text": "Click **Learn More** to learn more about Actionable Messages!"
},
{
"type": "Input.Text",
"id": "feedbackText",
"placeholder": "Let us know what you think about Actionable Messages"
}
],
"actions": [
{
"type": "Action.Http",
"title": "Send Feedback",
"method": "POST",
"url": "https://...",
"body": "{{feedbackText.value}}"
},
{
"type": "Action.OpenUrl",
"title": "Learn More",
"url": "https://learn.microsoft.com/outlook/actionable-messages"
}
]
}
So delivery mechanism changes and most likely due to the Type "Message" it's getting treated that way.
the JSON I supplied cam from your tooling though. I will try the JSON you supplied
After posting a card, successfully, we have found 2 issues.
Issues 1. copying the link and pasting into email, teams message of RTF doc gives text [DevOps: Card - access it on https://go.skype.com/cards.unsupported. Card] (http://somewebsite.com) - NB the link works despite ugly text.
After research I used the returnJson option and added summary field fixed this somewhat but now what ever you put in the summary is repeated like this: DevOps: hellohello when summary was "hello"
I exported the Json:-