cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
brandonqin
New Member

How to Set Icons in Navigation Bar Component

Hi all,

 

I am trying to create a navigation bar with "Home", "Community", "Calendar", and "Contact us". I have created a new custom property with the following code. 

 

Table(
{
Menu_Label: "Home",
Menu_Icon: Icon.Home,
Menu_Screen_Navigate: App.ActiveScreen,
Menu_ID: 1
},{
Menu_Label: "Communities",
Menu_Icon: Icon.People,
Menu_Screen_Navigate: App.ActiveScreen,
Menu_ID: 2
},{
Menu_Label: "Calendar",
Menu_Icon: Icon.CalendarBlank,
Menu_Screen_Navigate: App.ActiveScreen,
Menu_ID: 3
},{
Menu_Label: "Contact Us",
Menu_Icon: Icon.Mail,
Menu_Screen_Navigate: App.ActiveScreen,
Menu_ID: 4
}
)

 

When setting the icons, I keep getting an error that says "ThisItem.Menu_Icon = This formula uses scope, which is not presently supported for evaluation.". What should I do? Thank you!

2 REPLIES 2
WarrenBelz
Super User
Super User

Hi  @brandonqin 

Just tested on a Combo Box

 

MenuIcon2.png

MenuIcon1.png

You might look at what is different in yours

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

Visit my blog Practical Power Apps

WarrenBelz
Super User
Super User

Hi @brandonqin ,

Just checking if you got the result you were looking for on this thread. Happy to help further if not.

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

Visit my blog Practical Power Apps

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (2,956)