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
User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

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