Config
This node retrieves configuration values from the cloud.
The Config node accesses global app settings defined in the XFORGE dashboard.
The Config node allows you to use global parameters (like "Maintenance Mode", "Welcome Message", or API keys) that are set in the cloud dashboard. This allows you to change app behavior without redeploying.
Inputs
General
| Data | Description |
|---|---|
| Parameter | Select the config key to retrieve. The list is populated from your project settings. |
Local Override
| Data | Description |
|---|---|
| Enable | Boolean. If true, uses the Value input instead of the cloud value. Useful for testing. |
| Value | The local override value. |
Outputs
General
| Data | Description |
|---|---|
| Value | The configuration value. |
Usage
Feature Flags
- Create a config boolean
enableNewUIin the dashboard. - Use a Config node, select
enableNewUI. - Connect Value to an If node to switch between layouts.
Dynamic Text
- Create a config string
announcement. - Connect Value to a Text node to show a banner.
Detailed Behavior
- Caching: Config values are fetched once on app start and cached.
- Types: Supports String, Number, Boolean, Object, and Array types.
Troubleshooting
- Old Value: Since config is cached, you may need to reload the app to see changes made in the dashboard.