Hello,
I am using flow to send a teams message through my channel when a new item added to our Sharepoint page. I created the flow everything works fine but images are not shown in the teams app. I see "undefined" on the picture area on the teams. Is this an access problem? When I try to put an external link other than sharepoint image link, it works like a charm.
Code is here
{
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"type": "AdaptiveCard",
"version": "1.0",
"body": [
{
"type": "ColumnSet",
"columns": [
{
"type": "Column",
"width": 2,
"items": [
{
"type": "TextBlock",
"text": "A New Post on Intranet Page:",
"size": "large",
"weight": "bolder"
},
{
"type": "TextBlock",
"text": "@{triggerBody()?['{Name}']}",
"size": "large",
"weight": "bolder"
},
{
"type": "TextBlock",
"text": "Category: @{triggerBody()?['Usage']?['Value']}",
"size": "medium",
"wrap": true,
"isSubtle": true,
"weight": "bolder"
},
{
"type": "TextBlock",
"text": "@{triggerBody()?['Summary']}",
"size": "medium",
"wrap": true,
"isSubtle": true
},
],
},
{
"type": "Column",
"width": 2,
"items": [
{
"type": "Image",
"url": "https://piworks.sharepoint.com@{triggerBody()?['ImageRelativePath']}",
"size": "auto"
}
]
}
]
}
],
"actions": [
{
"type": "Action.OpenUrl",
"title": "Open on Intranet",
"url": "https://piworks.sharepoint.com/sites/intranet/Pages/story-detail.aspx?itemId=@{triggerBody()?['ID']}"
}
]
}


Report
All responses (
Answers (