Select to view content in your preferred language

Layer Update is not reflected in the web application

720
3
05-30-2024 01:36 PM
RichardHolowczak
Emerging Contributor

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.

 

0 Kudos
3 Replies
DanJiang
Esri Contributor

Hi @RichardHolowczak , 

Could you try turning on the auto refresh setting in the data panel to see if this solves the issue?

Doc here:

DanJiang_0-1717145386825.png

 

https://doc.arcgis.com/en/experience-builder/latest/build-apps/select-data.htm#ESRI_SECTION1_9E2425C...

RichardHolowczak
Emerging Contributor

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

 

0 Kudos
DanJiang
Esri Contributor

You are welcome. Glad to hear the problem is solved!

 

0 Kudos