Customize the result of paragraphs.json | Community
Skip to main content
Himanshu_Singhal
Community Advisor
Community Advisor
February 8, 2016
Solved

Customize the result of paragraphs.json

  • February 8, 2016
  • 1 reply
  • 893 views

Hi,

I'm trying to customize the paragraphs,json result. I've page on which I've dragged 5 component(let suppose). Now, if I hit the page with 'paragraphs.json', it displays all component paths with html content. 

Now, what I want to display is the result of banner components(again, suppose; i.e my page which contains 5 components have 3 banner out of them)! 

So, how can we achieve this?

Thanks,

Himanshu

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by edubey

Its the default servlet in AEM which does this task https://docs.adobe.com/docs/en/cq/5-6-1/javadoc/com/day/cq/wcm/foundation/ParagraphServlet.html

You can similarly create your own servlet and bind to a resourcetype and use it.

1 reply

edubey
edubeyAccepted solution
Level 10
February 8, 2016

Its the default servlet in AEM which does this task https://docs.adobe.com/docs/en/cq/5-6-1/javadoc/com/day/cq/wcm/foundation/ParagraphServlet.html

You can similarly create your own servlet and bind to a resourcetype and use it.