Frequently asked question

How do I include metadata when publishing layers?

Last Published: November 11, 2022

Answer

Users can publish layers using one of three processes, with different effects on metadata.

  • From ArcMap (metadata not automatically included)
  • Publish from the Share tab on the ribbon in ArcGIS Pro (metadata not automatically included)
  • Publish from the Contents pane > Sharing > Share As Web Layer in ArcGIS Pro (metadata automatically included)

When publishing with ArcGIS Pro from the Share tab, or publishing layers with ArcMap, there is no information auto-populated in the Summary or Tags fields of the sharing pane.

Include Metadata When Publishing from ArcMap

When using ArcMap, a layer can be zipped in a folder and uploaded into ArcGIS Online; this ensures that all the metadata is included. For more information on this method, refer to ArcGIS Online: Items in ArcGIS Online.

Alternatively, the metadata can be exported and imported into the web feature layer using the following steps.

  1. Open the Export Metadata (Conversion) tool.
  2. Use either ISO19139_2ESRI_ISO or FGDC2ESRI_ISO translators; otherwise the .xml file is not recognized by ArcGIS Online.
Export Metadata Conversion tool
  1. Publish the layer from the File tab > Share As > Service. For more information, refer to ArcMap: Publish to ArcGIS Online and ArcGIS Enterprise.
  2. Once published, open the layer in ArcGIS Online and click Metadata in the menu on the right of the screen.
The Metadata button is found on the right of the Item Details page
  1. Click Overwrite and upload the .xml file. Click Save.
Overwrite the XML file

Add Metadata When Publishing from ArcGIS Pro

  1. Click the Share tab on the top ribbon.
  2. In the Share As group, click Web Layer.
Find the Web Layer option in the Share As section of the Share tab.
  1. The Share As Web Layer pane opens without data auto-populated in the Summary and Tags fields.
The Sharing Map As a Web Layer option does not auto-populate the metadata.
  1. Add the metadata and click Publish to share the map as a web layer.

Automatically Include Metadata When Publishing from ArcGIS Pro

  1. Right-click the layer in the Contents pane.
  2. Point to Sharing, and click Share As Web Layer.
From the Contents Pane, right-click the selected layer and navigate to Sharing.
  1. The Item Details section is auto-populated. Click Publish to share the layer as a web layer.
Sharing selected layer as a web layer automatically populates the layer's metadata in the Share As Web Layer pane.

Article ID:000027406

Software:
  • ArcGIS Online
  • ArcGIS Pro
  • ArcMap

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options