I have a layer containing multiple attachment and when I do a spatial join, my attachments disappear. How could I make sure it is kept from my initial layer? I tried to add attachments but it is still not working. I also enabled the attachments to my spatial join layer.
Thank a lot !
Possibly a table join between your new FC (without attachments) back to the old FC (with attachments), then make the join permanent with Copy or Feature Class to Feature Class Maintain Attachments (Environment setting)—ArcGIS Pro | Documentation
then clean-up duplicate fields etc. (or better to do this at the field mapping stage in the table join).
This is just a wild idea but maybe worth a go, as I don't see any issues with it theoretically (though not saying that there's not a better way I'm missing).
Yes, sure, thanks a lot for you help.
This is the original feature class with the attachments: Points_ISA_2020
This is the result of the spatial join (without attachment) : Points_ISA_2020spatialjoin
Then I joined Points_ISA_2020spatialjoin to Points_ISA_2020 and it adds the fields I want and still has the attachments:
But then when I try to make a permanent join, I tried to do a feature class to feature class but no success (I checked the Maintain attachment).
And the result : no attachment!
Here is a screenshot of what my GDB looks like:
Thank you for your time !