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 / Invalid Argument Type....
Power Apps
Unanswered

Invalid Argument Type. Expecting a record value, but of different schema.

(0) ShareShare
ReportReport
Posted on by

Hello All,

 

I am having this error in my powerapps for patching my dropdown (kindly note that my dropdown is from another sharepoint list). I am not sure if I am having errors in my patch formula or my sharepoint column list, or both. Please help. 

 

Sharepoint Column: Company Name- Should I do choice or vlookup for this instead? My Company Name dropdown in PowerApps is from another sharepoint list I made specifically for Company details. 

CYEPLATA_0-1693402494440.png

 

My patch formula: 

 

Patch('GPRF Testing',Defaults('GPRF Testing'),

{

Title:ReqAli.Text, 'Company Name':{Value:CompanyName.Selected.Value}

}

)

 

The sharepoint list for Company Code Mapping:

CYEPLATA_1-1693402743466.png

 

Thanks. 

 

 

Categories:
  • Ami K Profile Picture
    15,689 Super User 2024 Season 1 on at

    @CYEPLATA ,

     

    As I understand it.

    You have two SharePoint Lists (List 1 and List 2).

    List 1 includes a Choice field type called "Company Name".

    List 2 also includes a field called Company Name - which I assume is a Single Line Text field.

    In your App, you have a Dropdown List which returns the Company Name field from List 2.

    You want to Patch the Company Name Choice field in List 1 with the dropdown selection.
    .

    Given the Company Name field in List 1 should be populated with selections from the dropdown, why make the Company Name field a Choice field, when you can simply make the Company Name field a Single Line Text field and then run your Patch on that field?

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 236 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 188 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 130

Last 30 days Overall leaderboard