Hi folks:
Last summer I developed a web application using the Experience Builder.
The basic data flow is as follows:
We have an application that collects data from drone flights and sends that data to a GeoJSON file.
I wrote a small utility in Python that uploads this GeoJSON file to a hosted feature layer.
I then created a Web Experience using this feature layer.
During the summer, each time I would add more data to the GeoJSON file and upload that to the hosted feature layer, the Web application would display this new data after about 10 minutes. I did this dozens of times over a two month period and each time got the same result. The nice thing is that I did not have to touch the web application at all. Simply updating the feature layer was all that was required.
After a break for most of the year, we have more data to upload. Unfortunately, when I follow the same steps of creating a new GeoJSON file and uploading to the feature layer, the Web application is not being updated. The new data does not appear on the map.
I can see the new data in the hosted feature layer if I view that directly (from "All my content").
However, somehow my web experience app has lost the ability to refresh the map from the feature layer.
Is there anything obvious I might be missing here? Any recent changes to how a web experience app uses feature layers?
Thanks for any suggestions.
Hi @RichardHolowczak ,
Could you try turning on the auto refresh setting in the data panel to see if this solves the issue?
Doc here:
Hi DanJiang
Thanks for the suggestion. I already had the auto-refresh setting in place since I created the application last year and that was working out fine.
I created a fresh layer and re-populated this new layer with data and now it seems to be updating properly. I am not sure what happened to cause the original layer to "go stale" and stop accepting updating.
In any case, re-creating the layer seems to have solved the issue for me.
Thanks again for your suggestions
Cheers
You are welcome. Glad to hear the problem is solved!