Skip to main content

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

DataDescription
ParameterSelect the config key to retrieve. The list is populated from your project settings.

Local Override

DataDescription
EnableBoolean. If true, uses the Value input instead of the cloud value. Useful for testing.
ValueThe local override value.

Outputs

General

DataDescription
ValueThe configuration value.

Usage

Feature Flags

  1. Create a config boolean enableNewUI in the dashboard.
  2. Use a Config node, select enableNewUI.
  3. Connect Value to an If node to switch between layouts.

Dynamic Text

  1. Create a config string announcement.
  2. 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.