An instance of NewXmlConfigParameters is passed into the CreateConfigurationFromXML method. It provides the necessary information to create a configuration from existing XML.
Constructors
NewXmlConfigParameters()
NewXmlConfigParameters(ConfigHeader header, string lineItemXml, int? lineItemId = null)
The NewXmlConfigParameters class is derived from the ParametersBase class and requires the following arguments to be passed into its constructor.
Properties
|
Data Type |
Property |
Description |
|---|---|---|
|
String |
LineItemXml |
Returns or sets the configuration XML to use as the basis for the new configuration. |
|
Int? |
LineItemId |
Returns or sets the configuration number to load. |
|
AutoUpdateConfiguration |
Specifies whether the configuration should be automatically evaluated, executing rules and applying their effects upon creation of the configuration. The default behavior is to auto-execute rules; this is in contrast to the Web UI where the rules do not fire automatically when loading XML (because it runs under the assumption that when given XML, it's loading a saved configuration) Valid values include:
|
|
|
ContextProperties |
Returns or sets the context properties (Inbound Properties) passed into the configurator to be evaluated during initialization. |
|
|
String |
UILanguage |
Returns or sets the language culture to use in the configuration. The designation may be a specific culture (e.g. en-US, nl-NL, es-MX) or a neutral culture (e.g., en, nl, es). If omitted, or NULL, the default of 'en-US' will be used. |
|
String |
FormattingCulture |
Returns or sets the default culture to use when formatting values in the configuration. The designation may be a specific culture (e.g. en-US, nl-NL, es-MX) or a neutral culture (e.g., en, nl, es). If omitted, or NULL, the default of 'en-US' will be used. |
|
Changes |
Returns or sets and array of changes to make to the configuration. |
|
|
Bool |
IndividualizeChanges |
If true, an implied instance of If false, the configuration will not be updated between changes, improving performance but potentially introducing problems with rules logic. |