Skip to content

Commit 9d149cc

Browse files
committed
2327179
1 parent 14d1c49 commit 9d149cc

File tree

1 file changed

+34
-33
lines changed

1 file changed

+34
-33
lines changed

powerapps-docs/teams/customize-inspection-steps.md

Lines changed: 34 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ In this article, we'll learn how to customize inspection steps in the user app.
2323

2424
## Prerequisites
2525

26-
To complete this lesson, we'd need the ability to sign-in to 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>.
26+
To complete this lesson, we'd need the ability to sign-in to Microsoft Teams that 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>.
2727

2828
## Open the Inspections app
2929

@@ -50,23 +50,23 @@ To complete this lesson, we'd need the ability to sign-in to Microsoft Teams whi
5050

5151
1. This article explains the following scenarios:
5252

53-
- [Hiding the Add details section](#hiding-the-add-details-section)
53+
- [Hide the Add details section](#hide-the-add-details-section)
5454

5555
![Hide Add Details Section](media/customize-inspection-steps/hide-add-details-section.png "Hide Add Details Section")
5656

57-
- [Hiding just the Photo option](#hiding-the-photo-option)
57+
- [Hide just the Photo option](#hide-the-photo-option)
5858

5959
![Hide Photo Option](media/customize-inspection-steps/hide-photo-option.png "Hide Photo Option")
6060

61-
- [Hiding the Task option](#hiding-the-task-option)
61+
- [Hide the Task option](#hide-the-task-option)
6262

6363
![Hide Task Option](media/customize-inspection-steps/hide-task-option.png)
6464

65-
## Hiding the Add Details section
65+
## Hide the Add Details section
6666

6767
Hiding the Add Details section includes more than just setting the Visible property of all those controls to False.
6868

69-
1. Set the **Visible** property for the **Add details** label, and the other labels (Photo, Note and Task) and their icons to "False".
69+
1. Set the **Visible** property for the **Add details** label, and the other labels (Photo, Note, and Task) and their icons to "False".
7070

7171
![Add Details Label visibility False](media/customize-inspection-steps/lbladddetails-visible-false.png "Add Details Label")
7272

@@ -76,7 +76,7 @@ Hiding the Add Details section includes more than just setting the Visible prope
7676

7777
![All icons visibility False](media/customize-inspection-steps/all-icons-visible-false.png "All icons visibility False")
7878

79-
1. We'll also need to shrink the white space containing the Photo, Note and Task buttons to avoid wasting any extra space. Select **btnActionBackground** control from the tree view, select somewhere on the white space to highlight the box space.
79+
1. We'll also need to shrink the white space containing the Photo, Note, and Task buttons to avoid wasting any extra space. Select **btnActionBackground** control from the tree view, select somewhere on the white space to highlight the box space.
8080

8181
![Adjust Button Background](media/customize-inspection-steps/adjust-button-background.png "Adjust Button Background")
8282

@@ -92,50 +92,51 @@ Hiding the Add Details section includes more than just setting the Visible prope
9292
9393
The white space shrinks, and leaves no extra space hiding the entire **Add Details** section.
9494
95-
### Hiding the Photo Option
95+
## Hide the Photo Option
9696
97-
1. For this scenario (assuming all the changes made above were undone), we will have to set the Visible property of the Photo option label and icon to false and then move the Note option and the Task Options to the left.
98-
2. To hide the Photo option, we will select grpPhoto from the tree view and set Visible = false.
97+
This scenario requires to revert all the changes made above. And then, we'll have to set the **Visible** property of the Photo option label, and icon to "False", and then move the Note option and the Task Options to the left.
9998
100-
![Photo visibility set to False](media/customize-inspection-steps/set-grpphoto-visible-false.png "Photo visibility set to False")
99+
1. To hide the Photo option, select **grpPhoto** from the tree view, and set **Visible** property to "False".
101100
102-
3. The Note option needs to move to the left in place of the Photo option – for this copy the X property of the Photo Icon and paste it in the X property of the Note icon (Notice that the label also moves along with the icon – this is because the Note label’s X property is dependent on the Note icon’s X
103-
property and changes accordingly thus leaving no empty spaces – the Task option also reacts similarly)
101+
![Photo visibility set to False](media/customize-inspection-steps/set-grpphoto-visible-false.png "Photo visibility set to False")
104102
105-
```
106-
btnImageBackground.X+18
107-
```
103+
1. The Note option needs to move to the left in place of the Photo option. Copy the X property of the Photo Icon and paste it in the X property of the Note icon (notice that the label also moves along with the icon&mdash;this is because the Note label’s X property is dependent on the Note icon’s X property, and changes accordingly thus leaving no empty spaces – the Task option also reacts similarly).
108104
109-
![Adjust X position of Note icon](media/customize-inspection-steps/adjust-note-icon-x.png "Adjust X position of Note icon")
105+
```powerapps-dot
106+
btnImageBackground.X+18
107+
```
108+
109+
![Adjust X position of Note icon](media/customize-inspection-steps/adjust-note-icon-x.png "Adjust X position of Note icon")
110+
111+
## Hide the Task Option
110112
111-
### Hiding the Task Option
113+
This scenario requires to revert all the changes made above. With this scenario, we only want to hide the Task section.
112114
113-
1. For this scenario (assuming all the changes made above were undone), we only want to hide the Task section.
114-
115-
2. Since there are no other controls dependent on the Task control it is a fairly straightforward change to make where we would change the Visible
116-
property for grpTask to false.
117-
118-
3. This was an easy change and did not need any additional changes as hiding the Task option does not really affect anything else.
115+
Change the **Visible** property for **grpTask** to "False".
119116
120117
![Task visibility set to False](media/customize-inspection-steps/set-grptask-visible-false.png "Task visibility set to False")
121118
122-
### Publish the Inspection app
119+
## Publish the Inspection app
123120
124-
1. All the changes to the Inspection app are completed.
121+
All the changes to the Inspection app are completed.
125122
126-
2. The app can now be published by selecting the Publish to Teams button on the top right.
123+
1. Select **Publish to Teams** on the top-right.
127124
128-
![Publish to Teams](media/customize-inspection-steps/publish-to-teams.png "Publish to Teams")
125+
![Publish to Teams](media/customize-inspection-steps/publish-to-teams.png "Publish to Teams")
129126
130-
![Confirm publishing to Teams](media/customize-inspection-steps/confirm-publishing-to-teams.png "Confirm publishing to Teams")
127+
1. Select **Next**.
131128
132-
![Add app to Channel](media/customize-inspection-steps/add-to-channel.png "Add app to Channel")
129+
![Confirm publishing to Teams](media/customize-inspection-steps/confirm-publishing-to-teams.png "Confirm publishing to Teams")
130+
131+
1. Select **Save and close**.
132+
133+
![Add app to Channel](media/customize-inspection-steps/add-to-channel.png "Add app to Channel")
133134
134135
## Test the app
135136
136-
1. On the Inspection list screen, once you make the change for any of the above listed scenarios, hit the Preview button to run the app.
137-
138-
2. Make sure to check for responsiveness by shrinking the size of the screen when testing in the Window mode.
137+
On the Inspection list screen, once you make the change for any of the above listed scenarios, select **Preview** to run the app.
138+
139+
Make sure to check for responsiveness by shrinking the size of the screen when testing in the Window mode.
139140
140141
### See also
141142

0 commit comments

Comments
 (0)