User Review
( votes)A list is a configurable component designed to display a collection of records on a portal without requiring developer intervention to present the grid. It leverages Dataverse views to render records on Power Pages sites in a grid format.
Lists are built from Dataverse table views, which can be created either through the Data workspace or within model-driven apps in Power Apps. These lists can be integrated with pages or paired with forms to develop comprehensive web applications.
To learn more about lists and how to configure them, please refer to this document for detailed information.
The modern list (preview) is an enhanced version of the traditional lists in Power Pages, designed to offer better visual appeal and advanced styling features. It includes shimmer loading, which shows an animation while data is being fetched, and infinite scrolling, allowing new content to load automatically as users scroll down. Inline filters enable quick filtering across all columns in the list view, while customizable styling options let you adjust background and font colors, apply alternating row colors, and modify margins and padding for a polished appearance.
Enable Modern List Preview:
To enable the modern list preview, simply add a list to any section of your Power Pages portal. You’ll see a toggle labeled “Try the new and improved version of this component.” Turn it on to activate the modern list.
After enabling the modern list preview, a Design Option with a paintbrush icon will appear. Click on it to access the list of design options.
The List Design includes three styling tabs: Standard, Header, and Row.
The Standard Style tab offers customization options such as Border, Height, Margin, Padding, and Shadow. Each of these settings can be expanded for detailed adjustments. For instance, in the Margin section, you can apply specific values to individual sides, as shown in the example below.
The Header and Row tabs allow you to customize properties such as background color, font family, font weight, font size, and border. Currently, the font family offers 45 different options to choose from.
In the Row tab, there is an additional option called Banded Row, which is turned off by default. Enabling this option allows you to apply a banded design to the rows in your list by selecting a specific color and adjusting its opacity level.
Copy, Paste, and Reset Options:
At the bottom of the design modal, you’ll find three additional options: Copy Design, Paste Design, and Reset Design.
Using the copy option generates the JSON data for the current style, which can then be pasted or reused. Below is an example of JSON data for a design style that has been copied.
{ "controlType": "EntityList", "data": { "table-style": "{\"margin\":\"0px\",\"padding\":\"0px\",\"box-shadow\":\"0px 0px 0px var(--portalThemeColor1)\"}", "header-style": "{\"root\":{\"backgroundColor\":\"color-mix(in oklch, var(--portalThemeColor10), transparent 0%)\",\"color\":\"color-mix(in oklch, var(--portalThemeColor7), transparent 0%)\",\"fontWeight\":\"700\",\"border\":\"0px solid var(--portalThemeColor1)\",\"fontSize\":\"15px\"}}", "row-style": "{\"root\":{\"bandedRows\":\"color-mix(in oklch, var(--portalThemeColor3), transparent 0%)\",\"fontFamily\":\"Georgia\"}}", "table-stripes": "true" } }
You can easily paste the copied design from one modern list to another. This helps save time and ensures a consistent theme across your site.
Conclusion
The modern list in Power Pages enhances record display with features like shimmer loading, infinite scrolling, and inline filters. By enabling the preview and customizing styles, users can easily create dynamic, polished grid views, streamlining data management and improving the overall portal design.
The post Enhancing Microsoft Power Pages Portal with the Modern List first appeared on Microsoft Dynamics 365 CRM Tips and Tricks.