Skip To Content

Download app

In this topic

The app created by Web AppBuilder can be downloaded and hosted on your web server.

Download the app

Download the app from My Content in the portal.

  1. In My Content, click the app to view its item details.
  2. Click Download on the Code Attachment property.

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:
    1. Unzip the downloaded app.
    2. Add a proxy to your app. Refer to Use proxy for details.
    3. Add and register the app. Refer to Add apps and Register your app.
    4. Copy and paste the AppID to the appId property in the app config file. Save the file.
    5. 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:
    1. Unzip the downloaded app.
    2. Add a proxy to your app. Refer to Use proxy for details.
    3. Deploy the app on your web server.

Customize the app

Do the following to customize the app:

  • Add custom widgets:
    1. Put the custom widget in the widgets folder.
    2. Add the widget into the app’s config.json.

      The example below uses the Demo widget. Add it into the config.json file.

      {
            "name": "Demo",
            "label": "Demo",
            "uri": "widgets/Demo/Widget",
            "index": 13,
            "id": "widgets/Demo/Widget_1"
      
          },
    3. Open widgets/widgets-manifest.json and add a new key/value pair. The key is the widget’s URI and the value is the content of widget manifest.json.

      The example below uses the Demo widget. Add the "widgets/Demo/Widget" key and copy its manifest.json content to the widgets-manifest.json.

      "widgets/Demo/Widget": {
          "name": "Demo",
          "platform": "HTML",
          "version": "0.0.1",
          "author": "Esri R&D Center Beijing",
          "description": "This is the widget used in developer guide",
          "copyright": "",
          "license": "http://www.apache.org/licenses/LICENSE-2.0"
        },
  • Configure the app and widgets. Refer to JSON reference.
  • Reference preferred ArcGIS API for JavaScript. Refer to Change URL of ArcGIS API for JavaScript.

Supported browsers

Supported browsers for deployed apps are the same as Web AppBuilder.

  • Chrome
  • Firefox
  • Safari 3+
  • Internet Explorer 8+. Internet Explorer 7 or lower is not supported

Supported versions of ArcGIS API for JavaScript

  • ArcGIS API for JavaScript 3.13 and up.
  • ArcGIS API for JavaScript comes with Portal for ArcGIS 10.3.1.