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 Apps / LookUp Field not updat...
Power Apps
Answered

LookUp Field not updating i n sharepoint list

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

What am I missing? I'm not getting any errors. However, data is not updating in one of my SharePoint lists. Please see attached for screen captures and the details. 

 

Thank you!!

Categories:
I have the same question (0)
  • Verified answer
    v-yutliu-msft Profile Picture
    Microsoft Employee on at

    Hi @ttaylor ,

    Since you customize the lookup field's data card, you need to change its Update property.

    Try to set the data card's Update property:

    {'@odata.type':"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference",
     Id:OrgDropDown_5.Selected.ID,
     Value:OrgDropDown_5.Selected.Organization}

    LookUp field is a little complex. If you customize its Items property, you need to change its Update property too.

    Here's a issue about how to update lookup field for your reference:

    https://powerusers.microsoft.com/t5/Building-PowerApps-Formerly/How-to-patch-a-SharePoint-Lookup-Column/m-p/24094

     

     

    Best regards,

  • id013 Profile Picture
    30 on at

    Hi,

    So one drawback of this is now the required field doesn't work. I've tried setting the required field to true and but the field doesn't register as required unless I set the update field back to the original value of DataCardValuex.Selected. Is there a special way to code the required field if we use the above code for update?

  • V_Squall Profile Picture
    2 on at

    Hello,

     

    the DropDown.Selected.ID has the error that ID is not recognized. After Selected the only available attribute is the Sharepoint List.

    Can you please help, as I have the same issue.

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 Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 296 Most Valuable Professional

#2
11manish Profile Picture

11manish 224

#3
Valantis Profile Picture

Valantis 181

Last 30 days Overall leaderboard