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.

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

PA Community Call

Power Apps Community Call

Next call is happening on April 21st at 8a PST.

MBAS Carousel

Sign up for our May 4th event!

May the fourth be with you, join us online!

secondImage

Experience what’s next for Power Apps

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

Top Solution Authors
Top Kudoed Authors
Users online (46,216)