Custom ArcGIS Experience Builder widgets and themes.
Author: Paul Haakma
Refer to this documentation:
ArcGIS Experience Builder Guide > Widget Development > Get Started
- Install ArcGIS Experience Builder Developer Edition locally.
- Clone this repo into the 'client' folder. There should now be a subfolder called 'arcgis-exb'.
- Edit the tsconfig.json file and add the name of this folder into the 'include' array. Example below.
{
"include": [
"dist/widgets",
"your-extensions",
"types",
"jimu-core/lib/types",
/** ADD the name of your web extension repo folder: **/
"arcgis-exb"
],
}
Add Custom Widgets To ArcGIS Enterprise
Follow the full steps in the link above to host the widget and add to ArcGIS Enterprise.
The npm command to compile the widget needs to be run from the ArcGIS Enterprise Developer client folder.
npm run build:prod
The compiled widget is then found in the client/dist-prod/widgets directory.