This would have been helpful in case i had to fetch data from config. But in my case i need to fetch the data from component dialog in my servlet and then convert it to JSON. Thanks.
I need to read dialog data of a component in my servlet. After reading the data I need to create a json output. How can I read dialog content in servlet?
I'm using the core forms option component and I'm not sure how to author the list/data-source option. The moment I select anyone of it and put the path to an ACS-commons list, the component disappears.I am using AEM 6.5 and ACS 4.7
I have a servlet which provides JSON for the page. I wanted to get page properties in my code in that servlet. But every time I add page manager or current page to my servlet, the JSON stops loading. And there's no error.I have the page path. But adapting it to a page is causing issue.
I have a servlet that provides JSON of any page that is opened with a given selector. This JSON will be accessed by third party and i wanted to limit the access. I wanted to use OAuth or something similar (but no ACL). If OAuth is a good idea, how can that be done? The user should have access to the...
I have a servlet that provides page content in needed JSON format. This JSON will be used by a third party and I need to provide a security level check to this. How can I provide a token authentication in servlet or in ant service/wrapper before servlet to provide a layer of security. This cannot be...
I want to get JSON data of a page and I came across this blog which is exactly what I want. But the problem is, I need to work with service instead of servlet. Can this be done? If yes, pls suggest the way.Blog: http://aemlab.blogspot.com/2019/07/get-json-response-of-aem-page.html