Configuration.Instance.GetOptionsConfiguration returns null

Hi all.

In my background plugin, I have to read some custom configuration options. All works fine, but if I try to read configuration options in Init() method of my derived PluginDefinition class, Configuration.Instance.GetOptionsConfiguration(MyGuid, false) returns null.

This options are stored by custom ToolsOptionsDialogUserControl in Management Client Options tab.

If I use Configuration.Instance.GetOptionsConfiguration(MyGuid, false) after plugin initialization, all works fine.

Exists some other api to get configuration option event server side ?

Thanks

Ciao.

Gigi

Second one not entirely so. Please use this instead (please read it and let me know if you don’t understand what I have changed):

Configuration is not yet available in PluginDefinition.Init(). Please access configuration either from the plugin’s Init() method or subscribe to Server.ConfigurationChangedIndication message – it will be notified as soon as the configuration is available.