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

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

Look up column saving as blank in Dataverse table

(0) ShareShare
ReportReport
Posted on by
I am trying to save an entity in Dataverse table that has a look up column in it. All the fields are getting saved except the look up column. Below is the syntax I am using to save it:
 
"sp_HotelCode@odata.bind": `/sp_hotelses(${formData.hotelId})`
I have already made sure below things:
 
  • sp_HotelCode is the schema name for the column in Dataverse and I am aware that this name is case sensitive.
  • sp_hotelses is the entity set name for the table with which the look up column has relationship with.
  • formData.hotelId contains the GUID which is the primary key in the Hotels table (sp_hotelses).
  • Correct relationship is also established between two tables in Dataverse.
Is there sonmething else that I am missing because of which the look up column is saved blank.
Categories:
I have the same question (0)
  • Michael E. Gernaey Profile Picture
    52,851 Super User 2025 Season 2 on at
    Look up column saving as blank in Dataverse table
     
    If its not being set, then verify the GUID you are putting in by looking at your code or the flow.
     
    /sp_hotelses(formData.hotelId)
     The above is the correct syntax assuming sp_hotelses is the correct spelling etc and is the pural
     
    And as long as hotelId is a Guid
     
    Then you should grab the guid and then manually go into the Table (sp_hotelses) and verify such a GUID exists.
     
    I am betting it does not, so it makes it blank in your parent table you are inserting into
     
     

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

Coming soon: forum hierarchy changes

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 803 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 314 Super User 2025 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 253 Super User 2025 Season 2

Last 30 days Overall leaderboard