cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ACS
Level: Power Up

Save data from 6 screens in one SharePoint List simultaneously

I want to update a SharePoint-List Item with a canvas-app Powerapp. The data is distributed on 6 different screens with each one form. All the data from all 6 forms should be updated on the last screen with just one button.

I tried using the Patch function on the OnSelect Property of the submit button:

Onboarding is my SharePoint-List

GeneralForm_HR and the other one are my Powerapp forms, where I insert the data to them uptade it on SharePoint

Patch(
        Onboarding;
        Defaults(Onboarding);
        GeneralForm_HR.Updates;
        WorkplaceForm_HR.Updates;
        SoftwareForm_HR.Updates;
        TelephonyFrom_HR.Updates;
        OtherForm_HR.Updates;
        AdministrationForm_HR.Updates);;

Using this function all the data will be saved in my Sharepoint-List, but it automatically creates a new completed item and the old Item remains unchanged. 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
lucia
Level 8

Re: Save data from 6 screens in one SharePoint List simultaneously

Hey,

 

if you want to create new item in your sharepoint list, that is when you use Default in your formula as a second argument. If you want to edit a particular item in your list on the second position you have to define it, either using LookUp function or ThisItem or variable where the item is saved.

 

Hope this helps.

View solution in original post

2 REPLIES 2
Highlighted
lucia
Level 8

Re: Save data from 6 screens in one SharePoint List simultaneously

Hey,

 

if you want to create new item in your sharepoint list, that is when you use Default in your formula as a second argument. If you want to edit a particular item in your list on the second position you have to define it, either using LookUp function or ThisItem or variable where the item is saved.

 

Hope this helps.

View solution in original post

ACS
Level: Power Up

Re: Save data from 6 screens in one SharePoint List simultaneously

Thank you!

 

Using the Lookup function to compare the ID of the Item it worked.

Helpful resources

Announcements
Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Join THE global Microsoft Power Platform event series

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (9,517)