web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Exit function in Navig...
Power Apps
Answered

Exit function in Navigation Menu

(0) ShareShare
ReportReport
Posted on by 297

hi All,

i created Navigation menu as component as per below:

What i would like to add here is Exit function, that currently i have as a separate icon. 

 

Table(
 {
 MenuLabel: "Home",
 MenuIcon: Icon.Home,
 MenuScreenNavigate: '1_Welcome',
 MenuID: 1
 },
 {
 MenuLabel: "Edit View",
 MenuIcon: Icon.Edit,
 MenuScreenNavigate: '3_Admin_View_Edit',
 MenuID: 2
 },
 {
 MenuLabel: "List View",
 MenuIcon: Icon.View,
 MenuScreenNavigate: '3_Admin_View_List',
 MenuID: 3
 },
 {
 MenuLabel: "Chart View",
 MenuIcon: Icon.Trending,
 MenuScreenNavigate: '3_Admin_View_Charts',
 MenuID: 4
 })

 

 

martatracik_0-1677169343848.png

Do you know how can i do it? i think i should add here some new variable, but no clue how it should look.

thank you

Categories:
I have the same question (0)
  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @martatracik 

    You can leave the exit icon (say Icon1)  outside the menu and just put: Select(icon1) as the OnSelect property of the Exit in your menu and hide the exit icon.

  • Verified answer
    timl Profile Picture
    36,393 Super User 2025 Season 2 on at

    Hi @martatracik 

    One way to do this is to add a new screen (lets call it ExitScreen).

    In the OnVisible property of this screen, call Exit().

    You can then navigate to ExitScreen to exit your app.

     

  • martatracik Profile Picture
    297 on at

    thank you, that perfectly works 🙂 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard