softwhere / SaveSession-Widget

The SaveSession Widget for ArcGIS Web AppBuilder allows users to save the current map settings into the session list and load them again later.
Apache License 2.0
12 stars 8 forks source link

turns on sublayers that should not be turned on (they were off, but when restored, they turn on) #7

Open kevinsagis opened 5 years ago

kevinsagis commented 5 years ago

see my thread on https://community.esri.com/docs/DOC-7661-savesession-widget

I have a 'label' layer for my parcels. It is a group, in the MXD. There are two sublayers. one of them is a very, very heavy layer to load and it is unchecked and OFF by default. The other sublayer with measurements is on. However.... when I save a Session with this, let's say it turns off Parcel labels and turns on schools. When I open a session to turn the Parcel Label layer back on, it should only turn on the measurement Annation in the Labels group and NOT the 'owner' label sublayer, the heavy dynamic label layer. But it turns them both on.

Here is my example site with your widget (WAB 2.12!) https://public.sagis.org/sagisorg2019/

Otherwise seems to work perfect. But the visibility sublayer issue is a big catch and I have to resolve this before I can deploy it because that sublayer that is supposed to stay off is very heavy and has to stay off.