Web App Builder Editor Widget - Disable Client Caching

2929
1
01-04-2016 03:58 PM
MeleKoneya
Regular Contributor

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?

Thanks,

Mele

Tags (1)
0 Kudos
1 Reply
RobertScheitlin__GISP
MVP Esteemed Contributor

Mele,

   See this thread where Andrew provides a solution:

Re: Refreshing Web Appbuilder