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 / Filling a collection v...
Power Apps
Unanswered

Filling a collection via a SQL connection and using the collection as a navigation menu

(0) ShareShare
ReportReport
Posted on by 21

I want to fill a collection for a navigation menu like this:

 

 

 

ClearCollect(colMenu;Table(
{
MenuLabel: "Menu1";
MenuIcon: Icon.Menu1;
MenuScreenNavigate: Screen1;
MenuID: 1;SubMenu: Table()
};
{
MenuLabel: "Menu2";
MenuIcon: Icon.Menu2;
MenuScreenNavigate: Screen2;
MenuID: 2;SubMenu: Table()
};
{
MenuLabel: "Menu3";
MenuIcon: Icon.Menu3;
MenuScreenNavigate: Screen3;
MenuID: 3;SubMenu: Table()
}
))

 

 

 

 

How would I replace the table with a connected SQL Server view and keep the navigation working?

I replaced the above with

 

 

 

ClearCollect(colMenu;v_Menu)

 

 

 

where v_Menu has the same fields as the table above. The collection is created and the navigation is displayed but the buttons don't work any more and no icons are shown. Also, how would I include the subtables for the submenu using sql?

Categories:

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 234 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 207 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 169

Last 30 days Overall leaderboard