FAQs

How do I start Web AppBuilder for ArcGIS (Developer Edition)?

See Get started.

What should I do when I try to set the App ID and encounter an Invalid redirect_uri error?

It is indicated that the URI of Web AppBuilder is not added or set correctly in the Redirect URI list when you registered the App ID for Web AppBuilder in your ArcGIS Enterprise portal. Complete the following steps:

  1. Go to /server directory of the Web AppBuilder installation, delete signininfo.json file.
  2. Review step 4. Update the existing App ID with the correct redirect URIs. see View and update app registration info. Alternatively, you can create a new App ID from the scratch.
  3. Refresh the browser running Web AppBuilder.
  4. Provide your App ID again, and click Continue.

How do I start Web AppBuilder (Developer Edition) in HTTPS websites with my CA-signed certificate?

Web AppBuilder uses a self-signed certificate in Node.js to support HTTPS. If you want to start Web AppBuilder in your full HTTPS site, you can use your own certificate. To do so, replace two files in the server directory: cakey.pem and cacert.pem. See nodejs and https://www.openssl.org/docs/faq.html#USER3 for more information.

How do I use the local help?

You can start the Web AppBuilder help in a browser with http://[yourmachinename]:[port]/webappbuilder/help after Node.js starts, or go to the docs folder for the Web AppBuilder installation by right-clicking the index.html file, and then open it with Firefox or Internet Explorer (IE). If you choose the latter option, be aware that Chrome does not support this HTML format, while with IE10 or later, you need to enable JavaScript before continuing.

What should I do when I fail to log in to my ArcGIS Online organization or my ArcGIS Enterprise portal?

You may fail to log in to your ArcGIS Online organization or your ArcGIS Enterprise portal due to one of the following:

  • No trusted certification available. To work around it, log in to your portal first to make the certificate trusted, and then log in to Web AppBuilder again.
  • Need proxy to access externally. To work around it, set the proxy for Web AppBuilder from node command node server.js [-proxy=value].

How can I update the App ID for Web AppBuilder (Developer Edition)?

The App ID is set when you start Web AppBuilder for the first time. To update it, open the signininfo.json file in the server folder, and then edit the appID property specified in the portal.

Is SSL-enabled access supported?

Yes. Web AppBuilder supports SSL-enabled access to online organizations or Portal for ArcGIS. The HTTPS request is required when the URL to the organization or Portal for ArcGIS is specified.

Which portal securities are supported?

Portals with the following securities are supported by Web AppBuilder:

  • OAuth
  • SAML
  • IWA
  • PKI
  • LDAP

What should I do if I have an error when running Web AppBuilder on Microsoft Edge?

Edge runs as a Windows modern app different from IE and thus it has network isolation by default for security reasons. If you have an error saying "Hmm, we can't reach this page.", read theblog for a solution.

Can I use Web AppBuilder (Developer Edition) with IE8 or IE9 to access portals with web-tier authentication?

No. Web AppBuilder (Developer Edition) does not support using IE8 or IE9 to access the portal with web-tier authentication. This is due to the limitation of IE8 and IE9 not supporting Cross-Origin Resource Sharing (CORS).

What should I do when I fail to start Web AppBuilder by specifying a URL to a portal with LDAP authentication?

When you start Web AppBuilder by specifying a URL to a portal with LDAP authentication, you may encounter this error: Unable to access [Portal_URL]. A Server with specified hostname could not be found. This is probably caused by the SSL support in the node server not matching the SSL version of the LDAP server. To work around it, stop the node server, and then start it with command lines.

Open a command window and browse to the server directory of the Web AppBuilder installation.

On 64-bit Windows, type node_x64.exe server.js -sslClientVersion=SSLv3_method.

On 32-bit Windows, type node_x32.exe server.js -sslClientVersion=SSLv3_method.

On other platforms, type node server.js -sslClientVersion=SSLv3_method.

Are portals with disconnected environments supported?

Yes. You must set your own apiURL manually in the env.js file. Refer to Change URL of ArcGIS API for JavaScript. By default, Web AppBuilder points to the ArcGIS API for JavaScript hosted by ArcGIS.com.

Why can't my deployed app access cross-domain resources?

You need to set the appropriate proxy in the app config.json file. Refer to Use proxy.

Do I have to register my downloaded app for deployment?

The app created by Web AppBuilder can be downloaded and hosted on your web server. Any app that is downloaded must be registered with ArcGIS Online or Portal for ArcGIS if the app references nonpublic items. Refer to Deploy app.

Which versions of ArcGIS Enterprise should I use?

Web AppBuilder supports Portal for ArcGIS 10.3 and later, including all versions of ArcGIS Enterprise. If you have Portal for ArcGIS 10.2.2 or 10.2.1, it is recommended that you upgrade to ArcGIS Enterprise 10.6 and later.

Which versions of ArcGIS API for JavaScript should I use?

Web AppBuilder 1.0 began supporting ArcGIS API for JavaScript 3.12. In subsequent releases, the latest release of Web AppBuilder always synchronizes with the latest release of ArcGIS API for JavaScript. To get the latest version of ArcGIS API for JavaScript that is supported by the latest release of Web AppBuilder, see Requirements and browser support.