The app created by Web AppBuilder can be downloaded and hosted on your web server. Any 2D or 3D app that is downloaded must be registered with ArcGIS Online or Portal for ArcGIS if the app references nonpublic items.
Note:
Wherever you deploy the app, it still needs access to the web map.
Download the app
Download the app from the My Content tab of the content page.
- In the My Content tab of the content page, click the app to view its item details.
- Click Download on the Overview page. The ZIP file downloads to your computer.
Deploy the app
Deploy the app based on your portal's authentication.
- If your portal is configured with OAuth2 or SAML authentication, do the following to deploy the app on your web server:
- Unzip the downloaded app.
- Add a proxy to your app. Refer to Use proxy for details.
- Add and register the app. Refer to Add apps and Register your app.
- Copy and paste the app ID to the appId property in the app config file. Save the file.
- Deploy the app on your web server.
- If your portal is configured with IWA, PKI, or LDAP authentication, do the following to deploy the app on your web server:
- Unzip the downloaded app.
- Add a proxy to your app. Refer to Use proxy for details.
- Change URL of ArcGIS API for JavaScript.
Caution:
When you access the app, you might be asked to sign in many times. This is because JavaScript files hosted by your portal need to be authenticated. As a result, you should host ArcGIS API for JavaScript outside the portal and change the apiUrl variable to it. This is specific to web-tier authentication.
- Deploy the app on your web server.
Customize the app
Do the following to customize the app.
- Add custom widgets:
- Put the custom widget in the widgets folder.
- Add the widget to the app’s config.json file.
The example below uses the Demo widget. Add it to the config.json file.
{ "uri": "widgets/Demo/Widget" },
- Configure the app and widgets. Refer to JSON reference.
- Reference the preferred ArcGIS API for JavaScript. Refer to Change the URL of ArcGIS API for JavaScript.
Supported browsers
- The 2D app supports the following browsers:
- Chrome
- Firefox
- Safari 3 or later
- Edge
- Internet Explorer 11
Caution:
When you open the deployed the app with OAuth in Internet Explorer 11 or Microsoft Edge, you may receive a pop-up asking if you want to close this tab. After you click Yes, the pop-up disappears but nothing loads in the app. If this is the case, add .arcgis.com to the trusted sites in your browser's settings.
- The 3D app supports the following browsers:
- Chrome
- Firefox
- Safari 7.1 and up
- Edge
- Internet Explorer 11
Caution:
3D apps do not support devices. Using a 3D app in Web AppBuilder requires a desktop web browser that supports WebGL. The latest versions of the most common desktop browsers have WebGL built in. To test if your browser has WebGL enabled, open get.webgl.org. To troubleshoot WebGL-related issues, visit WebGL Troubleshooting. Also see the ArcGIS Online topic specific to render scene viewer features for additional information.
Supported versions of ArcGIS API for JavaScript
- ArcGIS API for JavaScript 3.22 and later.
- ArcGIS API for JavaScript comes with Portal for ArcGIS 10.6.