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 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.

Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on June 15, 2022 at 8am PDT.

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Top Kudoed Authors
Users online (3,048)