Book Image

Extending Microsoft Power Apps with Power Apps Component Framework

By : Danish Naglekar
Book Image

Extending Microsoft Power Apps with Power Apps Component Framework

By: Danish Naglekar

Overview of this book

Power Apps Component Framework is used by professional developers to extend the capabilities of model-driven and canvas apps. Extending Microsoft Power Apps with Power Apps Component Framework will take you through the basic as well as advanced topics using practical examples. The book starts by helping you understand the fundamentals of the framework, its lifecycle, and the tools that you'll use to build code components using best practices and file management guidelines. You'll then learn how to extend Power Apps step by step and apply the principles and concepts covered in the book to build code components for field type attributes. The book covers different ways of debugging code components and guides you through the process of building code components for datasets. You'll also explore the functions and methods provided by the framework to enhance your controls using powerful sets of libraries and extensions. As you advance, you'll get to grips with creating and managing authentication profiles, discover different ways of deploying code components, and configure code components in model-driven and canvas apps. Finally, you'll learn some of the important features of the framework and learn modern web development practices. By the end of this Power Apps book, you'll be able to build, debug, enrich, and deploy code components confidently.
Table of Contents (18 chapters)
1
Section 1: Fundamentals of the Power Apps Component Framework
6
Section 2: Building and Managing Code Components
12
Section 3: Enhancing Code Components and Your Development Experience

Integrating code components with out-of-the-box options

The application provides three out-of-the-box options on every view or sub-grid: namely, the command bar, the view selector, and quick search. These options not only enhance the user interface but also closely interact with the data on the view or sub-grid. The way the command bar interacts with the dataset is if you select a record from the dataset, then the list of buttons on the command bar will change. The view selector provides a different dataset query, which changes the data on the dataset. The quick find enables the user to search and filter the records within the dataset.

PCF provides an additional parameter that you can define on the data-set tag in the ControlManifest.Input.xml file. You can enable or disable which of the options you want your dataset to integrate with the options provided by the application. The following snippet sets all three options as true, which means that they are enabled to integrate:

...