Tips and tricks for exporting and importing metadata. It's super simple, but it happens in the ribbon, which is always an Easter egg for me.
Solved! Go to Solution.
This isn’t a comprehensive guide, rather just tips and tricks I’ve picked up along the way.
A typical workflow is to create MD for one layer, export it to a file, and then import it to another data set that is similar. For that reason, export usually comes before import in my workflow.
First, create the metadata you want in the editor. Exporting it can only be done from the “View Metadata” interface, not the editor! This always trips me up.
There are two ways to export MD from a Pro feature class.
RECOMMENDED: In the Catalog pane, click on the feature class, raster layer, or other data type and find the “Catalog” ribbon with a “Metadata” group. There, you will see “Export” and “Save As”.
The Export dialog is really simple. I generally use ISO 19115-3 format. As described below, you need to know the format when you import it, so it helps to put this in the filename.
The other way to export is the “Save As” options. There is an option to save as HTML. This is good for end users to view it, but not for MD interchange. There is a Save As XML option, but I don’t understand how it’s different from Export, so I don’t use that.
To import MD, choose the “View Metadata” option for the data set in the Catalog pane. In the “Manage” context ribbon, use the “Import” button (to the left of the “Export” button in the screenshot above). I don’t know why you have to tell it the type when you import MD. It seems like this should be embedded in the XML file you’re importing, but I just choose the same format I exported as, assuming I created it.
This isn’t a comprehensive guide, rather just tips and tricks I’ve picked up along the way.
A typical workflow is to create MD for one layer, export it to a file, and then import it to another data set that is similar. For that reason, export usually comes before import in my workflow.
First, create the metadata you want in the editor. Exporting it can only be done from the “View Metadata” interface, not the editor! This always trips me up.
There are two ways to export MD from a Pro feature class.
RECOMMENDED: In the Catalog pane, click on the feature class, raster layer, or other data type and find the “Catalog” ribbon with a “Metadata” group. There, you will see “Export” and “Save As”.
The Export dialog is really simple. I generally use ISO 19115-3 format. As described below, you need to know the format when you import it, so it helps to put this in the filename.
The other way to export is the “Save As” options. There is an option to save as HTML. This is good for end users to view it, but not for MD interchange. There is a Save As XML option, but I don’t understand how it’s different from Export, so I don’t use that.
To import MD, choose the “View Metadata” option for the data set in the Catalog pane. In the “Manage” context ribbon, use the “Import” button (to the left of the “Export” button in the screenshot above). I don’t know why you have to tell it the type when you import MD. It seems like this should be embedded in the XML file you’re importing, but I just choose the same format I exported as, assuming I created it.
I can try posting an entirely different question, but thought you may have experience. I'm attempting to edit metadata for a feature class in an enterprise geodatabase with ArcPro and it doesn't seem to save any changes. I have tried to make a simple edit to the summary in the editor and saved edits but when I refresh or close/open the projects. No errors returned. We have also attempted to export to FGDC, add a seed strig to summary and re-import, no errors returned, no changes saved. Also tried ArcPy import with same behavior.
Edits work and are saved in ArcCatalog 10.7.1 for the same dataset and account used.
Enterprise Geodatabase on oracle is 11.3, pro is 3.3
Thoughts?
There is a separate save button in the ribbon for metadata. Are you clicking on that?
I do not believe that saving your project saves metadata.
Thanks for the response. Yes we are using the save button specific to metadata.
Sorry, no idea. I have occasionally observed similar lost edits like you, but never had this happen with any consistency, nor via the API.