web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Sharepoint Image column
Power Automate
Answered

Sharepoint Image column

(0) ShareShare
ReportReport
Posted on by 334

I Do have a flow that makes a copy of 2 SP-lists including the image column.

This works fine, except when I do use the list in a powerapp.

Using environment variables or straight to the list the images of the copy do not show up.

 

What I do in the flow is Get Item (in an apply to each loop for the whole list).

Send an GET HTTP to the SP site _api/lists/getbytitle('SourceListname')/items(@{outputs('Get_item')?['body/ID']})/Foto

 

When body is not 'null'

I do parse the return json. to get the fileidentifier.

FileID received I can get the FileContent

 

The Filecontent I Do use to get the filename and the Base64tobinary content.

Next I create  a File in the SiteAssets/list/<ClonedListGUID> using the FileName and Base64tobinary content.

After creation of the file I use an HTTP Post To the ClonedList: _api/lists/getbytitle('ClonedList')/items

headers content-type and accept = "application/json;odata=verbose"

Body:

{
"__metadata": {
"type": "SP.Data.ClonedListListItem"
},
"Title": "@{outputs('Get_item')?['body/Title']}",
"Foto": "{\"type\":\"thumbnail\",\"fileName\":\"@{outputs('Compose_filename')}\",\"fieldName\":\"Foto\",\"serverUrl\":\"https://domain.sharepoint.com\",\"serverRelativeUrl\":\"/sites/VPP/CentralMag/siteassets/Lists/@{variables('Listnumber')}/@{outputs('Compose_filename')}\"}"
}

 

I use a parse Json of the return to get the SP Listitem so I can fully update the other columns.

 

Like I said it seemed that it worked but in an powerapp the images are not showing up like they do in SharepointList:

 

Vitss_0-1700147429374.png

 

any suggestions anyone?

 

 

 

 

 

 

 

Categories:
  • Verified answer
    Vitss Profile Picture
    334 on at

    found the solution:

    adding 

    \"id\":\"@{variables('tag')}\"

    to the posted json.

    the tag is the guid within the etag of the created file.

     

    body is like:

    {
    "__metadata": {
    "type": "SP.Data.ClonedListListItem"
    },
    "Title": "@{outputs('Get_item')?['body/Title']}",
    "Foto": "{\"type\":\"thumbnail\",\"fileName\":\"@{outputs('Compose_filename')}\",\"fieldName\":\"Foto\",\"serverUrl\":\"https://domain.sharepoint.com\",\"serverRelativeUrl\":\"/sites/VPP/CentralMag/siteassets/Lists/@{variables('Listnumber')}/@{outputs('Compose_filename')}\"\"id\":\"@{variables('tag')}\"}"
    }

     

  • ahmednaseem Profile Picture
    on at

    Did anyone have noticed that the out put for the image column has changed recently and 

    {\"fileName\":xxx} only? This has broken my flow and trying to solve this issue.
  • Vitss Profile Picture
    334 on at

    ot encountererd this problem yet.

  • jefmeyer Profile Picture
    166 on at

    @ahmednaseem - yes, we're noticing this change as well.  Have you found any details about this change or a good workaround?

  • ahmednaseem Profile Picture
    on at

    @jefmeyer yes I found the solution, there is change how the images are saved in columns now. So change to this schema.

     

    /Lists/Site/attachments/<ID>/<FileName>

      

    check this thread for explanations.

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 298 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 289

#3
Henil Profile Picture

Henil 125

Last 30 days Overall leaderboard