This is the continuation of the series of articles on “Development on PowerApps for Office 365”. There are many small fixations or steps to make your PowerApps completely functional. Today, we are going to see how to use/switch screens on Microsoft PowerApps in Office 365.

How To Use/Switch Screens On Microsoft PowerApps In Office 365

Here, we have different types of screens.

Example

As we saw in my last article, in our app, now we want to submit the form. The data saves on SharePoint but it stays open there. So, you can either direct the users to a link or to another screen or you can even perform another operation.

How To Use/Switch Screens On Microsoft PowerApps In Office 365

For my demo, on Submit, I will direct you to a next "Thank You" screen. The screen below is built on a blank screen where I have added text, some colors, and a "Close" button to redirect the screen to the SharePoint site.

How To Use/Switch Screens On Microsoft PowerApps In Office 365
How to do it?

On the form associated with your PowerApps, under the Advanced section, copy the code written below on the OnSuccess tab.

Navigate(Screen2, ScreenTransition.None)

Note
Screen2 is the name of the screen you want to navigate to.

How To Use/Switch Screens On Microsoft PowerApps In Office 365

As a screen transition, you can use various parameters.

Now, whenever the "Submit" button is clicked/tapped, it will direct you to the "Thank You" page automatically and the end-user can click on "Close" to come out of the PowerApps. Similarly, these screens can be used for various purposes.

In this article, we saw how to use/switch screens on Microsoft PowerApps in Office 365. We will see more updates/fixes on PowerApps with Office 365 compatibility in my future articles.

Until then, keep reading & keep learning!