You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: powerapps-docs/teams/inspections-hierarchy-locations.md
+77-82Lines changed: 77 additions & 82 deletions
Original file line number
Diff line number
Diff line change
@@ -1,149 +1,134 @@
1
1
---
2
-
title: Add hierarchy to ___location of Inspection
3
-
description: Learn about how the Inspection sample apps can be extended to add ___location of inspection
2
+
title: Add hierarchy to inspection ___location
3
+
description: Learn about how to add hierarchy to inspection locations in Inspections sample app.
4
4
author: sbahl10
5
5
ms.service: powerapps
6
6
ms.topic: conceptual
7
7
ms.custom:
8
-
ms.date: 06/15/2021
8
+
ms.date: 07/12/2021
9
9
ms.author: v-shrutibahl
10
10
ms.reviewer: tapanm
11
11
contributors:
12
-
- v-ljoel
12
+
- joel-lindstrom
13
+
- navjotm
14
+
- tapanm-msft
15
+
- sbahl10
13
16
---
14
17
15
-
# Inspections App – Add hierarchy to ___location of inspection
18
+
# Add hierarchy to inspection ___location
16
19
17
-
The Inspections Power Apps template allows users to create and perform inspections in the app. There are three apps, one per persona to perform,
18
-
manage, and review Inspections. The three apps are – Inspections, Manage Inspections and Review Inspections.
20
+
The Inspections sample app allows users to create and perform inspections in the app. There are three apps, one per persona to perform, manage, and review Inspections. The three apps are—Inspections, Manage Inspections and Review Inspections.
19
21
20
-
By default the Inspection app is designed for a single store. But what if you perform inspections on multiple stores? You will want to add a table for stores to the app and let the user select the store in which they are performing inspections so that you can track at which store the inspection was performed.
22
+
By default, the Inspections app is designed for a single store. But what if you perform inspections on multiple stores? You'll want to add a table for stores to the app and let the user select the store in which they are performing inspections so that you can track at which store the inspection was performed.
21
23
22
-
In this topic we will learn how to update the app to add a hierarchy of stores so that inspections can be performed for different stores.
24
+
In this article, we'll learn how to update the app to add a hierarchy of stores so that inspections can be performed for different stores.
23
25
24
26
## Prerequisites
25
27
26
-
To complete this lesson, we would need the ability to login into Microsoft Teams which will be available as part of select Microsoft 365 subscriptions and will also need to have the Inspections Power Apps template for Microsoft Teams installed. This app can be installed from aka.ms/TeamsInspection.
28
+
To complete this lesson, we'd need the ability to login into Microsoft Teams which will be available as part of select Microsoft 365 subscriptions, and will also need to have the Inspections sample app for Teams installed. This app can be installed from <https://aka.ms/TeamsInspection>.
27
29
28
30
## Edit the Inspections app
29
31
30
-
1. Login into Teams and right click Power Apps from the left menu and select **Pop out app**.
31
-
32
-
2. Select Build from the top ribbon.
32
+
1. Login into Teams, and right-click on Power Apps app from the left-pane, and select **Pop out app**.
33
33
34
-
3.Select the Team in which the Inspections app is installed.
34
+
1.Select **Build** from the top ribbon.
35
35
36
-
4.Select Inspections to open the app in the editor.
36
+
1.Select the team in which the Inspections app is installed.
37
37
38
-
5. The Inspections app opens.
38
+
1. Select Inspections to open the app in Power Apps Studio.
39
39
40
40
### Add a new table called Store
41
41
42
-
1.Select **Data** from the left navigation menu.
42
+
1. Select **Data** from the left-pane.
43
43
44
-
2.Select **+Add data**.
44
+
1.Select **+Add data**.
45
45
46
-
3.Select the **+Create new table**.
46
+
1.Select the **+Create new table**.
47
47
48
-
4. Enter table name Store and select **Create**.
48
+
1. Enter table name Store and select **Create**.
49
49
50
-
5. Select the **Add Column** button to add a new column.
50
+
1. Select the **Add Column** button to add a new column.
51
51
52
-
6.Enter column name = Store Number and select **Create** – the column gets added.
52
+
1.Enter column name as "Store Number", and select **Create**.
53
53
54
-
7.Add a few records of data in the table and select **Close.**
54
+
1.Add a few sample records in the table, and select **Close.**
22. Navigate to the Items Screen and select the **Back to home** button on top.
123
+
1. Go to **Checklist Steps** screen.
128
124
129
-
23. Update the following properties of that button
125
+
1. Select the **OnSelect** property of the screen, and update the patch function for updating the **Area Inspections** app to add the store value in the formula.
26. Update the Patch function for updating the Area Inspections app to add the Store value in the formula –
140
-
141
-
```
127
+
```powerapps-dot
142
128
, Store: gblSelectedStore
143
129
```
144
130
145
-
146
-

131
+

147
132
148
133
### Update the Welcome Screen navigation
149
134
@@ -167,7 +152,7 @@ To complete this lesson, we would need the ability to login into Microsoft Teams
167
152
168
153
### Publish the Inspections app
169
154
170
-
1. All the changes to the Inspection app are completed.
155
+
1. All the changes to the Inspections app are completed.
171
156
172
157
2. The app can now be published by selecting the Publish to Teams button on the top right.
173
158
@@ -341,7 +326,7 @@ Days
341
326
342
327
## Test the app
343
328
344
-
1. Open the Inspection App in the team in which it is installed.
329
+
1. Open the Inspections app in the team in which it is installed.
345
330
346
331
2. The app loads.
347
332
@@ -380,3 +365,13 @@ Days
380
365
19. The screen displays the Store name before the Submitted by as shown in the screenshot below.
381
366
382
367

0 commit comments