laptop and a wrench

Bug

Incorrect variable use in the sample code from the import and copy metadata section in the documentation.

Last Published: March 17, 2022 ArcGIS Pro
Bug ID Number BUG-000146699
SubmittedFebruary 8, 2022
Last ModifiedJune 5, 2024
Applies toArcGIS Pro
Version found2.8.2
Operating SystemWindows OS
Operating System Version10.0 64 Bit
Version Fixed3.0
StatusFixed

Workaround

Change the variable in the fifth line, tgt_item_md.importMetadata(csdgm_file,"FGDC_CSDGM") from csdgm_file to src_csdgm_file.

Steps to Reproduce

Bug ID: BUG-000146699

Software:

  • ArcGIS Pro

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options