My organisation uses our ArcGIS Hub site to provide our data to the public. In the past few months, we’ve noticed some inconsistencies with whether metadata is attached to the files downloaded from our catalogue.
After some testing to try to rule out different variables, it seems like the downloads that are missing metadata are hosted feature layers where we added xml metadata using the portal metadata editor shown below.
Here is a summary of the behaviour we’ve noticed in our ArcGIS Hub:
Layer type | Publishing method | Metadata entry method | Download file from ArcGIS Hub | result |
Hosted feature layer | Share as web layer (copy) from ArcGIS Pro | Use metadata editor in ArcGIS Pro v3.5+ | Shapefile / File geodatabase / SQLite | Metadata is preserved in the downloaded file including shapefile (xml component) |
Hosted feature layer | Share as web layer (copy) from ArcGIS Pro | Use ArcGIS Enterprise 11.5 / ArcGIS Online metadata editor after the layer is published | Shapefile / File geodatabase / SQLite | No metadata in the downloaded file |
Referenced feature layer | Add portal item from service URL | Use ArcGIS Enterprise 11.5 / ArcGIS Online metadata editor | Shapefile | The xml component preserves the metadata we entered |
We’ve noticed BUG-000148198 for ArcGIS Hub about metadata in downloaded shapefiles, but this issue seems broader than that because we aren’t seeing the metadata in the file geodatabase downloaded from ArcGIS Hub either. However, it seems like metadata is downloading for some types of layers where we’ve used the portal metadata editor to add it, just not the hosted feature layers.
Is this the expected behaviour for hosted feature layers downloaded from ArcGIS Hub?