Expand Minimize
This topic has not yet been rated - Rate this topic

SysAutoRun.execConfiguration Method

Enables modification of the default Microsoft Dynamics AX configuration keys.


protected boolean execConfiguration(XMLNode _command)

Parameter

Description

_command

The XML node to get the value from.

true if execution is successful; otherwise, false.

Called

The execConfiguration method is called when the <ConfigurationKey> tag is used in the configuration file when Microsoft Dynamics AX is started. For more information, see the SysAutoRun class.

Execution of this method is controlled by the SysAutoRun.execCommand method.

The <ConfigurationKey> tag has the following attributes:

  • name - Specifies the name of the configuration key

  • enabled - Specifies whether the key is enabled (enabled="true") or disabled

The execConfiguration method uses the ConfigurationKeySet class to modify the enabled/disabled status of each configuration key. Only the values specified in the configuration file are changed - other keys retain their default values.

The following example shows a possible use of the <ConfigurationKey> tag in the configuration file.

<Configuration>
 <ConfigurationKey name="SysUserLog" enabled="true" />
 <ConfigurationKey name="PBA_AdvancedProductBuilder" enabled="false" />
</Configuration>
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.