Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Extending Microsoft Power Apps with Power Apps Component Framework

You're reading from   Extending Microsoft Power Apps with Power Apps Component Framework A complete guide to creating, deploying, and improving your code components

Arrow left icon
Product type Paperback
Published in Feb 2021
Publisher Packt
ISBN-13 9781800564916
Length 318 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Danish Naglekar Danish Naglekar
Author Profile Icon Danish Naglekar
Danish Naglekar
Arrow right icon
View More author details
Toc

Table of Contents (18) Chapters Close

Preface 1. Section 1: Fundamentals of the Power Apps Component Framework
2. Chapter 1: Introduction to the Power Apps Component Framework FREE CHAPTER 3. Chapter 2: Power Apps CLI 4. Chapter 3: Community Tools and Resources 5. Chapter 4: Project Overview and the Component Life Cycle 6. Section 2: Building and Managing Code Components
7. Chapter 5: Code, Test, and Repeat 8. Chapter 6: Debugging Code Components 9. Chapter 7: Authentication Profiles 10. Chapter 8: Introduction to the Dataverse Project 11. Chapter 9: Configuring Code Components in Power Apps 12. Section 3: Enhancing Code Components and Your Development Experience
13. Chapter 10: Diving Deep into the Features Provided by PCF 14. Chapter 11: Creating Advanced Dataset Code Components 15. Chapter 12: Enriching Your Dev Experience 16. Answers to Knowledge Tests 17. Other Books You May Enjoy

Overview of the test harness

The test harness is a utility built by Microsoft that helps you quickly render a component in a local environment, helping you to test and debug the code component. We have already seen parts of this utility in the previous chapter. Let's understand the different aspects of the test harness; we'll start the test harness from within a PCF project. The command to start the test harness is either npm start or npm start watch.

After the test harness has started, the component will be displayed in a browser window. Observe the following screenshot – the panel on the right has three main sections: Context Inputs, Data Inputs, and Data Outputs:

Figure 6.1 – Overview of the test harness

Let's analyze each of those sections in detail:

  • Context Inputs: Within the test harness, you can provide various inputs to specify how the component will be rendered. You can select the form factor, such as Web, Tablet...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime