HOW TO
The instructions provided describe how to change the gallery item tags for the Maps and Apps template.ArcGIS for Local Government provides maps and apps that help implement GIS in a local government context, and a destination where users, partners, and the teams within Esri can collaborate.
Code:
/* Gallery item classifications used in your ArcGIS.com items. Be sure NOT to have commas in these names.
If editing the item in ArcGIS.com, an item's classification and its average rating are stored in its Tags field as
<category>,<type>,<sum of ratings>,<number of ratings> */
"appCategories": {
identifier: "name",
label: "name",
items: [
{name: "Community Activities"},
{name: "Elections & Voting"},
{name: "Water or Sewer & Transportation"},
{name: "Property Value & Taxes"},
{name: "Permits & Land Use"},
{name: "Recreation & Conservation"}
]
},
"appTypes": {
identifier: "name",
label: "name",
items: [
{name: "Web"},
{name: "Desktop"},
{name: "Mobile"}
]
},
Note:
Make sure that there is a comma after each {name: "x"} item except for the last one in each list.
Code:
"appCategories": {
identifier: "name",
label: "name",
items: [
{name: "Cat A"},
{name: "Cat B"}
]
},
"appTypes": {
identifier: "name",
label: "name",
items: [
{name: "Type A"},
{name: "Type B"}
]
},
Article ID:000011564
Get help from ArcGIS experts
Download the Esri Support App