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: docs/sp-add-ins/incident-manager-a-cloud-business-add-in-tutorial.md
+41-51Lines changed: 41 additions & 51 deletions
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,3 @@
1
-
---
2
-
title: Incident manager: A cloud business add-in tutorial
3
-
ms.prod: SHAREPOINT
4
-
ms.assetid: 8dec09e6-e197-4f68-bcc2-ca41105c5d61
5
-
---
6
-
7
1
8
2
# Incident manager: A cloud business add-in tutorial
9
3
By using the **Cloud Business Add-in** template in Visual Studio, you can create a SharePoint hosted in which mobile users can view, add, and update data from remote locations by using modern, touch-oriented devices such as phones and tablets. In this tutorial, you'll create an add-in for a fictional Contoso Fire Department to handle on-scene incident management. The walkthrough covers the core concepts of building a Cloud Business Add-in as well as more advanced concepts such as integrating SharePoint lists and document libraries.
@@ -56,7 +50,7 @@ You will build the mobile add-in that will be used to enter basic information ab
56
50
57
51
58
52
59
-

53
+

60
54
61
55
62
56
@@ -152,7 +146,7 @@ You will build the mobile add-in that will be used to enter basic information ab
152
146
153
147
154
148
155
-

149
+

156
150
157
151
158
152
@@ -190,13 +184,9 @@ You will build the mobile add-in that will be used to enter basic information ab
190
184
|7|Service Call|
191
185
|||
192
186
193
-
At run time, a list of the display names will be presented to the user. When they make a choice, the corresponding **Integer** value will be stored in the database.
194
-
195
-
196
-
197
-
187
+
At run time, a list of the display names will be presented to the user. When they make a choice, the corresponding **Integer** value will be stored in the database.
198
188
199
-
In the next step, you'll add a Patient entity. Many of the fire department's incidents involve medical aid, and a single incident often involves multiple patients.
189
+
In the next step, you'll add a Patient entity. Many of the fire department's incidents involve medical aid, and a single incident often involves multiple patients.
200
190
201
191
202
192
@@ -215,7 +205,7 @@ You will build the mobile add-in that will be used to enter basic information ab
215
205
216
206
217
207
218
-

208
+

219
209
220
210
221
211
@@ -252,7 +242,7 @@ You will build the mobile add-in that will be used to enter basic information ab
252
242
253
243
254
244
255
-

245
+

256
246
257
247
258
248
This creates a zero or one to many relationship between incidents and patients. An incident record doesn't have to have a patient, but every patient has to have a related incident record.
@@ -294,7 +284,7 @@ You will build the mobile add-in that will be used to enter basic information ab
Browse, View Details, and Add/Edit screens are added to the HTMLClient project. The Browse screen is automatically set as the home screen for the application, and the necessary commands for launching the View and Add/Edit screens are automatically provided.
@@ -342,7 +332,7 @@ You will build the mobile add-in that will be used to enter basic information ab
@@ -690,7 +680,7 @@ The first step is to add a couple of pre-populated list templates to your develo
690
680
691
681
692
682
693
-

683
+

694
684
695
685
696
686
@@ -705,7 +695,7 @@ The first step is to add a couple of pre-populated list templates to your develo
705
695
706
696
707
697
708
-

698
+

709
699
710
700
711
701
The entities are added to a new **Developer Data** node under the **Data Sources** node in **Solution Explorer**, and the **ContosoApparatus** entity opens in the entity designer.
@@ -745,7 +735,7 @@ The first step is to add a couple of pre-populated list templates to your develo
@@ -885,7 +875,7 @@ On the scene of an incident the Incident Commander has to document many things,
885
875
886
876
887
877
888
-

878
+

889
879
890
880
891
881
@@ -918,7 +908,7 @@ On the scene of an incident the Incident Commander has to document many things,
918
908
919
909
920
910
921
-

911
+

922
912
923
913
924
914
In order to associate the document library with your add-in, the document library must contain a custom column that maps to a unique field in your entity. In this case the **IncidentNumber** column maps to the **IncidentNumber** field in the **Incidents** entity.
@@ -943,7 +933,7 @@ On the scene of an incident the Incident Commander has to document many things,
943
933
944
934
945
935
946
-

936
+

947
937
948
938
949
939
An **IncidentDocuments.lsml** node is added to Solution Explorer.
@@ -971,7 +961,7 @@ On the scene of an incident the Incident Commander has to document many things,
971
961
972
962
973
963
974
-

964
+

975
965
976
966
977
967
@@ -989,7 +979,7 @@ On the scene of an incident the Incident Commander has to document many things,
@@ -1328,7 +1318,7 @@ So far you've only run the add-in in Debug mode, which uses SharePoint to provid
1328
1318
1329
1319
1330
1320
1331
-

1321
+

1332
1322
1333
1323
1334
1324
@@ -1343,7 +1333,7 @@ So far you've only run the add-in in Debug mode, which uses SharePoint to provid
1343
1333
1344
1334
1345
1335
1346
-

1336
+

1347
1337
1348
1338
1349
1339
@@ -1358,7 +1348,7 @@ So far you've only run the add-in in Debug mode, which uses SharePoint to provid
1358
1348
1359
1349
1360
1350
1361
-

1351
+

1362
1352
1363
1353
1364
1354
The add-in opens in the browser and looks exactly the same as when you ran the add-in in Debug mode. Notice that the data you entered during development is gone. When deploying the add-in, the database is deployed but not the data.
@@ -1373,7 +1363,7 @@ So far you've only run the add-in in Debug mode, which uses SharePoint to provid
1373
1363
1374
1364
1375
1365
1376
-

1366
+

1377
1367
1378
1368
1379
1369
You can also verify your add-in on a mobile device. Sign in to your SharePoint site from the web browser on your device, and then start the add-in.
@@ -1385,7 +1375,7 @@ So far you've only run the add-in in Debug mode, which uses SharePoint to provid
1385
1375
1386
1376
1387
1377
1388
-

1378
+

0 commit comments