Hi All,
How can I fetch getineritedProperties() in sling servlet?? I would like to get cloud service configuration details in sling servlet. I don't want to pass all the cloud config properties from ajax.
Any pointers?
Thanks,
Kishore
Never tried getting this type of information by using an API. There is a doc topic that may help you -- appears there is an API that retrieves configuration information - see Cloud Service Configurations
Views
Replies
Total Likes
Also speaking to internal ppl about this --
Yeh - long as the requests resource is in that tree.
Probably something like:
Page page = pagemanager.getContainingPage(request.gerResource())
inheritedProps = new hierarchynodevaluemap(page.getContentResource())