Overview
Metadata is the information that describes an item. Metadata can be included for all items in a portal including web maps, web scenes, and web apps. Once enabled in the organization, metadata can be added to an item by uploading an xml file using the Add Item operation. Existing metadata can be updated using the Update (item) operation.
Example URL for metadata:
https://www.arcgis.com/sharing/rest/content/items/[itemId]/info/metadata/metadata.xml?token=<token>Enable metadata editing for the organization
In lieu of using the front-end interface, administrators can enable or disable metadata editing for the organization using the Update (org) operation's metadata parameter:
| Parameter | Details |
|---|---|
| Indicates if an item's metadata can be edited using the built-in metadata editor. If If The value set for this parameter does not impede an organization member's ability to edit item information. Values: |
Metadata styles
Administrators can add or edit the metadata style for their organization using the Update (org) operation's metadata parameter:
| Parameter | Details |
|---|---|
| Specifies the metadata style used for organization. For organizations created after July 2025, the default is The following metadata styles are supported:
Values: |
Add or update metadata
In lieu of using the front-end interface, a user can also add metadata when adding a new item to their organization using the API by including a metadata file (.xml file format) as part of the request.
A user can also update existing metadata of an item by including a metadata file (.xml file format) as part of the request.
View metadata
Once metadata is added to an item, the metadata can be viewed using the following URL:
https://www.arcgis.com/sharing/rest/content/items/[itemId]/info/metadata/metadata.xml?token=<token>A user can also view metadata in different formats and outputs. The metadata format can be specified by including the format parameter to the request URL when viewing an item's metadata:
| Parameter | Details |
|---|---|
| Specifies the metadata format used to display the metadata. These formats correspond to the values listed for the If this parameter is not included in the request, the metadata XML is displayed in the ArcGIS Metadata XML format. Values: |
The examples below demonstrate how to view metadata in the format specified for the organization (default) or choosing a specific metadata format (fgdc):
https://www.arcgis.com/sharing/rest/content/items/[itemId]/info/metadata/metadata.xml?format=default&token=<token>https://www.arcgis.com/sharing/rest/content/items/[itemId]/info/metadata/metadata.xml?format=fgdc&token=<token>A user can also specify how to render the chosen metadata format by including the output parameter in the request URL:
| Parameter | Details |
|---|---|
| Specifies the output format that the metadata format will be displayed as, either XML or HTML. If this parameter is not specified in the request, the output will default to the XML format. Values: |
For example, a user can specify metadata of an item to be shown in FGDC format that is displayed as html output:
https://www.arcgis.com/sharing/rest/content/items/[itemId]/info/metadata/metadata.xml?format=fgdc&output=html&token=<token>Field mapping
An itemInfo.xml file is generated for each item once the user adds elements such as a title, tags, or description. Users can also upload their own itemInfo.xml file.
The following table show the field mappings between itemInfo.xml and metadata.xml files. The data is synchronized bi-directionally.
| itemInfo.xml | metadata.xml |
|---|---|
Type | distInfo> distFormat>formatName If ISO format: distInfo>distributor>distorFormat>formatName If FGDC format: idinfo>natvform (FGDC format) |
Thumbnail | Binary>Thumbnail>Data (or) Binary>Thumbnail>Data>img>@src |
Tags | dataIdInfo>searchKeys>keyword If ISO format: dataIdInfo>descKey>keyword If FGDC format: Idinfo>keywords>theme>themekey |
Snippet/Summary/Purpose | dataIdInfo>idPurp If FGDC format: Idinfo>descript>purpose |
Description/Abstract | dataIdInfo>idAbs If FGDC format: Idinfo>descript>abstract |
Scale | dataIdInfo>dataScale>equScale>rfDenom If ISO format: dqInfo>dataLineage>dataSource>srcScale>rfDenom If FGDC format: dataqual>lineage>srcinfo>srcscale |
Credit | dataIdInfo>idCredit |
Constraints | resConst/Consts/useLimit (or) dataIdInfo>resConst>Consts>useLimit |