cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Dawidvh
Level 10

Close the web browser tab when using the exit() function

Hi everyone.

 

When you use the exit() function in PowerApps, the app closes but the browser returns to the Dynamics screen. Is there a way that the web browser tab can be closed well?

The scenario: Email notifications are being sent to the next person that is responsible for a form with a link that opens the record directly, using a parameter in the URL. Once the person submits the form, I would like to close the web browser that was opened as part of the URL open to avoid the user from having multiple web browser tabs open, one for each record that they interacted with as part of the workflow.

 

Thanks everyone.

 
1 ACCEPTED SOLUTION

Accepted Solutions
Dawidvh
Level 10

Re: Close the web browser tab when using the exit() function

Thank you very much.

 

We have added a screen that instructs the user to close the browser tab after actioning the link from the email notification.

 

Have a fantastic day.

 
2 REPLIES 2
Community Support Team
Community Support Team

Re: Close the web browser tab when using the exit() function

Hi @Dawidvh,

 

Please check my response in the following thread:

exit() and return to custom destination

 

The default behavior of this function is:

exits the currently running app. The user is then returned to the list of apps, where they can select another app to open.

 

If you would like to have more options about this function, then please consider submit an idea in the following forum:

https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas

 

Regards,

Michael

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Dawidvh
Level 10

Re: Close the web browser tab when using the exit() function

Thank you very much.

 

We have added a screen that instructs the user to close the browser tab after actioning the link from the email notification.

 

Have a fantastic day.