Codeunit 8347 Feature Configuration in 27
- App
- System Application
- Namespace
- System.Config
Versions171819202122232425262728latest
Source in 27
src/System Application/App/Feature Configuration/src/FeatureConfiguration.Codeunit.al36 lines, Copyright (c) Microsoft Corporation. MIT
// ------------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
// ------------------------------------------------------------------------------------------------
namespace System.Config;
/// <summary>
/// Feature configuration codeunit to get configuration values for features.
/// </summary>
codeunit 8347 "Feature Configuration"
{
Access = Public;
SingleInstance = true;
InherentEntitlements = X;
InherentPermissions = X;
var
FeatureConfigurationImpl: Codeunit "Feature Configuration Impl.";
/// <summary>
/// Gets the configuration value for the specified key.
/// </summary>
/// <param name="ConfigKey">The configuration key to look up.</param>
/// <returns>The configuration value associated with the specified key.</returns>
procedure GetConfiguration(ConfigKey: Text): Text
var
CallerModuleInfo: ModuleInfo;
begin
NavApp.GetCallerModuleInfo(CallerModuleInfo);
exit(FeatureConfigurationImpl.GetConfiguration(ConfigKey, CallerModuleInfo));
end;
}
Procedures, 1
| Name | Parameters | Returns | Access | Obsolete |
|---|---|---|---|---|
| GetConfiguration | (Text) | Text | public | - |