Select to view content in your preferred language

Remove attachments in batches from feature service?

7787
11
06-23-2021 12:07 PM
SFM_TravisBott
Frequent Contributor

Is it possible to remove all attachments from a large number of selected features in a feature service all at once, but not remove everything?

As far as I know the only way I've been able to remove attachments is by toggling them off and then back on again. You get a pop-up warning that they'll all be removed. What if I just wanted to remove attachments, from, say 100 features, rather than all of them? Is this possible?

(of note, I'm not sure how to do this on a feature class in Pro, either. Definition queries and selecting features doesn't seem to stop all attachments getting removed). 

0 Kudos
11 Replies
heatherdaw
Emerging Contributor

Thanks Megan. Good to know.

0 Kudos
AdamGaudet
Regular Contributor

Beauty! Needed to do the same thing and this worked on my first try. Nothing better than that!

0 Kudos