Uh oh! We couldn’t find any match.

Please try other search keywords.

Bixby Developer Center

Guides

Capsule Properties

Capsule Properties File

Use the capsule.properties file to store configuration properties related to your capsule, such as authentication keys, scopes, or whether to use test or production configuration properties.

Configuration Mode

You can set the configuration mode for your capsule using capsule.config.mode.

You can set properties for specific configuration modes, which are helpful when you want to use your capsule in different environments.

capsule.config.mode=default

Capsule Properties

You can set properties for each mode using this format:

config.%mode%.%propertyKey%=%propertyValue%

Use the default mode for any fallback property values:

config.default.my.property.key=myValue 123

Capsule properties are treated as strings, so ensure that you cast them to right type. Do not include empty strings as they are then surrounded by quotes ("""").

Toggling Properties and Capsules

You can toggle individual capsule properties using this format:

config.default.toppicks=false

You can toggle content from a capsule using this format:

capsule.enabled=false

To access any of your configuration properties, use the config.get() JavaScript method.