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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Lookup column not disp...
Power Automate
Answered

Lookup column not displaying anything in SharePoint, despite holding value

(0) ShareShare
ReportReport
Posted on by 33
I have a lookup column that's referencing a document library. It displays the ID field. 
 
Despite a flow creating the item correctly, and putting in the ID, and it displaying the ID in an REST API Get call, it shows nothing in SharePoint. The NewDocID column is just a number column and updates correctly
 
 
Rest API call
 
I can manually select the ID if I edit the item.
 
 
The Rest API call output is identical after manually selecting it. 
 
I've even tried having a seperate flow to run once the item is created to update the Lookup ID via REST, but it still doesn't display in the list
 
 
Any ideas?
 
 
Categories:
I have the same question (0)
  • David_MA Profile Picture
    12,982 Super User 2025 Season 2 on at
    The first and easiest thing to try and resolve this issue is to wrap the SharePoint value in the body of the HTTP request within quotes.
  • Suggested answer
    stampcoin Profile Picture
    5,058 Super User 2025 Season 2 on at
    You can try this.
    Method: POST
    
    Uri: _api/web/lists/GetByTitle('<ListName>')/items(<ItemID>)/validateUpdateListItem
    
    Body:
    {
        "formValues":[
    	{
    	    "FieldName": "<FieldToUpdate>",
    	    "FieldValue": "<ValueToUpdate>"
    	}
        ]
    }
    Original article will help you :
  • smcdonald Profile Picture
    33 on at
    That looks like it's done something, because the ID appears in version history
     
     
    But it doesn't show in SharePoint.
     
     
     
    But I can select it
     
  • stampcoin Profile Picture
    5,058 Super User 2025 Season 2 on at
    Did a test on my side. works like a charm.
  • CU10061430-0 Profile Picture
    6 on at
    When creating SharePoint columns names, some are not it actual names you have provided it. 

    If you go to List, List Settings. 

    Column Visibility Setting within here you should see your column internal names try that column name for DocID. 
  • smcdonald Profile Picture
    33 on at
    Not working here. Bear in mind my Lookup column is displaying the ID number of the lookup list
     
     
    Does that make any difference?
     
  • stampcoin Profile Picture
    5,058 Super User 2025 Season 2 on at
    Your logic is odd.
    You try to assign a number column ( NewDocID)  to a lookup DocID.
    You have to make sure that NewDocID value exist in you Documents library.
    The FieldValue should be always from one of the ID from your Documents library.
  • smcdonald Profile Picture
    33 on at
    NewDocID only exists because I wanted to see if the actual number I'm trying to input into DocID was working. 
     
    Even putting in a manual number, which does exist in the lookup because I can manually select it by editing the item, it doesn't work
     
    {
      "formValues": [
        {
          "FieldName": "DocID",
          "FieldValue": "50"
        }
      ]
    }

     
  • Verified answer
    smcdonald Profile Picture
    33 on at
    I've got it working now, but I had to delete DocID and create a new one with a new name. 
     
    I think there was something wrong in the back end, because I've not changed the flow and it now works. 
     
    Thanks for your help. 
  • stampcoin Profile Picture
    5,058 Super User 2025 Season 2 on at
    Glad to hear that, Please mark this as answered, this is the way how we support the Author Tom Riha
    This case will also help the others , and lead them to visit the article.
    thanks for your understanding.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard