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.
{
"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.