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

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 III
Super User III

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.

View solution in original post

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

Ok, here are the pictures. 

eka24
Super User III
Super User III

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
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

Top Solution Authors
Top Kudoed Authors
Users online (68,350)