App Features
Create sets of Configuration items, wrapped in a Feature that can be turned on and off in the App instance Features menu.
- Name – shown in App instance Features menu
- Description (Optional) – shown in App instance Features menu
- Code identifier – code representation of the feature
After you create a Feature, you can press the Edit configuration link to create Configuration items
for that Feature.
Find out if a Feature is turned on in code like this:
App.Features.MyFeature.IsEnabled
Access related Config items like this:
App.Features.MyFeature.Config.MyConfigItem
Features values mutability
Currently, the App.Features values are set at compile time, meaning they will not change while the app is running. For on-premise instances, you must replace the binary file to see different App Features settings.
Although the feature values are compile-time constants, it is not possible to assign their values to a const
variable.
In the future, we plan to make this configuration dynamic; therefore, we recommend designing applications to accommodate potential changes at runtime.