Search icon CANCEL
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
Microsoft Power Apps Cookbook, 2e

You're reading from   Microsoft Power Apps Cookbook, 2e Apply low-code recipes to solve everyday business challenges and become a Power Apps pro

Arrow left icon
Product type Paperback
Published in Aug 2022
Publisher Packt
ISBN-13 9781803238029
Length 414 pages
Edition 2nd Edition
Arrow right icon
Author (1):
Arrow left icon
Eickhel Mendoza Eickhel Mendoza
Author Profile Icon Eickhel Mendoza
Eickhel Mendoza
Arrow right icon
View More author details
Toc

Table of Contents (15) Chapters Close

Preface 1. Building Pixel-Perfect Solutions with Canvas Apps 2. Building from Data with Model-Driven Apps FREE CHAPTER 3. Choosing the Right Data Source for Your Applications 4. Automating Processes with Power Automate 5. Extending the Platform 6. Improving User Experience 7. Power Apps Everywhere 8. Empowering Your Applications with No Code Artificial Intelligence 9. Discovering the Power Platform Admin Center 10. Tips, Tricks, and Troubleshooting 11. Advanced Techniques with Power Apps Component Framework 12. Reaching Beyond the Organization with Power Pages 13. Other Books You May Enjoy
14. Index

Building the application logic

Now that we have completed the project structure and manifest configuration, we can start building the application logic in the provided code resource file: index.ts

This file will be the component’s entry point and will be in charge of the control initialization, event handling, and control removal.

How to do it…

  1. From the Visual Studio Code menu, click on Terminal | New terminal. This action will open the integrated PowerShell console.
  2. From this integrated console, enter npm run build, and press Enter. This command will execute the component’s build process, including the manifest configuration.
  3. Using the Explorer pane, expand FontAwesomeComponent and double-click the index.ts file to open it.
  4. Enter the following code just below the export class sentence:
    private _URL: string;
    
  5. Find the init function and enter the following code between the curly brackets:
    this._URL...
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