How to read from the Image column in sharepoint Online lists using RestAPI?

RS 21 Reputation points

In SP Online lists (modern experience), I've added a Image formatting and constraints for publishing column to the list (via site columns), it converted my modern list into classic. Also I am not able to read data from it. I always get

<m:error xmlns:m="">
<m:code>-1, Microsoft.SharePoint.SPException</m:code>
<m:message xml:lang="en-US">The field or property 'Image' does not exist.</m:message>

Does anyone know how to do it?

A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
6,085 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Jerryzy 10,301 Reputation points

    Hi @RS ,

    For "Image formatting and constraints for publishing column ", try the Rest API like this:'MyList3')/items(3)/FieldValuesAsHtml

    In my side, the column name is "MyImage" and this is the response:



    Sharepoint 2013 REST API limitations with site columns

    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    No comments