Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Microsoft Power Apps Cookbook

You're reading from   Microsoft Power Apps Cookbook Build user-friendly apps, troubleshoot challenges, and navigate the evolving Power Apps landscape

Arrow left icon
Product type Paperback
Published in Oct 2024
Publisher Packt
ISBN-13 9781835465158
Length 438 pages
Edition 3rd Edition
Languages
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 (16) Chapters Close

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

How to build a Power Platform solution

A Power Platform solution consists of a package that stores all the pieces that compose the solution you’ve created to solve your business need. It aids in deployment, distribution, and management. Examples of these pieces can be Power Automate cloud flows, model-driven apps, Power BI reports, or Dataverse tables.

Creating a solution is a straightforward process, but that doesn’t mean you don’t need to follow specific steps to include best practices for your solutions.

For example, if you need to interact with a particular service, the platform uses a connection reference. When working with solution components such as cloud flows, the platform will try to help you by creating connection references for you but using random naming. It becomes even more complicated if multiple solutions exist within a specific environment. One component from one solution might use a connection reference from another without you noticing.

Setting up the connection references before creating components can solve these issues easily. This way, the platform will automatically use the solution’s connection references and the naming pattern you decide.

Getting ready

After creating the solution, we will need to choose a data source to define the steps required to configure a connection reference. For this example, we will use SharePoint.

How to do it…

  1. Go to the Power Apps maker portal, https://make.powerapps.com, select Solutions from the left pane, and click + New solution from the toolbar.
  2. Before describing the solution, click + New publisher and enter the display name and name in the Display name and Name fields respectively. Enter a meaningful two-to-eight-letter Prefix value that will be used for all the elements you will create. Check the Preview of new object name for an example of how a component will be named. Keep the default Choice value prefix and click on Save.
  3. Back in the New solution pane, enter the desired Display name and Name for the solution, select your newly created Publisher, and click on Create:

Figure 1.1: Solution settings

  1. Once the solution is created, from the toolbar, click New | More | Connection Reference.
  2. From the panel that opens, set the Display name to AMPI-SharePoint, leave the Name as it is, and choose SharePoint from the Connector dropdown. If you already have a connection, select it. If not, create one with your credentials by selecting New connection.
  3. Repeat Steps 4 and 5 for any other service your solution might require.

How it works…

This creation process will prepare the solution and open it automatically. The SharePoint connection reference will be available to every component that can use it, such as a cloud flow or a canvas app. This way, we will get a more organized solution for our projects.

Regarding the publishers, from the left pane, click More, Discover all, and then on Publishers inside the App Management section to see the list of all publishers included in the current environment.

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
Banner background image