Refresh data dynamically

692
2
Jump to solution
06-19-2021 08:38 AM
sirishb
New Contributor III

1) Published a Feature Layer (hosted) in AGOL from ArcMap 10.8 MXD
2) Created a webmap with the hosted layer in AGOL
3) Created a Web Mapping Application (WebAppbuilder) and configured couple of widgets in AGOL
4) Created a Web Mapping Application using "MapSeries Builder" in AGOL

      a) In one tab configured webpage using created Web Mapping Application (WebAppbuilder)

          sirishb_2-1624116849254.png

      b) In another tab configured map using created "webmap"

         sirishb_1-1624116685698.png

5) In Chrome browser opened "WebMap" & "Web Mapping Application" & "MapSeries Story" in different tabs

Every 1Hr source data is changing (some feature may add/delete/update).
Dynamically generating "ServiceDefintion" file and uploading to AGOL using python script.

Python script reference URL: https://www.esri.com/arcgis-blog/products/arcgis-enterprise/administration/updating-arcgis-com-hoste...

After successful uploading the "ServiceDefintion" file,

1) When user perform zoom in/out data is refreshing in opened "WebMap" browser tab
2) When user perform zoom in/out data is not refreshing in opened "Web Mapping Application" browser tab
3) When user perform zoom in/out data is not refreshing in opened "MapSeries Story" browser tab

Requirement is user to see the updated data whenever the data is changes in "MapSeries Story"

Is this the limitation or did we missed anything. Kindly suggest.

0 Kudos
1 Solution

Accepted Solutions
DavidPike
MVP Frequent Contributor

Maybe a refresh interval in the Web Map or the feature layer? elipsis (...) - > refresh interval in the web map table of contents/details pane, or the hosted feature layer itself -> 'visualisation' -> ellipsis (...) - > refresh  interval.

View solution in original post

2 Replies
DavidPike
MVP Frequent Contributor

Maybe a refresh interval in the Web Map or the feature layer? elipsis (...) - > refresh interval in the web map table of contents/details pane, or the hosted feature layer itself -> 'visualisation' -> ellipsis (...) - > refresh  interval.

sirishb
New Contributor III

I set refresh interval for the layer in webmap...and its working fine....Thank you DavidPike....