Solution to add refresh interval in new map viewer

268
1
05-03-2021 05:35 PM
Labels (2)
Peter_von_Minden
New Contributor III

If you are now using the latest Map Viewer (formerly Beta) and can not find the Refresh Interval setting (it is apparently coming), then this solution worked for me. 

  1. Log into ArcGIS Online Assistant (https://ago-assistant.esri.com/)
  2. Under the menu 'I want to...' select 'View an Item's JSON'
  3. Click on the Map Viewer map that doesn't have the refresh interval options
  4. Scroll down to your Data area
  5. Click on the Pencil (Edit JSON option). You may get a warning the first time about undesirable results ... I would recommend you make a copy of your map first so that you do not accidently break something
  6. Add in the following line (quotes and all) to the JSON for each layer that you want to have refresh "refreshInterval": 1,   (Note: I placed mine above the line that has "layerDefinition": and the number 1 is 1 minute)JSON editJSON edit
  7. Click the 'Save' button if when hovering over it, it tells you that your JSON is correct.
1 Reply
Carl_Flint
New Contributor III

Much appreciated!

0 Kudos