Search icon
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Microsoft Power Apps Cookbook, 2e - Second Edition

You're reading from  Microsoft Power Apps Cookbook, 2e - Second Edition

Product type Book
Published in Aug 2022
Publisher Packt
ISBN-13 9781803238029
Pages 414 pages
Edition 2nd Edition
Languages
Author (1):
Eickhel Mendoza Eickhel Mendoza
Profile icon Eickhel Mendoza

Table of Contents (15) Chapters

Preface 1. Building Pixel-Perfect Solutions with Canvas Apps 2. Building from Data with Model-Driven Apps 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 €14.99/month. Cancel anytime}