Select to view content in your preferred language

Including FieldsToCompare parameter on Extract Changes Operation

253
2
12-15-2023 10:22 AM
Labels (1)
RViruet
New Contributor III

Hi all!

 

I've configured a FeatureService Webhook to track changes being made to a MapService Layer. I've successfully configured the webhook and I'm getting the appropriate responses when features are either added, edited or updated.

However, on the extract changes workflows, according to the REST API Documentation [Here] I could add a fieldsToCompare parameter to my request in order to watch changes for specific attributes. According to the documentation I should get a fieldUpdates array that indicates which fields were modified (if any), however I am nor receiving this element on the final response (after job is completed).

my request parameters at the moment include:

 

{
   "serverGens": [values],
   "token": "the_token",
   "fieldsToCompare": {
      "fields": ["company"]
   }
}

 

 
The documentation DOES say that in order to support this parameter, the service must include
"supportsFieldsToCompare property, under extractChangesCapabilities, is set as true."

But I don't know where to set this.

I am currently in ArcGIS Enterprise 11.1.

Any help is greatly appreciated, and thanks beforehand!

0 Kudos
2 Replies
philnagel
New Contributor III

Did you ever figure this out? I am having the same issue. Thanks!

0 Kudos
RViruet
New Contributor III

Unfortunately, no.

0 Kudos