-
Notifications
You must be signed in to change notification settings - Fork 2
/
readme.html
97 lines (96 loc) · 4.22 KB
/
readme.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no">
<title>Readme</title>
<style type="text/css">
<!--
body {
font-family: Arial, Helvetica, sans-serif;
margin-top: 0px;
}
-->
</style></head>
<body>
<h3>Deploy the app</h3>
<p>Deploy the app based on your portal's authentication.</p>
<li>If your portal is configured with OAuth2 or SAML authentication, do the following to deploy the app on your web server:</li>
<ul>
<ol>
<li>Unzip the downloaded app.</li>
<li>Add a proxy to your app. Refer to <strong>Use proxy</strong> topic in Web AppBuilder help. <br>
<em>IMPORTANT: Make sure a correct and workable proxy is used if your app requires it. Inappropriate proxy may cause the map or widgets working failed.</em></li>
<li>Add and register the app. Refer to <strong> Add apps </strong> and <strong>Register your app </strong> topic in ArcGIS Online help or Portal for ArcGIS help.</li>
<li>Copy and paste the AppID to the appId property in the <strong>config.json</strong> file. Save the file.</li>
<li>Deploy the app on your web server.</li>
<ol>
</ul>
<li>If your portal is configured with IWA, PKI, or LDAP authentication, do the following to deploy the app on your web server:</li>
<ul>
<ol>
<li>Unzip the downloaded app.</li>
<li>Add a proxy to your app. Refer to <strong>Use proxy</strong> topic in Web AppBuilder help. <br>
<em>IMPORTANT: Make sure a correct and workable proxy is used if your app requires it. Inappropriate proxy may cause the map or widgets working failed.</em></li>
<li>Deploy the app on your web server.</li>
<ol>
</ul>
<h3>Customize the app</h3>
<p>Optionally, do the following to customize the application by editing JSON files directly:</p>
<ul>
<li>Add custom widgets
<ol>
<li>Put your custom widget in the <strong>widgets</strong> folder.</li>
<li>Add widget into the app's <strong>config.json</strong>.<br>
The example below uses the Demo widget. Add it into the <strong>config.json</strong> file<br>
<p>{<br>
"name": "Demo",<br>
"label": "Demo",<br>
"uri": "widgets/Demo/Widget",<br>
"index": 13,<br>
"id": "widgets/Demo/Widget_1"<br>},</p>
</li>
<li>
<p>Open <strong>widgets/widgets-manifest.json</strong>, and add a new key/value pair. </p>
<p><em>Note: If the app is downloaded from Web AppBuilder for ArcGIS (Developer Edition), skip this step.</em> <p>
<p>The key is the widget’s URI, the value is the content from your widget’s <strong>manifest.json</strong>.</p>
<p>The example below uses the Demo widget. Add the "widgets/Demo/Widget" key and copy its manifest.json content to the widgets-manifest.json here.</p>
<p>
"widgets/Demo/Widget": {
<br>
"name": "Demo",
<br>
"platform": "HTML",
<br>
"version": "0.0.1",
<br>
"author": "Esri R&D Center Beijing",
<br>
"description": "This is the widget used in developer guide",
<br>
"copyright": "",
<br>
"license": "http://www.apache.org/licenses/LICENSE-2.0"
<br>
},</p>
</li>
</ol>
</li>
<li>Configure app and widgets. Refer to <strong>JSON configuration reference </strong> topic in Web AppBuilder help.</li>
<li>Reference preferred ArcGIS API for JavaScript. Refer to <strong>Change URL of ArcGIS API for JavaScript </strong> topic in Web AppBuilder help.</li>
</ul>
<h3>Supported browsers</h3>
<p>Supported browsers for deployed applications:</p>
<ul>
<li>Chrome</li>
<li>Firefox</li>
<li>Safari 3+</li>
<li>Internet Explorer 8+. Internet Explorer 7 or lower is not supported.</li>
</ul>
<h3>Supported versions of ArcGIS API for JavaScript</h3>
<ul>
<li>ArcGIS API for JavaScript 3.11 and up.</li>
<li>ArcGIS API for JavaScript comes with Portal for ArcGIS 10.3 and up.</li>
</ul>
</body>
</html>