Store session info in config file

Sep 15, 2014 at 10:29 AM
As we are now experimenting with developing plugins for XrmToolbox - is there a simple way to store "session variables" in the config file where the connections are stored?
I would e.g. like to have text fields in my plugin repopulated with values from last session when I open it again.

Best Regards
Sep 15, 2014 at 10:31 AM
Hi Rappen,

I didn't implemented anything like this in XrmToolBox but when I need this kind of feature, I produce my own XML file to store values.

I guess you can do the same since I don't want to implement a feature that could not fit anybody needs
Sep 15, 2014 at 11:15 AM
Fair enough :)

Sep 15, 2014 at 7:39 PM
Edited Sep 15, 2014 at 7:40 PM
Saving off the setting to an XML fil is exactly how I save settings for the EarlyBoundGenerator. The naming convention seems to be {NameOfThePlugin}Settings.xml, since you don't want other plugins to step or your settings or vice versa.