Friday, 16 March 2012

Dashboard Edits Not Saving

When editing a dashboard, for changes to save correctly the WebUI site must have a config WorkingMode value set to "Production" (rather than "AppDevelopment").

Otherwise after saving a dashboard the page refreshes to its previous state and any edits are lost.

To change the setting, open the config file: [INSTANCE_DIRECTORY]\Inetpub\WebUI\Web.config and change
<add key="WorkingMode" value="AppDevelopment" />
to
<add key="WorkingMode" value="Production" />.

Thursday, 8 March 2012

Current Instance URL

To return the URL of the currently running instance, from a code page use:

Me.ConfigMgr.GetApplicationURLBase()

Returning, for example: http://server01/instance01/webui