cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
powerd01
Advocate I
Advocate I

How do I submit a Form to the same SharePoint list row where another Form has already been submitted?

Hi All,

I have 2 forms in my PowerApps. So I have a Form1 that only has a text input box that when a button is selected it submits a number to a SharePoint list column called ProjectID, also it will navigate to another screen to Form2. Form 2 has other text inputs and drop downs. How do I submit Form2 to the same SharePoint list row where Form1 has already been submitted?  Is this possible?

Thank you 

1 ACCEPTED SOLUTION

Accepted Solutions
GarethPrisk
Resident Rockstar
Resident Rockstar

Yes.

Set Form1's properties:

  • DataSource = {SharePointListName}
  • DefaultMode = FormMode.New
  •  

Set Form2's properties:

  • DataSource = {SharePointListName}
  • DefaultMode = FormMode.Edit
  • Item = Form1.LastSubmit

 

View solution in original post

2 REPLIES 2
GarethPrisk
Resident Rockstar
Resident Rockstar

Yes.

Set Form1's properties:

  • DataSource = {SharePointListName}
  • DefaultMode = FormMode.New
  •  

Set Form2's properties:

  • DataSource = {SharePointListName}
  • DefaultMode = FormMode.Edit
  • Item = Form1.LastSubmit

 

View solution in original post

Thank you so much for responding and providing a solution. I appreciate it.

I actually took took part of what you said with the Form1.LastSubmit and came up with this solution.
So, I used Patch
Patch(SP LIST, Form1.LastSubmit, {Form2 fields, for example RequestBy: DataCardValue1.Text, ProjectName: DataCardValue2.Text, and so on})
This worked!
Thank you Gareth Prisk!!

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Users online (2,905)