AnsweredAssumed Answered

Disable Feature Cache through AddIn

Question asked by bartvh on Dec 21, 2017
Latest reply on Apr 25, 2018 by RRuh-esristaff

Hi all,

 

I'm trying to access and edit a Feature Service in ArcGIS Pro. This is working, but I'd like to prevent the client of caching the Features. This is not working as expected. I've tried the following (even combined):

- Disabling the DisplayCache via the DisplayCacheType

- Disabling the FeatureCache via the FeatureCacheType

- Disabling the cache on ArcGIS Server (10.4). Based on topic  Implementing layer-level access control

 

The desired behavior is achieved when I manually disable the feature cache in ArcGIS Pro as described in Manage the Feature Cache. If I don't disable it that way, I see that no new REST calls are made to the service when I pan, zoom, refresh an area that was previously loaded.

Is it possible to force that behavior (Disable Feature Cache) through the API, for instance, when the FeatureLayer is added to the map.

 

Thanks,

Kinds regards,

Bart Van Hoecke

Outcomes