Love Thakker

Love Thakker

  • 524
  • 2.6k
  • 531k

How to launch home page on Power Apps submit button Click?

Jan 15 2021 11:26 AM
I have a list and we have customized the edit form in powerapps. We have set this forms link in Email that we send to manager when new entry is added. He must review it and change status choise to approve and click save. But we need to open our homepage on submit click instead redirecting to list, we need to redirect to homepage. 
 
We have tried below solutions so far -
  • Use source parameter as we do in classic site but it is not working.
    Reference - https://sharepoint.stackexchange.com/questions/153673/customize-newform-save-button-save-and-redirect-to-another-form 
  • Use launch command. I tried the latest replace option as well. But still we are redirecting to the list.
    Here is my save code - 
    SubmitForm(SharePointForm1); Launch("Home page URL",{},LaunchTarget.Replace);

    Reference - https://powerusers.microsoft.com/t5/Power-Apps-Ideas/Launch-URL-from-within-PowerApps-form-IN-THE-SAME-TAB/idi-p/279955#:~:text=Launch%20URL%20from%20within%20PowerApps%20form%20%2D%20IN%20THE%20SAME%20TAB&text=If%20that%20is%20not%20wanted,rather%20than%20the%20same%20tab.
Can someone help me with this?

Answers (4)