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

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Apps Community Call

Monthly Power Apps Community Call

Did you miss the call?? Check out the Power Apps Community Call here!

secondImage

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (73,047)