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 / 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:
I have the same question (0)
  • Ami K Profile Picture
    15,679 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

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