This is video shows you how to insert an image into the image column in a SharePoint List from Power Automate. The Image Column currently isn't visible / accessible in Power Automate. The work-around involves using the SharePoint Action for sending an HTTP request to SharePoint.
Code for the Sharepoint HTTP used in the video:
URI:
_api/web/lists/GetByTitle('*LISTNAME*')/items(*ID*)/ValidateUpdateListItem
HEADERS:
{
"Content-Type": "application/json;odata=verbose"
}
BODY:
{
"formValues": [
{
"FieldName": "ReceiptImage",
"FieldValue":"{\"type\":\"thumbnail\",\"fileName\":\"*FILENAME*\",\"nativeFile\":{},\"fieldName\":\"ReceiptImage\",\"serverUrl\":\"*SHAREPOINTURL*.sharepoint.com\",\"serverRelativeUrl\":\"*URL_FOR_IMAGE_ON_SHAREPOINT*\",\"id\":\"*ID_FROM_ETAG_FROM_IMAGE_FILE_ON_SHAREPOINT*\"}"
}
]
}
13 ноя 2020