PROBLEM

Unable to upload an application to Web AppBuilder for ArcGIS (Developer Edition)

Last Published: April 25, 2020

Description

In Web AppBuilder for ArcGIS (Developer Edition), there are two possible ways to upload an application: by importing via an ArcGIS Online account or from the user's machine.

User-added image

In some instances, users are unable to upload an application to Web AppBuilder for ArcGIS by choosing the Import from my computer option, and the following error message is returned.
User-added image



 

Cause

There are two possible causes for this issue:

  • ​​​Scenario 1: Uploading an application that is created using another platform  
    • When an application is created using applications other than Web AppBuilder for ArcGIS and uploaded to Web AppBuilder for ArcGIS, the folder format may not follow the required format.
  • Scenario 2: Uploading an application after editing
    • When an application created using Web AppBuilder for ArcGIS is downloaded and edited, the folder structure may not use the required format. This may happen when the user performed changes to the application, such as adding custom widgets (which involves JavaScript or CSS files).

 

Solution or Workaround

Use one of the following workarounds according to the scenario involved.

Scenario 1: Uploading an application that is created using another platform  
  1. Create a new application by clicking Create New, and select the desired type of application.
Picture of the 'Create New' button.
  1. Provide the necessary name and description for the application.
  2. Download the newly created application on the home page of Web AppBuilder for ArcGIS.
Picture of the download button.
  1. Perform the necessary edits and re-upload the application to Web AppBuilder for ArcGIS. This maintains the folder architecture. 
Scenario 2: Uploading an application after editing
  1. Follow steps 1 and 2 in Scenario 1. 
  2. Open the newly created application, and note the ID of the application at the end of the browser address bar. The following image shows an example of how the application link appears. In the example, the ID for the newly created app is 2.
Picture of the app adress.
  1. Download the newly created application.
  2. Open the application folder in the installed folder of Web AppBuilder for ArcGIS. The following is an example of the folder location.
[Instal_DIR]\server\[App_Name]
  1. Open the newly created app folder, and copy all the folders from the old application folder, which contains the necessary edits performed.
  2. Paste the folders into the newly created application folder. Allow the necessary permissions to replace the files and overwrite the files if Windows prompts are returned.
  3. Refresh the browser. The edited application is now uploaded without any error message.

Article ID:000016125

Software:
  • ArcGIS Web AppBuilder
  • ArcGIS Online

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Related Information

Discover more on this topic