Restricting naming conventions when extending IDO methods from a CLI
You can use ConfigManager.exe (the Configuration Manager utility) from a Command Line Interface (CLI) to restrict extending IDO methods of the same name as the base method and to prevent calling the extended IDO method instead of the base method.
Syntax
Use this command line syntax for Farm-wide setting:
ConfigManager.exe -U:CS -mode:mode -key:FarmStopExtIDOMethodCallReplace:value
where:
modeis one of these actions:- new
- edit
valueis one of these options:- -1 - The setting is only applied to logs.
- 0 - To use the current or default behavior.
- 1 - The setting is applied to non-production tenants.
- 2 - The setting is applied to all tenants.
Use this command line syntax for application-specific setting:
ConfigManager.exe -U:CS -mode:mode -name:Application ID -StopExtIDOMethodCallReplace:value
where:
modeis one of these actions:- new
- edit
Application IDis the Application ID you want to apply the setting.valueis one of these options:- 0 - To use the current or default behavior.
- 1 - The setting is applied to non-production tenants.
- 2 - The setting is applied to all tenants.
Note: The values for the
FarmStopExtIDOMethodCallReplace setting can be overwritten by the application setting StopExtIDOMethodCallReplace unless when the value for the FarmStopExtIDOMethodCallReplace is set to -1.
Example
Farm-wide setting:
ConfigManager.exe -U:CS -mode:edit -key:FarmStopExtIDOMethodCallReplace:-1
Application specific setting:
ConfigManager.exe -U:CS -mode:edit -name:ApplicationID -StopExtIDOMethodCallReplace:2