This video explains how to upload an image under a list image column data type?
HTTP Uri
_api/web/lists/getbytitle('Branch List')/items
content-type application/json;odata=verbose
accept application/json;odata=verbose
{
"__metadata": {
"type": "SP.Data.Branch_x0020_ListListItem"
},
"Title": "@{triggerOutputs()?['body/subject']}",
"Picture": "{\"type\":\"thumbnail\",\"fileName\":\"@{items('Apply_to_each')?['name']}\",\"fieldName\":\"Picture\",\"serverUrl\":\"spinhope.sharepoint.com\",\"serverRelativeUrl\":\"/siteassets/Lists/2f5798d0-d0a5-4574-a014-693797ea6989/@{items('Apply_to_each')?['name']}\"}"
}
Above Branch List is my SharePoint List
Image Column is called Picture
learn.microsoft.com/en-us/sha...
30 янв 2023