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 combobox field ...
Power Apps
Unanswered

LookUp combobox field not saving to SharePoint

(0) ShareShare
ReportReport
Posted on by 11

I'm hoping someone can help me!

 

I have an a app that is tied to two SharePoint Lists

 

'Test Readiness' List:

  • ProjectNumber
  • ProjectDescription
  • ProjectType
  • Work Instructions (this is a lookup combobox to my WIs list. This combobox allows multiple choices and the search column is the title one)

My 'WIs' SP List columns:

  • Title
  • Name of WI
  • SUbsection

 

I have a new form save button, But i cant figure what form of patch should i use. I have this one but is obviously not working

 

Patch(
 'Test Readiness',
 Defaults('Test Readiness'),
 { 'Work Instructions':DataCardValue27.Selected.Títle})

 

Datacardvalue27 is the name of the datacard from the combobox. What would be the solution?

Thanks in advance

 

 

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    155,352 Most Valuable Professional on at

    Hi @TRCReliability ,

    Assuming the Title field is the one being looked up in WIs

    Patch(
     'Test Readiness',
     Defaults('Test Readiness'),
     {
     'Work Instructions':
     { 
     Value: DataCardValue27.Selected.Títle,
     Id: 
     LookUp(
     WIs,
     Title = DataCardValue27.Selected.Títle
     ).ID
     }
     }
    )

    but I am wondering why you are using a Lookup column then not simply using in the Items

    Choices([@'Test Readiness'].'Work Instructions')

    then your Patched value would simply be

    DataCardValue27.Selected

    or better still drop the lookup column for a Text field and simply Patch

    DataCardValue27.Selected.Title

    back to it.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

     

  • BhargavPatel Profile Picture
    660 Moderator on at

    Try this:

    Patch(
     'Test Readiness',
     Defaults('Test Readiness'),
     { 'Work Instructions':LookUp(WIs,ID = DataCardValue27.Selected.ID)})
  • TRCReliability Profile Picture
    11 on at

    It gives me the error:

    "expected type Table, found type Record"

  • TRCReliability Profile Picture
    11 on at

     

    If i use this on my items property 

    Choices([@'Test Readiness'].'Work Instructions')

     then using in my patch formula

    DataCardValue27.Selected

     

    It gives me the error:

    "expected type Table, found type Record"

  • WarrenBelz Profile Picture
    155,352 Most Valuable Professional on at

    Hi @TRCReliability ,

    Either your field is multi value and your combo box single selection or the reverse.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 834

#2
Valantis Profile Picture

Valantis 533

#3
Haque Profile Picture

Haque 410

Last 30 days Overall leaderboard