Skip to main content

Templating of Configuration Values

You can use templates instead of static values at various points of the extension configuration. Templates are strings with placeholders. The documentation specifies which placeholders you can use for the corresponding configuration values. If you can use templating for a configuration value, the documentation explicitly mentions that.

If you want to use a template for a configuration value, use :parameterName as the format for placeholders.

A template for a URL, for example, looks like this:

https://example.com/sso/:apiVersion/extensions/:extensionId?userId=:userId&accessTokenRetrievalKey=:accessTokenRetrievalKey

In this example, :apiVersion, :extensionId, :userId, and :accessTokenRetrievalKey are the placeholders and are automatically replaced by the corresponding values.

The template engine does not replace unknown parameters.