cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Phineas
Post Prodigy
Post Prodigy

Error During Patch

I am getting the following error when I try to Patch the data to the SharePoint list.

 

Please advise.

 

The data is a combining from three combo boxes on the input screen (screen 1); only one of the three would have data put it is unknown which until user fills it out.

 

Each 'Review screen' (screen 2) combo box has a version of the following formula:

 

          Coalesce( PSMCatComCatComCB.SelectedItems.Result, PSMProProfCatComCB.SelectedItems.Result, PSMPurchGrpCatComCB.SelectedItems.Result) 

 

The data is making it from multiple Combo Boxes on Screen 1 to the single Combo Box on Screen 2.

 

However, when I try to Patch the data to the SharePoint list, I'm getting an error.

 

          Error:       "The requested operation is invalid. Server Response: Test List failed: Object must implement IConvertible..."

 

Patch( 'Test List',
Defaults('Test List'),
{Title: ReviewCompanyNameFLd_2.Text},
{CollectorName: User().FullName},
{DateOfEvent: ReviewDateOfEventDatePicker.SelectedDate},
{CompanyName: ReviewCompanyNameFLd_3.Text},
{PotentialClassification: ReviewPotentialClassificationCB_1.Selected.Value},
{PSMCategoryType: PSMReviewCategoryTypeFld.Text},
{PSMImmediateNeed: PSMReviewImmediateNeedCheckbox.Value},
{PSMCCCategoryCommodity: PSMReviewCatComCBFld},
{PSMCCPurchasingGroup: PSMReviewPurchGrpCBFld},
{PSMCCProcurementProfessional: PSMReviewProProfCBFld},
{SSMCategoryType: SSMReviewCategoryTypeCB.Text},
{SSMImmediateNeed: SSMReviewImmediateNeedCheckbox.Value},
{SSMCCCategoryCommodity: SSMReviewCatComCBFld},
{SSMCCPurchasingGroup: SSMReviewPurchGrpCBFld},
{SSMCCProcurementProfessional: SSMReviewProProfCBFld}
);

 

Phineas_0-1651157373859.png

 

 

0 REPLIES 0

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Power Apps Ideas

Changes to Ideas Coming

We are excited to announce a new way to share your ideas for Power Apps!

Top Solution Authors
Top Kudoed Authors
Users online (4,353)