-
Book Overview & Buying
-
Table Of Contents
Microsoft Power Apps Cookbook - Second Edition
By :
Tracking processes is a necessity for customers everywhere. As in any development process, the first step is to gather all the requirements needed to fulfill the business need; this will then help us design the data structure to support our application.
As for the data source, this recipe will set up the required fields in a SharePoint list while also applying certain settings to make it as performant as it should be.
Before diving into developing solutions with Power Apps, you will need a Microsoft 365 subscription. Please refer to the Preface section for suggestions on getting a playground to build your apps.
We will use SharePoint as the data source for this recipe, so we will start by creating a list. The actual list creation process is pretty straightforward, leaving plenty of time for our application design.
When working with SharePoint Online, you need to remember that we are working on a web application with specific response and performance levels to provide the best user experience. To meet this, Microsoft has set a view threshold of 5,000 elements per list. Even though a list can hold up to 30 million items, querying data exceeding this limit will result in platform errors, making the list unresponsive.
These are a few recommendations to keep your lists performant:
For reference on this subject, check out the following links:
Clients as the Name, leave the Description field blank, and click on Create. This action will create a list with a default structure:
Figure 1.1: List creation procedure
Name and click OK.|
Column name |
Column data type |
Required |
|
Name |
Single line of text |
Yes |
|
Address |
Multiple lines of text |
No |
|
Phone |
Single line of text |
No |
|
|
Single line of text |
No |
Table 1.1: Clients list columns
Incidents list. Rename the Title column to Incident and set the columns as seen in the following table:
|
Column name |
Column data type |
Required |
|
Incident |
Single line of text |
Yes |
|
Customer Name |
Lookup |
Yes |
|
Date |
Date and Time |
Yes |
|
Priority |
Choice |
Yes |
|
Comments |
Multiple lines of text |
No |
Table 1.2: Incident list columns
The Choice type means that it will use a list of items to choose from, and the Lookup type indicates that this column will link to another list that holds another set of data. In this case, we will use this column to relate the incidents to the clients.
High, Medium, and Low. Set the Default value as LowNow that we have our lists in place, let’s see how this list and its relationships come together.
After setting up our data source, we can now start entering some test data to use in our app.

Figure 1.2: Site contents option
Yennu EnterprisesOne Yennu road+1 555 800 5555[email protected]Failure in the programming of the executive elevatorYennu Enterprises (link)11/17/2020High The elevator returns itself to the last floor when idle.