AnsweredAssumed Answered

Web App Builder Editor Widget - Disable Client Caching

Question asked by mkoneya on Jan 4, 2016
Latest reply on Jan 5, 2016 by rscheitlin

I am using the Editor Widget in WAB to add a feature.  


I am then using the Batch Attribute Editor Widget to update the feature added by the editor widget.    In my map service,  I have set up a definition to query out the new feature and 'send' it to the layer used by the batch editor widget. 


In my map service I have two layers"


Hydrant Review

Missing Hydrant


If I look in the map service the new feature shows up in the Hydrant Review Layer as expected, and not in the missing hydrant layer.


However,  when I look at the map in my application,  the feature shows up in both layers until I close out the browser.    When I close and re-open the browser,   the feature appears correctly.    There is only one feature in the Hydrant Review layer.


Is there something being cached by the editor widget?     I did do a refresh in my code on both layers,  but this did not help.


How can I get the map to show the newly added feature correctly?