Enable supportsLayerQueries for ExtractChanges

879
2
09-21-2020 07:52 PM
JonasEngedal1
New Contributor II

I have enabled the Extract operation on a branch versioned feature server with data in a enterprise geodatabase. I now want to enable supportsLayerQueries such that I can make layer queries when using the ExtractChanges operation.

I use the UpdateDefinition operation on this url:

https://<host>/server/rest/admin/services/<folder>/<service>/FeatureServer/updateDefinition 

I post this:

{

  "extractChangesCapabilities": {
    "supportsLayerQueries": true
  }

}

But get this error in the ArcGIS Server Manager Log:

Failed to start one or more services. Service '<service>'.'FeatureServer' does not exist in folder '<folder>'.

When I use this url without a folder:

https://similixserver.similix.dk/server/rest/admin/services/<service>/FeatureServer/updateDefinition 

I get this error:

Error performing update definition operation Index 1 out of bounds for length 1

0 Kudos
2 Replies
NeilEtheridge
New Contributor III

Hi Jonas,

I'm having the same issue at server v10.8.1.  Did you ever get past this issue?

Thanks,

Neil

0 Kudos
RobinsonJonathanDOIT
New Contributor II

Hello, I'm getting a similar error at server v 10.9.1.  Any update you can provide?

 

Thanks,

Jonathan R.

0 Kudos