AGOL Upgrade apps to newer SDK version

Time needed: 10 minutes.


In order to upgrade apps that were created in an older version of ArcGIS Web AppBuilder (Developer Edition)

  1. Stop app running versions of Web AppBuilder – new and old

  2. Open the command prompt window

  3. Browse to the \server directory of the newer version of the Web AppBuilder installation

    cd C:\00\web-app-builder-2-15\server

  4. You have the option to upgrade either an individual app or all of the apps

    To upgrade an individual app, type the following:

    •  for a 64-bit operating system: type below, and press ENTER.
    • node_x64 upgrade <your_previous_version_Web_AppBuilder_installation_directory> <app_id>
    •  for a 32-bit operating system: type below, and press ENTER.
    • node_x86 upgrade <your_previous_version_Web_AppBuilder_installation_directory> <app_id>

    To upgrade all of your apps, type the following:
    •  for a 64-bit operating system: type below, and press ENTER.
    • node_x64 upgrade <your_previous_version_Web_AppBuilder_installation_directory>

    •  for a 32-bit operating system: type below, and press ENTER.
    • node_x32 upgrade <your_previous_version_Web_AppBuilder_installation_directory>

  5. Once the upgrade is complete, start the new version of Web AppBuilder to check the result.


Reference/Notes:

  • Your previous version of the Web AppBuilder installation directory is similar to C:\arcgis-web-appbuilder-2.10
  • The app ID is 2 for the app at http://localhost:[port number]/webappbuilder/apps/2/
  • If the upgrade failed, see the upgrade.log file in \server\logs directory of new Web AppBuilder installation.
  • By design, if the upgrade command is run multiple times, the apps will be upgraded into new version.