What this book covers
Chapter 1, Introduction to the Power Apps Component Framework, teaches the basics of Power Apps component framework, who it is aimed toward, why it should be used, and how it is different from HTML web resources. It also details some of the advantages of using this framework and mentions the prerequisites for getting started with building code components using this framework.
Chapter 2, Power Apps CLI, defines what Power Apps CLI is and provides you with a basic understanding of the npm package. It also describes how to get started with Power Apps CLI.
Chapter 3, Community Tools and Resources, covers community tools that simplify building and managing code components. It also covers the community repository of all publicly available code components.
Chapter 4, Project Overview and the Component Life Cycle, explains the types of projects provided by Power Apps CLI. It also explains the makeup of code components along with file and folder structures. It showcases the structure of the Control Manifest and index.ts files in detail. At the end of the chapter, it covers the component life cycle and how events interact with each other and their host.
Chapter 5, Code, Test, and Repeat, explains the process of initializing a PCF project, editing the manifest file, and writing code to create components. It also showcases methods to add styling and preview images. It provides a step-by-step guide to create code components for a field and view.
Chapter 6, Debugging Code Components, provides an overview of the test harness included with the framework and guides you through different debugging processes. It also provides information on how to debug a code component when it is already deployed to model-driven or canvas apps using Fiddler AutoResponder.
Chapter 7, Authentication Profiles, provides an overview of authentication profiles and how to create them. It also describes the ways to manage them, from changing the default profile to deleting a profile. It shows the process to quickly deploy your code components to a preferred Microsoft Dataverse environment.
Chapter 8, Introduction to the Dataverse Project, provides an introduction to the Microsoft Dataverse Project and how to initialize, add, and build your code components in that project. It also covers the process of building and deploying multiple code components in a single solution to the Microsoft Dataverse environment.
Chapter 9, Configuring Code Components in Power Apps, showcases how to configure field and datatype code components on both model-driven and canvas apps. It also details differences in the rendering of code components on model-driven and canvas apps.
Chapter 10, Diving Deep into the Features Provided by PCF, explains in depth about events, important features, and methods provided by the framework and how to use them in each scenario with examples.
Chapter 11, Creating Advanced Dataset Code Components, explains advanced features, such as sorting, paging, opening a selected record, and integrating out-of-the-box options available on views and sub-grids that can be added to a dataset code component to enhance the user experience.
Chapter 12, Enriching Your Dev Experience, provides guidance on the process of using modern web techniques to make your code look pretty and set up a pattern to analyze the code for potential errors. It will show you the process of setting up a testing framework. It will also teach you how to use React and Fluent UI by providing a step-by-step guide to create your own code component.