laptop and a wrench

Bogue

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.

Dernière publication: January 31, 2022 ArcGIS Pro
Numéro d’ID de bogue BUG-000146306
EnvoiJanuary 24, 2022
Dernière modificationJune 9, 2026
S’applique àArcGIS Pro
Version trouvée2.9.1
Système d’exploitationWindows OS
Version du système d’exploitation10.0 64 Bit
StatutKnown Limit

Informations supplémentaires

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.

Solution de contournement

  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.

Étapes pour reproduire

ID de bogue: BUG-000146306

Logiciel:

  • ArcGIS Pro

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement