laptop and a wrench

Error

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.

Última publicación: January 31, 2022 ArcGIS Pro
Número de ID del error BUG-000146306
EnviadoJanuary 24, 2022
Última modificaciónJune 9, 2026
Relacionado conArcGIS Pro
Versión encontrada2.9.1
Sistema operativoWindows OS
Versión de sistema operativo10.0 64 Bit
EstadoKnown Limit

Información adicional

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.

Solución alternativa

  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.

Pasos para reproducir

ID del error: BUG-000146306

Software:

  • ArcGIS Pro

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga