Expand my Community achievements bar.

Nomination window for the Adobe Community Advisor Program, Class of 2025, is now open!
SOLVED

Customize the result of paragraphs.json

Avatar

Community Advisor

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

1 Accepted Solution

Avatar

Correct answer by
Level 10

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.

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

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.