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

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 V
Helper V

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 Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (4,811)