Re: Dynamic images from SharePoint list within an Adaptative Card
Hi Michael,
Thank you for taking the time to respond. Excuse me for the tardy response to your reply.
I am happy to do just a review of the thumbnail.
This is my code below:
{
"type": "AdaptiveCard",
"msteams": {
"width": "Full"
},
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"version": "1.5",
"body": [
{
"type": "TextBlock",
"text": "Flash Alert ID @{items('Apply_to_each')?['ID']} - @{items('Apply_to_each')?['Title']}",
"wrap": true,
"size": "ExtraLarge",
"color": "Accent"
},
{
"type": "TextBlock",
"text": "Please review the flash alert below. A second card will follow with editing & distribution options.",
"wrap": true
},
{
"type": "Image",
"url": "${$root}"
},
{
"type": "TextBlock",
"text": "Project Details",
"wrap": true,
"weight": "Default",
"color": "Default",
"id": "alertParticulars",
"size": "Small",
"isSubtle": true
},
{
"type": "FactSet",
"facts": [
{
"title": "BU",
"value": "@{items('Apply_to_each')?['field_0/Value']}"
},
{
"title": "LOB",
"value": "@{items('Apply_to_each')?['field_1/Value']}"
},
{
"title": "Project",
"value": "@{items('Apply_to_each')?['field_2/Value']}"
},
{
"title": "Reported By",
"value": "@{items('Apply_to_each')?['field_9']}"
}
]
}
]
}
My problem is, how do i refer to Photo1 field? from my Sharepoint list and show a thumbnail?