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 / How to add elements to...
Power Apps
Unanswered

How to add elements to collection permanently?

(0) ShareShare
ReportReport
Posted on by 10

Hi, I do have this menu component, which I populate from a collection called colMenuItems.

 

menu.PNG

 

However, the issue is that I need to re-add items there every time my app is restarted(they disappear each time). Therefore, I've had to add this to 'on-start', which causes lag and the menu loads a couple of seconds after the app is started. This is how I add my elements currently: 

 

Collect(
colMenuItems,
{
Icon: Icon.RadarActivityMonitor,
Id: 6,
MenuLabel: "Monitoring",
Screen: 'Monitoring Screen'
}
)

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    156,384 Most Valuable Professional on at

    Hi @TomaszCPL ,

    The nature of collections are that they only exist during the session of the app being run. Adding hard-coded data OnStart is by far the quickest way (against storing it in a list somewhere), so there is really nothing you do to speed it up any more.

     

    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.

     

     

  • WarrenBelz Profile Picture
    156,384 Most Valuable Professional on at

    Hi @TomaszCPL ,

    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.

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 401 Most Valuable Professional

#2
11manish Profile Picture

11manish 201 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 128 Super User 2026 Season 2

Last 30 days Overall leaderboard