Upgrade

Migrating from a previous version

To upgrade apps created in a previous version, copy the app folder from previous version to new version. The app folder is located at <install folder>/server/public/apps/<appId>. If the app has its own widgets, please continue below:

Before you copy your widgets, we recommend reading the breaking changes section in the what’s new document. TypeScript is generally good at flagging if it cannot find a module or if a property is missing in a type. Here are some of the most common scenarios we have found when upgrading our sample widgets to the latest version of ArcGIS Experience Builder:

  • The syntax for importing MyModule = require('my-module'); is no longer supported. You can use let/const MyModule = require('my-module'); or import * as MyModule from 'my-module';.
  • JimuMapViewComponent prop useMapWidgetsIds needs to be changed to useMapWidgetsId.
  • This is not a breaking change, but more of a pattern you will see in our sample widgets. You can basically use the React.PureComponent class to extend your widget instead of using BaseWidget and also replace BaseWidgetSetting in settings.tsx.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.