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 columns are not...
Power Apps
Answered

Lookup columns are not set when creating new record in SharePoint Online

(0) ShareShare
ReportReport
Posted on by 44

Hi!

 

I have a weird issue. I've created two pages, one is saving data to one SharePoint Online list, the other one to second. Each of those lists have lookup columns. However in my forms I have replaced the native drop-down fields with combo fields.

 

When I am creating a new record using the first form, in webdeveloper console I see that it is sending a request to SharePoint actually setting the lookup column:

 

2018-07-08_00h04_33.png

 

This control is created using a Combo Box.

 

Now, the second form, which has 5 lookups, is not setting them and when viewing the request using web developer I see, that it is actually not sending the proper datatype, but simply and ID of a selected record. Moreover, not for every field (even if a combo box has a value selected, it is not reflected when submitting the form):

 

2018-07-08_00h12_34.png

 

Does anyone have faced such behavior? Do you know what is a reason? How it can be resolved?

 

Regards,

Tomasz

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

    Hi @TPoszytek,

     

    Can you share mode detailed configuration of these combo boxes? What is the Item property of combo boxes? And I guess that you use the Patch formula to update record, would you please share this formula too? Also, in the combo box control, what is the column type of the Lookup source list?

     

    Regards,

    Mona

  • Verified answer
    TPoszytek Profile Picture
    44 on at

    Hi, thanks for a fast response.

     

    I currently make a workaround, I have added a regular lookup fields, that are present in a data source to the form and set them to have a default value, eg.:

     

    {'@odata.type':"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference",
    Id: DataCardValue289_1.Selected.ID, Value: Text(DataCardValue289_1.Selected.ID) }

    It works like a charm.

     

    Regarding your question: 

    1. No, I am not using Patch function. I am using a regular form and submit function.
    2. Column types is always Text.
    3. Items property of Combo boxes is set to a specific datasource, which is a single SharePoint list (different for each combo box).
    4. Regarding the configuration, see below two screenshots - first of a DataCard, the second one of the combo box itself. Each pair is configured the same way, only the fields and data sources are different:

     DataCardDataCard      Combo boxCombo box

     

    Best regards,

    Tomasz

     

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 July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 345 Most Valuable Professional

#2
11manish Profile Picture

11manish 207 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 177

Last 30 days Overall leaderboard