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 / Patch Error - Invalid ...
Power Apps
Unanswered

Patch Error - Invalid Argument Type (GUID). Expecting a Table Value Instead

(0) ShareShare
ReportReport
Posted on by 21

Hello,

I am trying to write data from a gallery to a Dataverse table. However, when I attempt to create a Patch formula to the table (titled "CHSMWL OPR Details' in this instance), it is giving me the error "Invalid argument type (GUID). Expecting a table value instead."

 

Below is the full argument I have set for my "Save as draft" button's OnSelect property. TIA.

 

 

Set(
 VarOPR,
 Patch(
 'CHSMWL OPRS',
 If(
 VarEditOPRMode = "New",
 Defaults('CHSMWL OPRS'),
 VarOPR
 ),
 {
 'Request Title': dcv_requesttitle,
 'OPR Requestor Name': dcv_RequestorName,
 'OPR Requestor Email Address': dcv_requestoremailaddress,
 'Requestor Command': dcv_requestorcommand,
 'Requestor Department': dcv_requestordepartment,
 'Merchant Name': dcv_merchantname,
 'Merchant Point of Contact': dcv_merchantPOC,
 'Merchant Phone Number': dcv_merchantphonenumber,
 'Merchant Web Address': dcv_merchantwebaddress,
 'Prohibited and Special Attention Item Screening': dcv_prohibitedscreening,
 'Split Requirement Screening': dcv_splitscreening,
 'Mandatory Sources of Supply Screening': dcv_sourceofsupplyscreening,
 'HAZMAT Screening': dcv_hazmatscreening,
 'IT Equipment Screening': dcv_itscreening,
 'Facilities Purchase Screening': dcv_facilitiesscreening,
 Justification: dcv_justfication,
 Quote: dcv_quote
 }
 )
);
RemoveIf(
 'CHSMWL OPR Details',
 'CHSMWL OPR'.'CHSMWL OPR' = VarOPR.'CHSMWL OPR'
);
ForAll(
 gal_createnew_itemizeddescription.AllItems,
 Patch('CHSMWL OPR Details',

 

 

Categories:
I have the same question (0)

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 329 Most Valuable Professional

#2
11manish Profile Picture

11manish 209 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 179

Last 30 days Overall leaderboard