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

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (6,625)