PowerApps Navigation Context Overview

In this tutorial, we’ll discuss the context of PowerApps navigation. We’ll be using the Back and Navigate functions to change which screen is displayed in our applications.

Most apps contain multiple screens. Providing user-friendly PowerApps navigation allows the users to efficiently navigate through those application screens.

On the reference page, let’s click Navigate and see what it does.

PowerApps Navigation Context Overview

The Navigate function changes the screen that’s displayed. We’ll be having an example to further understand how this function works.

PowerApps Navigation Context Overview

Table of Contents

PowerApps Navigation Using The Navigate Function

First, let’s click on the first data card (Beau Spratling).

PowerApps Navigation Context Overview

Go to the OnSelect trigger, and we’ll see that the Navigate function is used to take the user to the specified screen (DetailScreen1). This means that upon clicking on this card, it will navigate us to the DetailScreen1.

PowerApps Navigation Context Overview

On the other hand, the second argument is for the transition type that we want to set. It’s currently set to None.

PowerApps Navigation Context Overview

On the reference page, we can see the different transitions that we can choose from and a demonstration for each one of them.

PowerApps Navigation Context Overview

We can easily change the Navigate Transition by clicking on the data card again. Then, click on the second argument.

PowerApps Navigation Context Overview

After that, the ScreenTransition.None will appear.

PowerApps Navigation Context Overview

Remove the word None at the end and the different transition options will appear below. For this example, let’s use the Fade transition. Try to play your application and you’ll see how the Fade transition works.

PowerApps Navigation Context Overview

Let’s now click on the arrow inside our data card.

PowerApps Navigation Context Overview

We can see that its trigger is also OnSelect and it’s selecting the Parent element.

PowerApps Navigation Context Overview

The Parent element of that arrow is referring to the data card itself. It’s using the Navigate function that redirects the users to the DetailScreen1. Once clicked, it’ll do the same thing as when we’re clicking on the data card.

PowerApps Navigation Context Overview

Adding An Edit Functionality For PowerApps Navigation

Now, let’s try adding an edit symbol that will redirect us to the edit page right from our data card. Click on the Separator5 element under the BrowseGallery1.

PowerApps Navigation Context Overview

Then click the Icons and select the Edit icon.

PowerApps Navigation Context Overview

Since we’ve added it inside the BrowseGallery1, it replicates itself for each data card inside the gallery.

PowerApps Navigation Context Overview

Let’s then move the icon beside the arrow icon and resize it until it’s a bit smaller.

PowerApps Navigation Context Overview

By default, this edit icon also used the OnSelect trigger and the Select function from its parent element. So, by clicking this, it’ll also redirect us to the detail screen.

PowerApps Navigation Context Overview

Let’s change that by changing the function to Navigate. Change the Select(Parent) to Navigate(EditScreen1) instead.

PowerApps Navigation Context Overview

We’ll set the second argument to ScreenTransition.UnCover. Make sure to separate the two arguments by a comma (,).

PowerApps Navigation Context Overview

Let’s now play our application.

PowerApps Navigation Context Overview

After that, click the Edit button.

PowerApps Navigation Context Overview

Then, we’ll be redirected to the edit screen.

PowerApps Navigation Context Overview

Understanding The Back Function In PowerApps Navigation

On our EditScreen1, let’s click the X button beside the title.

PowerApps Navigation Context Overview

In this example, we used the ResetForm() function together with the Back() function.

PowerApps Navigation Context Overview

When we navigate somewhere, Microsoft PowerApps remembers the last screen that we opened. We can navigate to that last screen by using the Back() function.

For example, by using this function on the X button, we can easily go back to the main screen if we access the edit screen from the main screen. If we access the edit screen from the detailed screen, the X button will bring us back to the detail screen.

We can also read a more detailed explanation of the Back() function on the formula reference page.

PowerApps Navigation Context Overview


Power Apps Basics: Development Environment And Running Your App
Power Apps: Getting Started With This Revolutionary Tool

Conclusion

To sum up, we’re able to learn the importance and context of PowerApps navigation. We’re also able to understand how the Back and Navigate functions work in our application. We can specify a visual transition in the formula to control how one screen changes to another.

Just keep in mind that it’s always important to provide users with an efficient way of navigating your application screens.

All the best,

Henry

Leave a Comment

Excel Hücrelerini Metne Sığdırma: 4 Kolay Çözüm

Excel Hücrelerini Metne Sığdırma: 4 Kolay Çözüm

Excel hücrelerini metne sığdırmak için güncel bilgileri ve 4 kolay çözümü keşfedin.

Bir Excel Dosyasının Boyutu Nasıl Küçültülür – 6 Etkili Yöntem

Bir Excel Dosyasının Boyutu Nasıl Küçültülür – 6 Etkili Yöntem

Bir Excel Dosyasının Boyutunu Küçültmek için 6 Etkili Yöntem. Hızlı ve kolay yöntemler ile verilerinizi kaybetmeden yer açın.

Pythonda Self Nedir: Gerçek Dünyadan Örnekler

Pythonda Self Nedir: Gerçek Dünyadan Örnekler

Python'da Self Nedir: Gerçek Dünyadan Örnekler

Rde Bir RDS Dosyası Nasıl Kaydedilir ve Yüklenir

Rde Bir RDS Dosyası Nasıl Kaydedilir ve Yüklenir

R'de bir .rds dosyasındaki nesneleri nasıl kaydedeceğinizi ve yükleyeceğinizi öğreneceksiniz. Bu blog aynı zamanda R'den LuckyTemplates'a nesnelerin nasıl içe aktarılacağını da ele alacaktır.

İlk N İş Günü Tekrar Ziyaret Edildi – Bir DAX Kodlama Dili Çözümü

İlk N İş Günü Tekrar Ziyaret Edildi – Bir DAX Kodlama Dili Çözümü

Bu DAX kodlama dili eğitiminde, GENERATE işlevinin nasıl kullanılacağını ve bir ölçü başlığının dinamik olarak nasıl değiştirileceğini öğrenin.

LuckyTemplatesda Çok İş Parçacıklı Dinamik Görsel Tekniği Kullanarak Öngörüleri Sergileyin

LuckyTemplatesda Çok İş Parçacıklı Dinamik Görsel Tekniği Kullanarak Öngörüleri Sergileyin

Bu eğitici, raporlarınızdaki dinamik veri görselleştirmelerinden içgörüler oluşturmak için Çok Kanallı Dinamik Görseller tekniğinin nasıl kullanılacağını kapsayacaktır.

LuckyTemplatesda İçeriği Filtrelemeye Giriş

LuckyTemplatesda İçeriği Filtrelemeye Giriş

Bu yazıda, filtre bağlamından geçeceğim. Filtre bağlamı, herhangi bir LuckyTemplates kullanıcısının başlangıçta öğrenmesi gereken en önemli konulardan biridir.

LuckyTemplates Çevrimiçi Hizmetindeki Uygulamaları Kullanmak İçin En İyi İpuçları

LuckyTemplates Çevrimiçi Hizmetindeki Uygulamaları Kullanmak İçin En İyi İpuçları

LuckyTemplates Apps çevrimiçi hizmetinin çeşitli kaynaklardan oluşturulan farklı raporların ve içgörülerin yönetilmesine nasıl yardımcı olabileceğini göstermek istiyorum.

Fazla Mesai Kâr Marjı Değişikliklerini Analiz Edin - LuckyTemplates ve DAX ile Analitik

Fazla Mesai Kâr Marjı Değişikliklerini Analiz Edin - LuckyTemplates ve DAX ile Analitik

LuckyTemplates'da ölçü dallandırma ve DAX formüllerini birleştirme gibi teknikleri kullanarak kâr marjı değişikliklerinizi nasıl hesaplayacağınızı öğrenin.

DAX Studioda Veri Önbellekleri İçin Materyalleştirme Fikirleri

DAX Studioda Veri Önbellekleri İçin Materyalleştirme Fikirleri

Bu öğreticide, veri önbelleklerini gerçekleştirme fikirleri ve bunların DAX'ın sonuç sağlama performansını nasıl etkilediği tartışılacaktır.