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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Power Apps Component D...
Power Apps
Answered

Power Apps Component Default Value

(0) ShareShare
ReportReport
Posted on by 30

is there a way to pass default values to the Vertical  Navigation  component ?

 I have vertical  component.  

NavItems:

Table(
{
Title: " Home",
ID: 1,
Icon: Icon.Home
},

{
Title: "Employee",
ID: 2,
Icon: People
}

)

onselect : Set(NavTabSelected,ThisItem.ID)

CurrentOption( Output property) : NavTabSelected 

 I wanted  the Employee information ( Gallery)  show up   by default .  Currently,  it  show up  when  the user  select  "Employee"(  Gallery _ Visible  : leftNavigation.CurrentOption=2) 

 

Thanks 

 

Categories:
  • Verified answer
    v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @GET123 :

    You could set the gallery's visible property to:

    If(IsBlank(leftNavigation.CurrentOption),2,leftNavigation.CurrentOption)=2

    Because the value of leftNavigation.CurrentOption is empty by default (when the user has not made any selections).

    Best Regards,

    Bof

  • GET123 Profile Picture
    30 on at

    @v-bofeng-msft , Thank you so much 

    It 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 382 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 329

#3
WarrenBelz Profile Picture

WarrenBelz 187 Most Valuable Professional

Last 30 days Overall leaderboard