Skip to content

Commit cf78328

Browse files
committed
Added steps to deploy admin app
1 parent 9a38adc commit cf78328

File tree

2 files changed

+77
-10
lines changed

2 files changed

+77
-10
lines changed
Loading

powerapps-docs/maker/canvas-apps/sample-coronavirus-app.md

Lines changed: 77 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ The data for the app will live in SharePoint lists. We'll first need to create n
6565
The app requires multiple lists that store all the data. To automate the
6666
creation of the SharePoint lists, you can use the *DeploySPLists* flow available from the downloaded [assets package](#prerequisites).
6767

68-
### Import the flow
68+
### Import the SharePoint list deployment flow
6969

7070
1. Go to [flow.microsoft.com](https://flow.microsoft.com)
7171
1. Select **My flows** from the left navigation.
@@ -89,7 +89,7 @@ creation of the SharePoint lists, you can use the *DeploySPLists* flow available
8989
1. Select **Save**.
9090
1. Select **Import**.
9191

92-
### Edit the flow
92+
### Edit the SharePoint list deployment flow
9393

9494
1. Once the import is done, go back to **My flows** and refresh the list of
9595
Flows
@@ -104,16 +104,26 @@ creation of the SharePoint lists, you can use the *DeploySPLists* flow available
104104

105105
1. Select **Save** to commit your changes.
106106

107-
### Run the flow
107+
### Run the SharePoint list deployment flow
108108

109109
1. Go back to the detail screen for the **DeploySPList flow.**
110110
1. Select **Run** from the command bar.
111111
1. Select **Continue** to and then **Run flow** to trigger the flow.
112112

113+
> [!NOTE]
114+
> You may receive an error stating that ___location services are required.
115+
If this happens, please allow ___location services to Power Automate and refresh the page before trying again.
116+
113117
![Sign in to run the flow](media/sign-in-flow.png)
114118

115119
![Run the flow](media/run-flow.png)
116120

121+
122+
> [!NOTE]
123+
> - All list columns listed above should be considered as dependencies.
124+
Please protect the lists from accidental schema changes (for example, adding
125+
new columns is allowed, but deleting columns may break the app.)
126+
117127
The flow will then create the following SharePoint lists within your defined
118128
Share
119129

@@ -145,7 +155,7 @@ connect it to your new data sources.
145155
1. Sign in to [Power Apps](https://make.powerapps.com).
146156
1. Select **Apps** from the left navigation.
147157
1. Select **Import** from the command bar.
148-
1. Upload the **CrisisCommunicationApp.zip** file from the GitHub repository:
158+
1. Upload the **CrisisCommunication.zip** file from the GitHub repository:
149159

150160
![Import app package](media/import-app.png)
151161

@@ -186,18 +196,67 @@ connect it to your new data sources.
186196

187197
![SharePoint site URL](media/site-url.png)
188198

189-
1. Select all the SharePoint lists and select **Connect**:
199+
1. Select all the SharePoint lists and libraries and select **Connect**:
190200

191201
![Connect to SharePoint lists](media/sharepoint-lists.png)
192202

193203
1. **Save** and **Publish** the app.
194204

195205
## Import and setup the admin app
206+
To manage the app you just imported, you'll want to repeat the same steps for the admin app.
207+
208+
1. Sign in to [Power Apps](https://make.powerapps.com).
209+
1. Select **Apps** from the left navigation.
210+
1. Select **Import** from the command bar.
211+
1. Upload the **CrisisCommunicationAdminApp.zip** file from the GitHub repository:
212+
213+
![Import app package](media/import-app.png)
214+
215+
1. Select **Import**.
216+
217+
### Update the SharePoint connections
218+
219+
1. Go back to the **Apps** list.
220+
1. Select **More Commands** (...) for **Crisis Communication Admin App** app.
221+
1. Select **Edit** from the contextual menu:
222+
223+
![Edit app](media/sample-crisis-communication-app/08-Edit-Admin-App.png)
224+
225+
1. **Sign in** or create any necessary connections and select **Allow**:
226+
227+
1. Navigate to the data sources in the left pane:
228+
229+
![Data sources](media/data-sources.png)
230+
231+
1. **Remove** existing SharePoint lists inside of the app as they do
232+
not point to your current SharePoint site:
233+
234+
![Remove data sources](media/remove-data-source.png)
235+
236+
1. Add the lists from your own SharePoint site. Start by
237+
searching for SharePoint in the search bar:
238+
239+
![Search SharePoint](media/sharepoint.png)
240+
241+
1. Select **SharePoint** and choose a connection:
242+
243+
![SharePoint connection](media/sharepoint-connection.png)
244+
245+
1. Copy and paste the URL to your SharePoint site in the text field and select
246+
**Connect**:
247+
248+
![SharePoint site URL](media/site-url.png)
249+
250+
1. Select all the SharePoint lists and libraries and select **Connect**:
251+
252+
![Connect to SharePoint lists](media/sharepoint-lists.png)
253+
254+
1. **Save** and **Publish** the admin app.
196255

197256
### Create initial content for the app
198257

199258
To create initial content for your app, refer to the **administration doc
200-
article**. Before proceeding to the next step, be sure to *add your admin
259+
article**. Before proceeding to the next step, be sure to at least *add your admin
201260
settings*.
202261

203262
### Test the Crisis Communication app
@@ -217,10 +276,10 @@ The app uses a flow to send notifications to end users whenever there is a new c
217276
1. Navigate to [flow.microsoft.com](https://flow.microsoft.com)
218277
1. Select **My flows** from the left navigation.
219278
1. Select the **Import** button in the command bar.
220-
1. Upload the **NotifyUsersOfCrisisNews.zip** package from the GitHub
279+
1. Upload the **CrisisCommunicationNewsNotification.zip** package from the GitHub
221280
repository:
222281

223-
![Upload NotifyUsersOfCrisisNews.zip](media/upload-news-notification.png)
282+
![Upload CrisisCommunicationNewsNotification.zip](media/upload-news-notification.png)
224283

225284
1. Add connections for the new Flow by selecting the **Select during import**
226285
link for each connection and completing the form:
@@ -267,7 +326,7 @@ The app uses a flow to send notifications to end users whenever there is a new c
267326
### Edit the news notification flow
268327

269328
1. Once the import is done, go back to **My flows**.
270-
1. Select the newly imported flow **Notify users of crisis news**.
329+
1. Select the newly imported flow **Notify users on new crisis communication news**.
271330
1. Select **Edit** from the command bar.
272331
1. Open the card called **When a new item is posted**
273332
1. Change the **Site Address** to the name of your SharePoint site.
@@ -282,4 +341,12 @@ The app uses a flow to send notifications to end users whenever there is a new c
282341

283342
1. Select **Save** to commit your changes.
284343

285-
Test the news notification flow.
344+
345+
> [!NOTE]
346+
> You may receive an error if one of your connections has not been authorized yet.
347+
If this happens, please open the card with the unauthorized connection and reauthorize.
348+
349+
### Edit the news notification flow
350+
To test the news notification flow, go back to the admin app and create a new internal company update.
351+
Afterwards, all of the users within your distribution list will receive an update by your preferred notification
352+
preference.

0 commit comments

Comments
 (0)