Quick Start Script for ArcGIS Experience Builder

If you develop with ArcGIS Experience Builder, you know that getting started is a multi-step process. It would be nice to get started a little more quickly.

Here’s a simple Windows batch script that will do that. It installs the dependencies, if necessary, and then starts up the Experience Builder server.

if exist ArcGISExperienceBuilder/client/node_modules\ (
	cmd /c start powershell -noexit -command "cd ArcGISExperienceBuilder\client; npm start"
	cmd /c start powershell -noexit -command "cd ArcGISExperienceBuilder\server; npm start"
) else (
	cmd /c start powershell -noexit -command "cd ArcGISExperienceBuilder\client; npm ci; npm start"
	cmd /c start powershell -noexit -command "cd ArcGISExperienceBuilder\server; npm ci; npm start"
)
start http://localhost:3000

Usage:

  1. Download the Experience Builder developer edition zip file.
  2. Extract the Zip files. I use 7-zip and just use the “Extract here” button - this will create a folder called ArcGISExperienceBuilder at the same level as the zip file.
  3. Create a file called LaunchExB.cmd.
  4. Right-click the file and click Edit. Copy/paste the code above.
  5. Double-click the file.

Note: make sure the .cmd file you create is that the same level (siblings) as the ArcGISExperienceBuilder folder.

Get an email summary of my blog posts (four per year):

Join email newsletter

... or follow the blog here:

See Also