<div dir="ltr">Hi,<br><br>I am busy with the migration of my old app in .net AIMS2014 (ajaxviewer) to AIMS2017.<br><br>The main things are OK but it remains one big issue that I can't resolve.<br><br>The setLayerVisibility seems to not working...<br>I mean, I have no exception, so code just runs normally but the layer and/or map is not refreshed.<br><br>So, in the .Net code behind I do a call to :<div><br></div><div>layer.SetVisible(visible); //where layer was previously selected by name<br>                                               visibilitychanged = true;<br></div><div>if (visibilitychanged) map.Save(resourceSrvc);<br></div><div><br></div><div>But nothing works.<br><br>The only thing I change between 2014 and 2017 is the instanciation of the map (new MgMap(site))<br><br>Thanks for your help.<br><br>steph.</div></div>