laptop and a wrench


The Create Replica operation fails on a feature service that has a M:N (Many-to-Many) relationship and published through a schema-only XML data file.

Last Published: July 4, 2017 ArcGIS for Server
Bug ID Number BUG-000081254
SubmittedSeptember 9, 2014
Last ModifiedMarch 30, 2022
Applies toArcGIS for Server
Version found10.2.2

Additional Information

Could not reproduce in 10.5.1. A couple of notes on the bug steps. I assume the intention is to include the relationships. If this is the case, then the relationship class must not be based on the OID column (I used globalids). Also, you must include the relationship table explicitly. In my case, I have the feature class, rel class and table in the service (layers 0,1,2). The LayerQueries should look something like this: { "0":{"where":"objectid_1 in (1,2)", "useGeometry": false, "includeRelated": true, "queryOption": "useFilter"}, "1":{"includeRelated": true, "queryOption": "none"}, "2":{"includeRelated": true, "queryOption": "none"} }

Steps to Reproduce

Bug ID: BUG-000081254


  • ArcGIS for Server

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Discover more on this topic