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:
I have the same question (0)
  • 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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 391

#2
11manish Profile Picture

11manish 276

#3
David_MA Profile Picture

David_MA 256 Super User 2026 Season 1

Last 30 days Overall leaderboard