Service user configuration

The Component Property Resolver

WCM Commons requires a service user mapping for accessing component properties in the /apps folder.

Create a service user mapping for the factory configuration org.apache.sling.serviceusermapping.impl.ServiceUserMapperImpl.amended with an entry like this:

user.mapping=["io.wcm.wcm.commons:component-properties\=sling-scripting"]

The service user sling-scripting that comes with AEM can be used for this.

This configuration is required on both author and publish instances.

Back to top

Version: 1.6.1-SNAPSHOT. Last Published: 2020-03-31.