Select to view content in your preferred language

Start extent for each session

1328
2
Jump to solution
07-27-2016 04:14 AM
DarrylHilton
Regular Contributor

Hi

I have built an app in Web AppBuilder, when a user users it for the first time it goes to the default extent as defined by the default extent options here:

Map and Scene—Web AppBuilder for ArcGIS | ArcGIS

However the next time that user users the app it takes them back to where they were last, rather than the default extent. Does anyone know how I cna have the app start at the default extent each time the map is launched or refreshed? I am guessing there is some caching going on

Thanks

0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus

Darryl,

At WAB 1.3 there was a new feature to restore the maps extent and layer visibility to the last session. At 1.3 this was not configurable (you could not turn it off). At 2.x they made this a configurable option. So the question is what version are you using?

If you are using 1.3 then there is a workaround for this here:

https://community.esri.com/thread/168685#comment-580717

View solution in original post

2 Replies
RobertScheitlin__GISP
MVP Emeritus

Darryl,

At WAB 1.3 there was a new feature to restore the maps extent and layer visibility to the last session. At 1.3 this was not configurable (you could not turn it off). At 2.x they made this a configurable option. So the question is what version are you using?

If you are using 1.3 then there is a workaround for this here:

https://community.esri.com/thread/168685#comment-580717

DarrylHilton
Regular Contributor

Thanks Robert, I had tried that but needed to clear my cache before testing.

All working as I'd like now

0 Kudos