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 now! 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
Conferences
Free Learning
Arrow right icon
Microsoft Power Apps Cookbook, 2e
Microsoft Power Apps Cookbook, 2e

Microsoft Power Apps Cookbook, 2e: Apply low-code recipes to solve everyday business challenges and become a Power Apps pro , Second Edition

Arrow left icon
Profile Icon Eickhel Mendoza
Arrow right icon
NZ$40.99 NZ$58.99
Full star icon Full star icon Full star icon Full star icon Half star icon 4.7 (18 Ratings)
eBook Aug 2022 414 pages 2nd Edition
eBook
NZ$40.99 NZ$58.99
Paperback
NZ$73.99
Subscription
Free Trial
Arrow left icon
Profile Icon Eickhel Mendoza
Arrow right icon
NZ$40.99 NZ$58.99
Full star icon Full star icon Full star icon Full star icon Half star icon 4.7 (18 Ratings)
eBook Aug 2022 414 pages 2nd Edition
eBook
NZ$40.99 NZ$58.99
Paperback
NZ$73.99
Subscription
Free Trial
eBook
NZ$40.99 NZ$58.99
Paperback
NZ$73.99
Subscription
Free Trial

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning
Table of content icon View table of contents Preview book icon Preview Book

Microsoft Power Apps Cookbook, 2e

Building from Data with Model-Driven Apps

Model-driven apps are the data-centric siblings of canvas apps. They get their foundation from the business data model, taking an approach of placing building blocks on top of data. These blocks build up in a standard responsive layout, which allows the creation of a solution that adapts to any device.

Even though analyzing and setting up the data source is one of the main objectives of any application, this is the primary objective in model-driven apps. A complete understanding of the business process allows you to design your data model with a solid structure to support the proposed solution. The last step would be to build the app on top of this model.

This chapter will explore the model-driven world of Power Apps while building a help desk solution. Through these recipes, you will get a clear view of all the components available on this platform:

  • Exploring Dataverse
  • Configuring the environment
  • Building a...

Technical requirements

The proposed help desk solution requires the following recipes to be addressed in sequence to build a complete model-driven solution.

The complete version of this application is available from our GitHub repository at https://github.com/PacktPublishing/Microsoft-Power-Apps-Cookbook-Second-Edition/tree/main/Chapter02

Licensing requirements

When building model-driven solutions, there are some specific licensing requirements. Please refer to the Preface section of this book to get more information about the licensing model of this platform.

Exploring Dataverse

When we talk about the data model for model-driven apps, we mean Dataverse. The data gets stored in tables just like regular databases. The difference between a traditional database and Dataverse lies in the rich set of business-oriented features:

  • Use a set of standard business tables out of the box with the ability to add your own custom tables
  • Create a table, and the platform will automatically add all columns to address the underlying process requirements, such as owner info, tracking, status, versioning, and the like
  • Structure your data with various column data types, which helps in complex data modeling scenarios
  • Design relationships and define keys for standard and custom tables to ensure data integrity across the service
  • Enforce security on roles, records, and column levels, giving you complete flexibility when setting up data access
  • Add business features right from the table configuration: data consumption through...

Configuring the environment

When you configure a Dataverse database for the first time, it will create a set of business-centric tables, such as Accounts and Contacts. Starting from them, you would only need to add custom tables that your processes might need to achieve their goal. In this recipe, we will start creating the building blocks of an application to handle a help desk service.

Getting ready

To build our solution, we will start by setting up a new environment and use it as our development area. Then, we can pack our solution and deploy it wherever it is needed.

How to do it…

  1. Go to the Power Apps admin center by visiting https://admin.powerplatform.microsoft.com, or https://aka.ms/ppac for short. You can also navigate from the Power Apps maker portal by clicking on the upper-right gear icon and selecting Admin center.
  2. Once in the admin center, select Environments in the left pane and click on New. This action will open a panel where you...

Building a Power Platform solution

If environments serve as containers for all our Power Platform components, then a solution is the container for each development we build using those components. A solution creates a package to store all the pieces that compose your application, which aids in deployment, distribution, and management. More information on this subject can be found here: https://docs.microsoft.com/en-us/powerapps/maker/model-driven-apps/distribute-model-driven-app

Getting ready

To build our solution, we will start by setting up the publisher, which defines the solution’s developer and also specifies the prefix for all your custom tables and columns.

How to do it…

  1. From the Power Apps maker portal, select Solutions from the left menu, and then click on New Solution.
  2. Before describing the solution, click on New publisher and enter the Display name and Name. Enter a meaningful two-to-eight letters Prefix for all the elements you...

Defining data structures

For our help desk solution, we will use related tables as our data source. We will design a base column template to keep track of all the information needed. You can customize it to your own needs.

Getting ready

The following tables will make up our solution’s data structure with the main focus on the Ticket table, to which all the tables will be related. Let’s start with this one and then move on to the rest.

Ticket

This table will hold the base information of the help desk ticket and will be our data model’s primary object. The column structure is as follows:

Display name

Data type

Format

Title

Single line of text

Text

Description

...

Building the model-driven app

Creating a low-code application entails a different methodology for the application-building process. When using other technologies, you might need to choose the language, infrastructure, database system, and more. For model-driven applications, the essential principle is to create everything from the data structure and then build the components from there.

Getting ready

As per our example, the help desk solution will package all elements required for our application, such as tables, dashboards, and the like. All components can be exported in just one package and then imported into the destination environment.

We will use the Modern app designer to build the application. This designer allows more rapid application development, although it doesn’t have the complete list of features that the classic designer has. However, there is always a Switch to classic button to fall back to the classic designer when needed.

How to do it…...

Setting up business process logic

For every business process, there is always a step-by-step procedure that defines every requirement, objective, and resolution from start to end. Companies build on and improve these procedures depending on the business needs and even create departments to work exclusively on this.

Getting ready

Model-driven apps help set up these rules by providing several tools to define business logic at various platform levels. You can incorporate data validation rules, structured data flows to guide the end-user, and even trigger workflows for specific events in your processes. These are just some examples of what you can achieve with this platform.

Let’s improve our help desk application by adding business logic in two ways:

  • Hiding or making a column visible depending on the ticket status, by using a business rule. In our case, there is no reason for the Ticket Validation column to be visible unless the case is in a Resolved state...

Designing dashboards to visualize data

When working with business processes that deal with data, one of the main goals for organizations is to gain insights. Knowing where your operations are failing or where there is a market opportunity is vital, so having an easy way to interact with data is very important.

Dashboards are a feature in Dataverse that allow you to display a mix of graphs, grids of data, and web resources in one place. For example, web resources can include iframe objects, which can be used to display content from another website inside a model-driven application.

Building on the example used throughout this chapter, let’s add more value to the help desk solution by including a ticket dashboard.

How to do it…

  1. Let’s create the charts that we will use in our dashboard. Starting from our solution, expand the Ticket table and click on Charts. From the toolbar, click on New chart. This action will open a new tab to define the...

Integrating canvas apps inside model-driven apps

One of the best features present in canvas apps is the ability to access multiple external connectors from the same app. We can use this strength by embedding a canvas app as a component.

These are some scenarios in which this can be very helpful:

  • A canvas application that is already in use by the organization and we want to integrate into our model-driven solution.
  • A canvas app that connects to a legacy system using the on-premises data gateway.
  • An employee tracking system that gives us information about which of our customer locations our support staff is working at any given moment. This data could be helpful to see whether we already have someone from support at the customer’s location when a new ticket arrives.

Now let’s see how we can integrate a canvas into our model-driven solution.

How to do it…

  1. From the solution, expand the Project table and click on Forms...

Improving model-driven apps with custom pages

Model-driven apps offer many capabilities focused on data-driven solutions. These solutions use the features available from Dataverse, but what if you need to go beyond what model-driven apps provide?

The Power Apps roadmap hints about a convergence model in which model-driven apps and canvas apps use the same designer to build solutions. This feature offers the ability to unite the excellent capabilities available in canvas apps within model-driven applications. More information on this subject is available here: https://powerapps.microsoft.com/en-us/blog/custom-pages-for-converging-model-driven-apps-and-canvas-apps/

With this recipe, we will use canvas apps to make use of a device’s native capabilities – in this case, the Global Positioning System (GPS).

Getting ready

Building on this chapter’s solution, we will improve the data handling of the Ticket Operations table. Before we begin, go to the table...

Left arrow icon Right arrow icon
Download code icon Download Code

Key benefits

  • Enhanced with added content on Power Pages, robotic process automation, map capabilities for canvas apps, solutions using mixed reality, and much more
  • Explore a variety of built-in templates to create custom apps for specific business scenarios
  • Strengthen your enterprise applications with advanced techniques and proven tips using a low-code approach

Description

Power Apps is a low-code platform owned by Microsoft. With this platform, you can create solutions to solve your business needs while integrating with other components of the Power Platform, such as Microsoft Power Automate, Microsoft Power BI, and others. This book is a handy solution guide to meet many organizational requirements. Microsoft Power Apps Cookbook, Second Edition, takes a pragmatic approach where every business scenario is presented in a quick, practical, and action-oriented recipe. You will be able to use these instant solutions in your development environment and customize your business apps to meet challenging business needs. This will help you handle real-world scenarios and experiences to give you a head start in your Power Apps projects. You will discover various aspects of Power Apps, from building canvas apps, designing model-driven solutions, extending apps with custom connectors, and integrating apps with other platforms, to the pro-developer side including Power Apps Component Framework and creating website experiences for external users with Power Pages. By the end of this Microsoft Power Apps book, you will have gained experience in developing applications using the Power Apps platform and all its features.

Who is this book for?

This book is targeted at information workers and citizen developers wanting to develop custom applications for their organizations or the projects they are undertaking. Traditional app developers will also find this book useful by discovering how to use a rapid application development environment with increased productivity and speed. Readers are expected to have prior exposure to the Microsoft Power Platform ecosystem.

What you will learn

  • Learn to integrate and test canvas apps
  • Design model-driven solutions using various features of Microsoft Dataverse
  • Automate business processes such as triggered events, status change notifications, and approval systems with Power Automate
  • Implement RPA technologies with Power Automate
  • Extend your platform using maps and mixed reality
  • Implement AI Builder s intelligent capabilities in your solutions
  • Extend your business applications capabilities using Power Apps Component Framework
  • Create website experiences for users beyond the organization with Microsoft Power Pages

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Aug 30, 2022
Length: 414 pages
Edition : 2nd
Language : English
ISBN-13 : 9781803243283
Vendor :
Microsoft
Category :
Tools :

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning

Product Details

Publication date : Aug 30, 2022
Length: 414 pages
Edition : 2nd
Language : English
ISBN-13 : 9781803243283
Vendor :
Microsoft
Category :
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
$19.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
$199.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just NZ$7 each
Feature tick icon Exclusive print discounts
$279.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just NZ$7 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total NZ$ 240.97
Microsoft Power Platform Solution Architect's Handbook
NZ$92.99
Workflow Automation with Microsoft Power Automate, Second edition
NZ$73.99
Microsoft Power Apps Cookbook, 2e
NZ$73.99
Total NZ$ 240.97 Stars icon

Table of Contents

14 Chapters
Building Pixel-Perfect Solutions with Canvas Apps Chevron down icon Chevron up icon
Building from Data with Model-Driven Apps Chevron down icon Chevron up icon
Choosing the Right Data Source for Your Applications Chevron down icon Chevron up icon
Automating Processes with Power Automate Chevron down icon Chevron up icon
Extending the Platform Chevron down icon Chevron up icon
Improving User Experience Chevron down icon Chevron up icon
Power Apps Everywhere Chevron down icon Chevron up icon
Empowering Your Applications with No Code Artificial Intelligence Chevron down icon Chevron up icon
Discovering the Power Platform Admin Center Chevron down icon Chevron up icon
Tips, Tricks, and Troubleshooting Chevron down icon Chevron up icon
Advanced Techniques with Power Apps Component Framework Chevron down icon Chevron up icon
Reaching Beyond the Organization with Power Pages Chevron down icon Chevron up icon
Other Books You May Enjoy Chevron down icon Chevron up icon
Index Chevron down icon Chevron up icon

Customer reviews

Most Recent
Rating distribution
Full star icon Full star icon Full star icon Full star icon Half star icon 4.7
(18 Ratings)
5 star 88.9%
4 star 0%
3 star 5.6%
2 star 5.6%
1 star 0%
Filter icon Filter
Most Recent

Filter reviews by




Pink Sep 02, 2024
Full star icon Full star icon Full star icon Full star icon Full star icon 5
I bought the paper book, the book is very good. I have difficulty seeing the link in the book, I want to download the pdf file but can't find how to download it. Anyone know how to tell me?
Amazon Verified review Amazon
Raymond Tham Jul 02, 2024
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Excellent book
Feefo Verified review Feefo
William McKibbin Dec 15, 2023
Full star icon Full star icon Empty star icon Empty star icon Empty star icon 2
I was hoping for more out of this book. All the 3-star and lower ratings are accurate. I found YouTube videos way more helpful. This had a couple things that were nice, but I'd rather have my money back. Would not recommend.
Amazon Verified review Amazon
R.A. Nov 23, 2023
Full star icon Full star icon Full star icon Empty star icon Empty star icon 3
A lot of the information provided is either outdated, doesn't apply, is INCOMPLETE, lacks support info, is INCONSISTENT or just doesn't work at all... So annoying.... So unprofessional.. I spend hours and days trying to figure out how to get things working, so many of the exercises cannot even be completed. The author leaves you guessing a lot, which is annoying and frustrating. Exercises don't even work. My conclusion is that this was a very lazy author. I appreciate the effort in setting this all up, I really do, but I hate the fact that these exercises don't even work, lack support info all the time.. what's the whole point if you end up not being able to finish the exercises to test your skills? This could have been easily avoided if the author tested his own material. Most likely he never had his book reviewed by 'dummies'.... I gave him 3 stars for trying to write a good book.. Could have been so much better if the author took this seriously.. A waste of time if you let us read the material and you end up with a sloppy mess.. I think the author just wrote down what someone else told him to write.. But there's also stunning content which really impressed me, for example the very easy to follow explanation how to Intregrate Power Apps with SharePoint and improve the SPO features with JSon, SO EASY to do thanks to the explanation with stunning results.
Subscriber review Packt
SCOTT DUROW Apr 26, 2023
Full star icon Full star icon Full star icon Full star icon Full star icon 5
This 'cookbook' covers everything from the basics to the advanced to help you build better Power Apps. You will discover how to integrate Power Apps with different data sources, such as SharePoint, SQL Server, Teams and Dataverse. There are tonnes of practical tips, tricks, and clear step-by-step screenshot examples covering canvas apps, model-driven apps, cloud flows, desktop flows, Power Pages, and even custom connectors and PCF components!This second edition is updated with some of the recent features and changes to the Power Platform. Whether you are new to the Power Platform or a seasoned experienced developer this book has something to offer. I find myself often using the index at the back for ideas and inspiration from what Eickhel has to say on that topic!
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How do I buy and download an eBook? Chevron down icon Chevron up icon

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website? Chevron down icon Chevron up icon

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook? Chevron down icon Chevron up icon
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support? Chevron down icon Chevron up icon

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks? Chevron down icon Chevron up icon
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook? Chevron down icon Chevron up icon

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.