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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

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.

Users online (1,154)