I created the layer in the UI and added fields and a table using python. Now extract_changes works for the layer, but not for the table (which is layers[1] in the calls but tables[0] in properties. The table has all the edit tracking fields that the layer does.
I see no serverGens being made in the table definition, even though the webhook is sending alerts and serverGen values when the table is edited, with layerID 1.
The table has a relationship to the layer - so are all changes then reflected on layer 0? If I use layer zero and the serverGen value on layer 0 it works for the features. But I get 'Invalid syncLayer parameters' with the table. Am I getting this call wrong or was there something missing with the manual table addition? There is a new LayerOverrides section which does include 'capabilities' that worries me... Thanks all.
xdict=flc_obj.extract_changes(layers=[1],
servergen=[{ "id" : 1, "serverGen" : 1432995 }],
return_ids_only=False,
return_inserts=True,
return_updates=True,
return_deletes=True)
also the layer collection has what looks like perLayer configs on
"syncEnabled" : true,
"syncCapabilities" : {
"supportsAsync" : true,
"supportsRegisteringExistingData" : true,
"supportsSyncDirectionControl" : true,
"supportsPerLayerSync" : true,
"supportsPerReplicaSync" : true,
"supportsSyncModelNone" : true,
"supportsRollbackOnFailure" : true,
"supportsAttachmentsSyncDirection" : true,
"supportsBiDirectionalSyncForServer" : true
}