Skip to main content

Notifications

Power Automate - Building Flows
Answered

SharePoint online list image column is not returning the data

(0) ShareShare
ReportReport
Posted on by 46
Hello all,
I need get data of image colum in sharepoint list online, but when use HTTP request don't show the completed information.
i need get "
serverRelativeUrl,
serverUrl
 
 
 
 
 
{
  "d": {
    "image""{\"fileName\":\"Reserved_ImageAttachment_[5]_[image][37]_[_63385f5a-acb8-4805-b6ed-0cab9d023ea6][1]_[1].jpg\"}"
  }
}
But in other list is OK. so i don't know what happen. I created other list but the problem continuous.
 
Is error in the flow or in the list SP?
  • Verified answer
    Meekou Profile Picture
    Meekou 164 on at
    SharePoint online list image column is not returning the data
    For your issue, it is caused by that when creating list, the attachment column is enabled by default, and for Image column, it will save the image file in the attachments.
    There are two options for you:
    1. Disable attachment column by List settings->Advanced settings->Attachments->Attachments to list items->Disabled
    Note, it will delete all existing attachments.
    2. Trying to accessing the image by building url with attachment path, for such result from api
    {"fileName":"Reserved_ImageAttachment_[5]_[Photo][5]_[XX][2]_[10].png"}
    You can try url like
    https://meekou365.sharepoint.com/sites/MeekouCenter/Lists/Leave/Attachments/1/Reserved_ImageAttachment_[5]_[Photo][5]_[%E7%B1%B3%E5%8F%AF%E7%88%B1%E5%88%86%E4%BA%AB][2]_[10].png
    Replace the base url and 1 is the id for item.
    Best Regards,
    Meekou
     
     
  • angeldiaz96 Profile Picture
    angeldiaz96 46 on at
    SharePoint online list image column is not returning the data
     
    I tried but don't work
     
     
  • Suggested answer
    SudeepGhatakNZ Profile Picture
    SudeepGhatakNZ 14,231 on at
    SharePoint online list image column is not returning the data
    To get the full image data (including serverRelativeUrl and serverUrl) from an image column in a SharePoint Online list using an HTTP request, you need to ensure that you are fetching the correct metadata associated with the image.
     
    Try this end point
    https://<your-tenant>.sharepoint.com/_api/web/lists/getbytitle('<list-name>')/items(<item-id>)?$select=Title,Image&$expand=Image
     

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,691

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 65,019

Leaderboard