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 / Directly to Datasource...
Power Apps
Unanswered

Directly to Datasource or collection for gallery

(0) ShareShare
ReportReport
Posted on by 44

I have a gallery where i patch the selected record. Im wondering whats the best practice? To have the gallery directly to the datasource or use a collection?

Categories:
I have the same question (0)
  • AARON_C Profile Picture
    2,235 Most Valuable Professional on at

    Hi @helpPowerApps,

     

    I think it is best to have your gallery attached to a collection. This will reduce the amount of times you need to connect with your data source. This makes your app performance slightly faster.

     

    Please tick Accept as solution if the answer is useful.

    Thanks,

    @AARON_C 

  • helpPowerApps Profile Picture
    44 on at

    ah i thought having the gallery connected to the datasource would be faster? So that theres no need to add ClearCollect to refresh the collection every time theres an update.

  • PowerAddict Profile Picture
    7,316 Most Valuable Professional on at

    Hi @helpPowerApps , 

     

    I typically use two collections - one that populates the gallery and another one that I use to patch the datasource. Problem with one collection is that if the collection that is populating the gallery is also being updated, the gallery will kind of "refresh" every time the collection gets updated providing for a bad user experience. 

     

    ---
    If you like this reply, please give kudos (Thumbs Up). And if this solves your problem, please mark this reply as a solution by selecting Accept as Solution. This makes it easier for others to find answers to similar questions. 

     

    Thanks!

    Hardit Bhatia

    Microsoft Business Applications MVP

    Microsoft Certified Trainer MCT

    Blog | Twitter | LinkedIn | Facebook | YouTube  |  Email

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
Haque Profile Picture

Haque 88

#2
WarrenBelz Profile Picture

WarrenBelz 85 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 45

Last 30 days Overall leaderboard