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

Exercise – creating a PCF project using Power Apps CLI

Let’s initialize a new PCF project using Power Apps CLI by performing the following steps:

  1. Create a folder named CustomTagsCLIProject.
  2. Open this folder in VS Code.
  3. Open an integrated terminal of VS Code.
  4. Run the following command to initialize the project:

    pac pcf init --namespace PowerMeUp --name CustomTagsCLI --template field

  5. Execute the installation command:

    npm install

If you have executed the steps just mentioned, you should be able to compare them with the following screenshot:

Figure 2.2 – Executing the pac command

Once you have successfully executed the commands, you should see several folders and files created under the CustomTagsCLI project and the folder structure should look something like the following screenshot:

Figure 2.3 – Outcome after executing the pac command

See how easy it was to create our own PCF...

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