cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Mirtemir
Helper IV
Helper IV

After submit form, navigate to the entry that is lastsubmitted

I created an PowerApp with a SharePoinlist (mylist).

After i submit a new item in the Powerapp, i would like to navigate to my DetailScreen, which has a DetailForm and see the entry that has just been submitted. I don't seem to make that work.

 

On my submit button i have this code SubmitForm(NewForm)

And on the OnSuccess Navigate(DetailScreen)

How can i achieve this?

1 ACCEPTED SOLUTION

Accepted Solutions

Your code is fine. Am only thinking you code is place at the wrong place.

You have stated 2 form DetailForm1 and NewFormHRM

Which form are you submitting and where is the OnSuccess placed? DetailForm1 or NewFormHRM
------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

View solution in original post

11 REPLIES 11
eka24
Super User
Super User

Your code seem fine. but is your form named "NewForm"? and do you see the data successfully submitted to the list?

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

Yes, the data is successfully submitted.

My newform is called NewFormHRM

The detailform is called DetailForm1 and is on another scree, DetailScreenHRM

Your code is fine. Am only thinking you code is place at the wrong place.

You have stated 2 form DetailForm1 and NewFormHRM

Which form are you submitting and where is the OnSuccess placed? DetailForm1 or NewFormHRM
------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

I am submitting form the sreen NewHRMscreen and use the form NewFormHrm.

NewFormHRM has the OnSuccess placed.

i accidently accepted your answer as a solution.

Please take a screenshot of the two formulas.

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

Mirtemir
Helper IV
Helper IV

Ok, here are the pictures. 

eka24
Super User
Super User

Please show the Onsuccess as well with the Form.

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

ok, is this what you need?

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.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (5,009)