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 / Saving a SharePoint Li...
Power Automate
Answered

Saving a SharePoint List Image Column to a 2nd SharePoint List Image Column?

(0) ShareShare
ReportReport
Posted on by 134
I am building a Flow to Get Items from a SP list per a filter query, then use an SP HTTP Request to retrieve one image. I am very close and in the 'Compose FileName' action, the output is a JSON object (see code snippet below).
{
  "fileName": "Reserved_ImageAttachment_[14]_[CaseLabelImage][36]_[7823efb7-f571-4428-90df-a3a48a5cf219][1]_[3].png"
}
I have tried the code snippet below for the Compose URL action but the output is just domain.com. 
concat(
    'https://domain.sharepoint.com',
    json(body('Send_an_HTTP_request_to_SharePoint')?['value'][0]?['CaseLabelImage'])?['ServerRelativeUrl']
)

What is the next step to locate the image URL to save to the 2nd SP list?


Categories:
  • Suggested answer
    Gopala_Krishna Profile Picture
    1,495 on at
    There seems to be a problem with the JSON expression being utilized, Can you add this JSON expression into an independent compose action to check if it returns a valid output
     
    json(body('Send_an_HTTP_request_to_SharePoint')?['value'][0]?['CaseLabelImage'])?['ServerRelativeUrl']
  • Verified answer
    zoso2112 Profile Picture
    134 on at
    @Gopala_Krishna - Thank you for your response. I finally got it working by updating the 'Compose FileName' action to the code you recommended minus the ['ServerRelativeUrl'] part.
    json(body('Send_an_HTTP_request_to_SharePoint')?['value'][0]?['CaseLabelImage'])

    Then I updated the 'Compose URL' action to the code below.
    json(body('Send_an_HTTP_request_to_SharePoint')?['value'][0]?['CaseLabelImage'])?['fileName']
    Thank you for helping me arrive at the solution!

     

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 275 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 235

#3
David_MA Profile Picture

David_MA 178 Super User 2026 Season 2

Last 30 days Overall leaderboard