Select to view content in your preferred language

Deleting attachments on branch versioned data

198
1
Jump to solution
05-02-2025 11:02 AM
Labels (3)
AmyRoust
Frequent Contributor

I'm setting up a process to download attachments from several feature classes before deleting them from the database. The feature class and the attachments table are branch versioned. As near as I can tell, there is no way for me to batch delete attachments, either with the Remove Attachments tool or the Delete Rows tool. Am I missing something? I tried publishing a service with the attachments table in it, but it doesn't appear in the service.

0 Kudos
1 Solution

Accepted Solutions
AmyRoust
Frequent Contributor

Confirmed with Esri Support that this workflow is not currently supported. Esri case 03897472. Case summary from the tech:

"To summarize our discussion/workflow:

  • We have a trace network in our Enterprise geodatabase, from which we are publishing a feature class along with its attachment table to ArcGIS Enterprise as a feature service
  • On checking the feature service from Portal, the feature layer is present however, the attachment table is not visible
  • The attachment table is visible on the map image layer
  • Tried publishing from a new ArcGIS Pro project with a new database connection, however, got the same results
  • Got the same results with different data
  • Opened the feature layer in Portal map viewer > configured pop-ups > the attachments were visible > we could also edit the attachments
  • Our main goal is to utilize the attachment table from the feature service in model builder in ArcGIS Pro

I tested the workflow in-house and was able to reproduce the results. What we are encountering is expected and is a limitation. I also reached out to a colleague of mine regarding the model in ArcGIS Pro. Unfortunately, we currently do not have a workaround to this and agreed that the best way to move forward would be the one you mentioned over the call."

View solution in original post

0 Kudos
1 Reply
AmyRoust
Frequent Contributor

Confirmed with Esri Support that this workflow is not currently supported. Esri case 03897472. Case summary from the tech:

"To summarize our discussion/workflow:

  • We have a trace network in our Enterprise geodatabase, from which we are publishing a feature class along with its attachment table to ArcGIS Enterprise as a feature service
  • On checking the feature service from Portal, the feature layer is present however, the attachment table is not visible
  • The attachment table is visible on the map image layer
  • Tried publishing from a new ArcGIS Pro project with a new database connection, however, got the same results
  • Got the same results with different data
  • Opened the feature layer in Portal map viewer > configured pop-ups > the attachments were visible > we could also edit the attachments
  • Our main goal is to utilize the attachment table from the feature service in model builder in ArcGIS Pro

I tested the workflow in-house and was able to reproduce the results. What we are encountering is expected and is a limitation. I also reached out to a colleague of mine regarding the model in ArcGIS Pro. Unfortunately, we currently do not have a workaround to this and agreed that the best way to move forward would be the one you mentioned over the call."

0 Kudos