There are two main ways to add attachments to a feature:
To use the Add Attachments tool, you need an Attachment Match Table, which you can generate in a previous step with Generate Attachment Match Table (Data Management)—ArcGIS Pro | Documentation
The Match Table is not the Attachment table. The Match Table is not associated with the feature class. The behavior you see is completely correct. The Match Table is just an intermediate step, it can be deleted after you used it in the Add Attachments tool.
Let's look at an easy example for how to add multiple attachments to a feature class.
Let's say you have a polygon feature class of lots. This feature class has a text field called LotID with values like "LotA", "LotB", etc. Now you want to add some reports to these lots.
- Enable attachments for the feature class.
Enable Attachments (Data Management)—ArcGIS Pro | Documentation - Put the reports you want to attach into a folder, name them according to the LotID values -> "LotA.pdf"
- Generate the Match Table
Generate Attachment Match Table (Data Management)—ArcGIS Pro | Documentation
use LotID as key field, output match table can be anywhere (but not the attachment table!)
The Match Table should look like this:
LotID | Path |
LotA | C:/reports/LotA.pdf |
LotB | C:/reports/LotB.pdf |
- Add the attachments to the feature class
Add Attachments (Data Management)—ArcGIS Pro | Documentation
Use the table you generated in the previous step as match table, use LotID as join field - The Match Table is unneccessary now, you can delete it.
For more on how to work with attachments, take a look at the docs: An overview of the Attachments toolset—ArcGIS Pro | Documentation
Have a great day!
Johannes