web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / redirected after savin...
Power Apps
Answered

redirected after saving edit form

(0) ShareShare
ReportReport
Posted on by 163

Hi

To validate an Edit form I use an icon button with a "SubmitForm(EDIT_PRODUCT_FORM)" function.
After clicking on the button I am sent back to another product.


How can I be redirected after saving the modified values?

 

thanks for your help

Categories:
  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @tuonoman 

    In the OnSuccess property of the form, put Back() if you want to go to the previous screen or Navigate(Screen2) to go somewhere else.

  • JisungHan Profile Picture
    Microsoft Employee on at

    Hi @tuonoman ,

     

    Would you please share screenshots:

    1. Submit button you clicks

    2. Another product that you are routed

     

    The submit button normally navigate to list view in PowerApps. As @Drrickryp mentioned, please check whether the "OnSuccess" property contain a wrong navigate expression to route to another product.

     

    Best regards,
    Jisung Han

  • tuonoman Profile Picture
    163 on at

    @Drrickryp @JisungHan 

     

    Strangely I don't have any property  "onsucces " on my icon.

     

    I must have done something wrong

     

    no onsucces.png

     

  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    It is a property of the form, not

     the button.

  • tuonoman Profile Picture
    163 on at

    ah "onsucces" is on the form  and not the button ?

  • tuonoman Profile Picture
    163 on at

    @JisungHan @Drrickryp 

    OK ! I have tried,  but with "back" and "navigate"  i  back always on the first product on my list. 

    I would like  to back  on the detail page of the same product edited.

    Apparently I can't add an instruction of type "selected".

  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @tuonoman 

    Put ViewForm(EDIT_PRODUCT_FORM) in the OnSuccess property of the form.

  • tuonoman Profile Picture
    163 on at

    @Drrickryp 

     

    sorry, same problem ☹️

     

     

     

     

  • tuonoman Profile Picture
    163 on at

    @Drrickryp 

     

    I make a video for explain.

     

    https://youtu.be/47PD03eKA7g

     

     

  • tuonoman Profile Picture
    163 on at

    Hi the community all,
    I try several tests, nothing to do! I crack!😫
    After "submitform" I am automatically switched to the product detail page of another product (ID1).
    I found this discussion on the forum which seems to deal with the same problem.

    Solved: Submit form goes Back, instead of navigate to the ... - Power Platform Community (microsoft.com)


    Does anyone have a proposal for me

     

    on this test, I am redirected to the form "detail _product" but from another one than the one I just edited.

     

    test1.png

     

    setting of my button "submitform"

    test2.png

     

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 360 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 325

#3
Mohsin Ali Profile Picture

Mohsin Ali 232

Last 30 days Overall leaderboard