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 Apps / Missing column when pa...
Power Apps
Unanswered

Missing column when patching collection to SharePoint (Column missing is from Distinct result record)

(0) ShareShare
ReportReport
Posted on by

Hi experts,

 

Noob here. I'm having a problem updating collection to my sharepoint. It able to patch column with data type Text and Value but not with the result.

 

My collection:

naifhanis92_0-1674122844588.png

 

All collection column able to be patched to SharePoint except column "TestMethod" and "Clause" which it is in column result (Because i use distinct function to make dependent choice)

naifhanis92_2-1674122975580.png

Another record (other than test method and clause) able to be patched nicely. By the way I'm using below to do collection (OnChange). I tried to put .Selected.Value and .Selected.result but there's an error.

naifhanis92_3-1674123068561.png

 

Below is the code to patch collection to SharePoint.

naifhanis92_4-1674123261675.png

 

Thanks all. If there are any other info i need to provide, will happily give you guys.

Categories:
I have the same question (0)
  • Verified answer
    WarrenBelz Profile Picture
    153,040 Most Valuable Professional on at

    Hi @naifhanis92 ,

    The issue here is that if you want to use the process of patching a collection directly to a list as you are, then every field in the collection has to exist in the list in both name and field type/structure, so you have to make the "foot fit the shoe" so to speak. So if you are patching to (for example) a Choice field, you need a Table field with the field name Value (not Result). You can use RenameColumns to do this when you originally put this into the collection. The other option is to Patch all the fields individually and "line up" the relevant values.

     

    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

     

     

  • naifhanis92 Profile Picture
    on at

    OMG thanks a lot @WarrenBelz 😭. I stuck here for more than 2 days trying "lot" of things to make that right. Thanks for the help, wishing a best time for you and your family!

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard