Everything You Need To Know About Creating A Gallery In Power Apps
A gallery in Power Apps is a flexible control that displays records from data sources like SharePoint or Dataverse.
It offers customisation options, allowing you to choose which data points to show and how they are arranged.
In this blog, we’ll guide you through creating a gallery, from connecting your data source to adding interactive features, helping you make the most of this powerful control in your apps.
What is a gallery?
A gallery is a very flexible control used to display a set of records from a data source, whether that’s defined in app using collections, or from connected data sources such as SharePoint & Dataverse.
Galleries are exclusive to canvas apps and come with the benefit of total customisation capabilities. You can choose which data points from a record to display and how those are arranged – with the caveat that each record in a specific gallery will follow the same design.
To highlight the variety, both the summary & recent transactions below could both be galleries. Summary would be a horizontal gallery and Recent requests a vertical gallery.
Variations
Galleries come in three forms. Vertical, Horizontal, and Flexible, though at the time of writing the flexible galleries are a little temperamental so most of your work will be with vertical or horizontal galleries.
The difference between vertical and horizontal is simply the direction that records stack. For vertical, they will be top to bottom. For horizontal, left to right.