I have a list and we have customized the edit form in Power Apps. 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 choice 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. We are redirecting to list.
Reference - Customize newform save button - Save and redirect to another form
- Use launch command. In this we have provided Launch option with home page and with demo page as well. In this scenario, the page is open in new tab. and current tab is redirecting to list.Here is my save code -
SubmitForm(SharePointForm1); Launch("Home page URL or Demo test page url");
- Use launch command with Launch Target option. 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);
Can someone help me with this?