laptop and a wrench

Bug

In ArcGIS Pro 2.9.1, when using the Add Attachments tool on a point feature class in a file geodatabase with Text field as the Input Join Field of the tool and a .csv file as the custom Match Table, if the Text field contains only numbers, the tool succeeds but results in no image attachments.

Last Published: January 31, 2022 ArcGIS Pro
Bug ID Number BUG-000146306
SubmittedJanuary 24, 2022
Last ModifiedJune 9, 2026
Applies toArcGIS Pro
Version found2.9.1
Operating SystemWindows OS
Operating System Version10.0 64 Bit
StatusKnown Limit

Additional Information

This is a known limit with CSV files, where the feature class attribute table and the CSV file are looking at two different data type columns. When creating a CSV file, if a single integer is added, it is treated as an integer. The attribute table field that is used, such as a text field, does not match the CSV field even though they both have an integer value. This is why the CodeNum field works, because both now have a matching data type for the integer value. If the match table is created with the same setup in a geodatabase, with the Code column set to text, both data types match, and it works as expected. If the CSV file is opened in Excel, it illustrates what is happening here. If the match table is created with two columns, such as 'Code' and 'Filename', and 1 is entered, the value is on the right side of the cell, such as an integer value. If a new row is added and is typed as 1A, this value is on the left side of the cell as a text value, which is why it works with number or text combinations. Another workaround is also added as an option to create the match table in the geodatabase and not in a third-party format, where controlling the behaviour is beyond the scope of ArcGIS.

Workaround

  1. Create a new field of an Integer data type, and copy the records from the Text field to the new Integer field.
  2. Set the Integer field as an Input Join Field. The tool runs successfully with the images attached.

Consider creating the table in the geodatabase where the field data types are specifically set.

Steps to Reproduce

Bug ID: BUG-000146306

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