Every time I make a selection on the dashboard the property values of the extension are reset to those set when the extension was placed in it.
For example, I have a map extension with a zoom property in the definition file:
<Text Label="Zoom Level" Expression="9"/>
Then I use the following code to get it on the map:
zoom = parseFloat(_this.Layout['Text1'].text);
When the user places the extension on the dashboard he can set the initial zoom level value on the property editor. Later, when he opens the dashboard the initial value is applied. That's ok, but then he starts zooming in a an out and eventually he changes a selection on the dashboard causing the extension to be fully updated and returning to the initial zoom value. How i could keep the last zoom value in between extension renderings?.