Show Menu

Sling Context-Aware Configurations and Core Components

Context-aware configurations are a feature of Sling and are configurations that are related to a content resource or a resource tree and are leveraged by the Core Components to allow site-wide configurations.

Sling Context-Aware Configurations

Your site may need different configurations for different sites regions for instance where some parameters may be shared requiring inheritance for nested contexts and global fallback values. Sling context aware configurations enable this.
For full details of Sling context-aware configurations, see the Apache documentation.

Use in the Core Components

A number of Core Components features leverage context-aware configurations. All such configurations are located under the following node:
  • /conf/<my-site>/sling:configs/<my-configuration>
Individual configurations depend on the specific component or feature. Features of the Core Components that use context-aware configurations are: