Book Image

Learn Microsoft PowerApps

By : Matthew Weston
Book Image

Learn Microsoft PowerApps

By: Matthew Weston

Overview of this book

Microsoft PowerApps provides a modern approach to building business applications for mobile, tablet, and browser. Learn Microsoft PowerApps will guide you in creating powerful and productive apps that will add value to your organization by helping you transform old and inefficient processes and workflows. Starting with an introduction to PowerApps, this book will help you set up and configure your first application. You’ll explore a variety of built-in templates and understand the key difference between types of applications such as canvas and model-driven apps, which are used to create apps for specific business scenarios. In addition to this, you’ll learn how to generate and integrate apps directly with SharePoint, and gain an understanding of PowerApps key components such as connectors and formulas. As you advance, you’ll be able to use various controls and data sources, including technologies such as GPS, and combine them to create an iterative app. Finally, the book will help you understand how PowerApps can use several Microsoft Power Automate and Azure functionalities to improve your applications. By the end of this PowerApps book, you’ll be ready to confidently develop lightweight business applications with minimal code.
Table of Contents (25 chapters)
Free Chapter
1
Section 1: Getting Started with PowerApps
6
Section 2: Developing Your PowerApp
11
Section 3: Extending the Capabilities of Your PowerApp
18
Section 4: Working with Model-Driven Apps
21
Section 5: Governing PowerApps

Lab 10

Within this lab, we are going to implement a basic access control list using a collection so that we can define our administrators. Administrators will be able to view a list of all admins.

Activity 1: Creating the collection

The first thing that we are going to do is create the list of administrators so that our app will respond in different ways to different users that log in:

  1. Open your PowerApp.
  2. In the Tree view, select App:
  1. Ensure that you have the OnStart property selected.
  2. Below the exiting formulas, start a new line and create a collection of users:
ClearCollect(colUsers,{User: "[email protected]"},{User: "[email protected]"})
  1. Click the ellipsis next to App and select Run OnStart to populate your collection:
  1. Confirm that your collection has been populated by going to the Collections screen:

Now that we have created the underlying security structure, we can make the necessary changes to the rest of the app to...