Microsoft Power Apps Samples
repository·master·Indexed 24 days ago
https://github.com/microsoft/powerapps-samplesA collection of sample code and implementation patterns for the Microsoft Power Apps ecosystem. It includes resources for Dataverse, Model-driven apps, Canvas apps, Power Apps Component Framework (PCF), Power Pages, and AI Builder, featuring hands-on labs, starter kits for invoice processing, and automated solution deployment guides using Power Platform Build Tools and Azure DevOps.
What's inside microsoft-powerapps-samples
- This sample component is a Power Apps Component Framework (PCF) control designed for image handling. It provides an Upload button that triggers a file explorer to select an image. Once an image is selected, it renders within the component. The component also includes a Remove button that, when clicked, resets the view to a default image.
Overview of Power Apps Samples
masterThis repository provides sample code for various Power Apps technologies. Developers can use these samples to understand implementation patterns for:
- Dataverse: Data platform samples.
- Model-driven apps: Samples for building app interfaces based on Dataverse data models.
- Canvas apps: Samples for highly customizable, pixel-perfect app experiences.
- Power Apps component framework (PCF): Samples for building custom components that extend Power Apps.
- Portals (Power Pages): Samples for building external-facing websites.
- AI Builder: Samples for integrating AI capabilities into Power Apps.
Overview of the Model-driven app dataset Power Apps component framework sample
masterThis sample implements a Power Apps component framework (PCF) dataset control that displays a paged, scrollable grid. It supports the following features:
- Sorting and Filtering: Columns can be sorted and filtered within the grid.
- Row Highlighting: Specific rows can be highlighted by configuring an indicator column.
- Versatile Integration: The dataset code component can be linked to a table's main grid, a specific view, or a subgrid.
This control is compatible with both model-driven apps and canvas apps.
Overview of the Device API Control sample
masterThis sample demonstrates how to use the Device API capabilities within the Power Apps component framework (PCF). It provides a reference implementation for accessing device-specific information and features through a custom control. The sample is compatible with both model-driven apps and canvas apps.Overview of the PropertySetTableControl dataset component sample
masterThis sample demonstrates how to build a dataset component specifically for canvas apps using the Power Apps component framework (PCF). It serves as a reference for implementing complex data interactions, including:
- Retrieving column metadata.
- Accessing record data.
- Implementing data paging (pagination).
- Handling navigation within the dataset.
Overview of the Table Power Apps component framework sample
masterThis sample is a Power Apps component framework (PCF) control designed for model-driven apps. It renders a two-column table where:
- The left column displays the name of an API method or property.
- The right column displays the value returned by that API.
The component is designed to be responsive; it adjusts values correctly when viewed on different devices or when user language and settings are modified.
Overview of ChoicesPickerControl Sample
masterThe
ChoicesPickerControlis a Power Apps Component Framework (PCF) sample designed for model-driven apps. It displays a set of choices on a form, where each choice value is accompanied by an icon.Key technical features demonstrated in this sample include:
- Utilization of choices column definitions (metadata).
- Support for column-level security.
- Integration with model-driven app advanced features.
Overview of the FacePile React Component Sample
masterThe FacePile component is a Power Apps component framework (PCF) sample that demonstrates how to build components using React and Office UI Fabric React components. It is designed to showcase the use of the React controls & platform libraries (preview) feature within the Power Apps component framework.Overview of ChoicesPickerReactControl
masterThe
ChoicesPickerReactControlis a Power Apps Component Framework (PCF) React sample designed for model-driven apps. It displays a set of choices on a form, where each choice value is accompanied by an icon.Key features demonstrated in this sample include:
- Utilizing choices column definitions (metadata).
- Handling column-level security.
- Implementing the React controls & platform libraries (preview) feature.
Overview of the Linear Input Power Apps component framework sample
masterThe Linear Input sample is a Power Apps component framework (PCF) control designed to improve the user experience for interacting with numeric data types on a form. Instead of standard text input for numbers, this component provides a linear slider that allows users to set attribute values by sliding, which is compatible with both model-driven and canvas apps.
To use this sample, you must first generate the solutions containing the controls by following the instructions in the root README.md of the repository.
Overview of the Table Power Apps component framework sample
masterThis sample demonstrates how to build a dataset component for Microsoft Power Apps using the Power Apps component framework (PCF). It specifically showcases the following capabilities:
- Creating a simple dataset component.
- Binding component header columns to view column metadata.
- Binding internal record values to existing views.
- Implementing paging to load more records.
- Implementing record navigation to a form.
Overview of the Map Power Apps component framework sample
masterThe Map component is a Power Apps component framework (PCF) sample designed to enhance the user experience when interacting with address fields on a form. Instead of relying solely on text values, this component allows users to visually identify specific addresses on a map directly within the form, eliminating the need to navigate to separate tabs or screens. It is compatible with both model-driven apps and canvas apps.