cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
pal95
Helper V
Helper V

Submit form and then edit it, with no gallery selection

Hi,

Let's say that I have Step 1 (Name, Surname, Phone number), Step 2 (Person Details), and Step 3 (Comments). Each step should be on a separate screen. I have one big table in Sharepoint, which is ready to take all that information.

I would like to create a new form in Step 1, and then, after the Name, Surname, and Phone number is filled, I would like the user to submit the form to SharePoint and move to Step 2. I would like Step 2 to find the item I am currently working on and continue with filling the personal details.

The question is: How to do this without using galleries? The only way I know to edit a form is to select it from a gallery, and here is no gallery.

Any suggestions? Thank you for your time.

1 ACCEPTED SOLUTION

Accepted Solutions
RandyHayes
Super User
Super User

@pal95 

Consider the following...

In your OnSuccess action of the EditForm, use a variable to set the current record:

Set(glbCurrentRecord, yourEditForm.LastSubmit)

This will set the variable to the last submitted record.

 

Now on your Display form, set the Item property to : glbCurrentRecord

 

Should give you what you want.

I hope this is helpful for you.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
NOTE: My normal response times will be Mon to Fri from 1 PM to 10 PM UTC (and lots of other times too!)
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

View solution in original post

3 REPLIES 3
RandyHayes
Super User
Super User

@pal95 

Consider the following...

In your OnSuccess action of the EditForm, use a variable to set the current record:

Set(glbCurrentRecord, yourEditForm.LastSubmit)

This will set the variable to the last submitted record.

 

Now on your Display form, set the Item property to : glbCurrentRecord

 

Should give you what you want.

I hope this is helpful for you.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
NOTE: My normal response times will be Mon to Fri from 1 PM to 10 PM UTC (and lots of other times too!)
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

Working!!!

@pal95 

Excellent! 

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
NOTE: My normal response times will be Mon to Fri from 1 PM to 10 PM UTC (and lots of other times too!)
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

Helpful resources

Announcements
Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on August 17, 2022 at 8am PDT.

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.

Users online (1,554)