Events
Power BI DataViz World Championships
14 Feb, 4 pm - 31 Mar, 4 pm
With 4 chances to enter, you could win a conference package and make it to the LIVE Grand Finale in Las Vegas
Learn moreThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
[This topic is prerelease documentation and is subject to change.]
A card gallery is a data control that displays data from a table and view in cards. You can use design studio or Liquid code to add, style, and configure a card gallery in Power Pages sites.
Important
To add a card gallery with design studio:
Open the design studio to edit the content and components of the site.
Tip
You can also add a card gallery using code.
Go to the Pages workspace.
Select the page you want to edit.
Select the section where you want to add the card gallery.
Hover over any editable canvas area, then select the Card gallery icon from the component panel.
Select the Card gallery design button to choose from any of the four available layouts.
You can also choose from existing card galleries if they're available.
To configure your card gallery's data source:
Select the Card gallery design button and choose Data.
Select an existing table from the Data source lookup field.
Select a corresponding view from the View dropdown.
For each card gallery element (image, title, description, button, text hyperlink), choose the Select data option to bind it to a view column.
Note
For button and hyperlink elements, you need to configure two settings: name and url. Both configurations must be bound to a view column.
Disable the toggle switch next to any element you don't want to include.
You can rearrange each element's position by selecting the icon to the left of the toggle switch and dragging the element to the desired position.
Each element supports specific data types.
Element | Data type(s) |
---|---|
Title | Text (single line of text) Phone Whole Number Decimal Look up Date only Date and time |
Description | Rich Text Text Area (multiple lines of text) Phone Whole Number Decimal Date only Date and time |
Image | File - Image |
Button | Button label - Text (single line of text) Button URL - URL |
Text Hyperlink | Text Hyperlink label: Text (single line of text) Text Hyperlink URL: URL |
You can style your card gallery by configuring style properties at the gallery, card, and element level.
Turn on/off the Enable search toggle to add or remove search filtering.
After you configure your card gallery, you can see the preview on canvas with sample data.
Note
You must set table permissions to allow site visitors to view and interact with your card gallery.
You can also use Liquid to edit your card gallery.
To add a new card gallery without any data binding or configuration, use the following liquid tag:
{% codecomponent name:Pages.CardGallery %}
To add an existing card gallery, use the Liquid tag and replace {your card gallery id}
with the id for the existing card gallery:
{% codecomponent name:Pages.CardGallery id: '{your card gallery id}' %}
Events
Power BI DataViz World Championships
14 Feb, 4 pm - 31 Mar, 4 pm
With 4 chances to enter, you could win a conference package and make it to the LIVE Grand Finale in Las Vegas
Learn moreTraining
Module
Create and customize sites with Power Pages design studio - Training
Power Pages makers spend most of their time building sites in Power Pages design studio. It's important that makers have a full understanding of the capabilities and also the limitations of the design studio. This module will focus on understanding and using the design studio to create and customize sites. Power Pages design studio allows makers to add and configure pages, layout components, static content, custom CSS files, lists, and forms connected to Dataverse.
Certification
Microsoft Certified: Power Platform Developer Associate - Certifications
Demonstrate how to simplify, automate, and transform business tasks and processes using Microsoft Power Platform Developer.
Documentation
Add a custom component (preview)
Learn how to add a custom component to a section on a Power Pages site.
Learn how to make changes to the header of your Power Pages site.
List of known issues in Power Pages