I would like to make my data extender configurable through a config file. I found out there is a node ‘customconfiguration’ in the editor config file. I’m guessing this can be used to configure the behaviour of an extension. Is there a way to access that customconfiguration node from C#?
Share
I don’t know that it applies for a data extender but I read custom config from a Model config using the following code:
Rather than using ConfigurationManager.Models you can use ConfigurationManager.Editors to get to your Editor config. You reference the Model or Editor by the name specified in the System.config where you enable the extension, e.g. CME as defined in the example below.