Store session info in config file

Sep 15, 2014 at 11: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 11: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 12:15 PM
Fair enough :)

Sep 15, 2014 at 8:39 PM
Edited Sep 15, 2014 at 8: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.