cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
inverse70
Frequent Visitor

Datacard value not saving to SharePoint List

Hi,

 

I have a Form spanning multiple screens saving to a single SharePoint list . To transition to each screen there is a "Next" buttton . On the last screen there is a "Submit" button that Patches each form (see code below) . However one particular Datacard on the first form is not saving.

 

Any ideas how I can troubleshoot why that field is not being written back to the SharePoint list?

 

Patch(
    THLForeignTravelRequest,
    Defaults(THLForeignTravelRequest),
    newTravelRequestForm_1.Updates,
    newTravelRequestForm_2.Updates,
    newTravelRequestForm_3.Updates
);

Thanks in advance

1 ACCEPTED SOLUTION

Accepted Solutions
v-yuxima-msft
Community Support
Community Support

Hi @inverse70 

 

Change your formual expression as this:

Patch(THLForeignTravelRequest,Defaults(THLForeignTravelRequest),newTravelRequestForm_1.Updates);
Patch( THLForeignTravelRequest, Defaults(THLForeignTravelRequest), newTravelRequestForm_2.Updates);
Patch(THLForeignTravelRequest,Defaults(THLForeignTravelRequest),newTravelRequestForm_3.Updates)

 

Best  Regards.

Yumia

View solution in original post

2 REPLIES 2
sutensera
Regular Visitor

Check if the data is being overwritten by any duplicate data cards on  your forms.

That could be your issue.

v-yuxima-msft
Community Support
Community Support

Hi @inverse70 

 

Change your formual expression as this:

Patch(THLForeignTravelRequest,Defaults(THLForeignTravelRequest),newTravelRequestForm_1.Updates);
Patch( THLForeignTravelRequest, Defaults(THLForeignTravelRequest), newTravelRequestForm_2.Updates);
Patch(THLForeignTravelRequest,Defaults(THLForeignTravelRequest),newTravelRequestForm_3.Updates)

 

Best  Regards.

Yumia

View solution in original post

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Users online (1,218)