cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Sam44
Helper III
Helper III

Create one SharePoint list item from multiple screens using "Form" control.

I’m building PowerApps app with 3 screens. as a data source, using one SharePoint custom list which has columns named A, B, C, D, and Attachments.

(Actually almost 100 column SharePoint has, don’t want to show all in a one screen)

 

Every 3 screens are added “Form control” and displays “Screen1: column A, B”, “Screen2: column C”, and “Screen3: column D, Attachments”.

Is this possible to build this type of App?

Also, each screen has “Tab” button which allows users to seamlessly move around when they input data and only screen 3 has “Submit form” button.

 

Putting “Form control” in screen1 is fine but how I can marge all other data inputted in screen2 and screen 3 and submit to One SharePoint item record?

I want to use “Form control” for screen 2 and screen 3 but wonder how...

 

Thanks.

1 ACCEPTED SOLUTION

Accepted Solutions
v-monli-msft
Community Support
Community Support

Hi @Sam44,

 

With this scenario, you cannot use SubmitForm function to submit the item now. You need to use Patch instead.

 

The formula to save data to SharePoint should be:

Patch(ListName,Defaults(ListName),EditForm1.Updates,EditForm2.Updates,EditForm2.Updates)

Remember you also need to add the NewForm(EditForm2);NewForm(EditForm3) and EditForm(EditForm2);EditForm(EditForm3) in the formulas that used to navigate to the Edit Screens.

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-monli-msft
Community Support
Community Support

Hi @Sam44,

 

With this scenario, you cannot use SubmitForm function to submit the item now. You need to use Patch instead.

 

The formula to save data to SharePoint should be:

Patch(ListName,Defaults(ListName),EditForm1.Updates,EditForm2.Updates,EditForm2.Updates)

Remember you also need to add the NewForm(EditForm2);NewForm(EditForm3) and EditForm(EditForm2);EditForm(EditForm3) in the formulas that used to navigate to the Edit Screens.

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on June 15, 2022 at 8am PDT.

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Top Kudoed Authors
Users online (2,503)