Context-Aware Configuration under Experience fragments are getting null in the STG environment but it's working in DEV and local environments. The content structure is the same in all environments.
ResourceResolver serviceResolver = Utils.getResourceResolver(resolverFactory,SUB_SERVICE);//Getting Resource Resolver for SUBSERVICE
Resource contentResource = serviceResolver.getResource(path);
WorkFlowCaConfig config = contentResource.adaptTo(ConfigurationBuilder.class).as(WorkFlowCaConfig.class);
contentResource also gets null.
Thanks
Views
Replies
Total Likes
Hi ,
can you please confirm if serviceResolver is not null and system user is good in staging ?
Thanks
Thanks for the reply, serviceResolver is not null and the system user is already present in STG, the same code is working pages, assets, etc.
check if you are missing any environmental level configurations.
Views
Likes
Replies
Views
Likes
Replies
Views
Like
Replies