Widget manifest

Each ArcGIS Experience Builder widget has a manifest.json file, which describes a widget's attributes and properties. A widget manifest needs to include the name, type, version, exbVersion, and translatedLocales properties. The easiest way to create a widget manifest, is to copy the manifest.json file from the demo widget. The following is an example of a manifest.json file.

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{
  "name": "count-features",
  "label": "Count Features",
  "type": "widget",
  "version": "1.15.0",
  "exbVersion": "1.15.0",
  "author": "Esri R&D Center Beijing",
  "description": "This is widget is designed to display the numeric attributes of features.",
  "copyright": "",
  "license": "http://www.apache.org/licenses/LICENSE-2.0",
  "publishMessages": [
    "EXTENT_CHANGE",
    "DATA_RECORDS_SELECTION_CHANGE"
  ],
  "messageActions": [],
  "defaultSize": {
    "width": 360,
    "height": 80
  },
 "properties": {},
  "translatedLocales": [
    "en",
    "es",
    "zh-cn"
  ]
}

Learn more about the available properties for the widget's manifest.

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