Is there a way to add clientlibs to content fragments while rendering them to a page using core components?

Avatar

Avatar

Simranjeet_Singh

Avatar

Simranjeet_Singh

Simranjeet_Singh

25-03-2021

I am trying to render content fragments on to a page using core components. Fragment loads just as content (as expected) with titles and values in different html elements for all fields in fragment. 

 

1. Is there a way we can attach clientlibs while rendering?

2. Hiding field titles while rendering on to a page.

  

AEM 6.5.0 content fragments

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

rush_pawan

Avatar

rush_pawan

rush_pawan

25-03-2021

I would suggest to extend core component and enable it for styling system https://experienceleague.adobe.com/docs/experience-manager-65/authoring/siteandpage/style-system.htm... (this is the perfect use case to match)  and as it will be your local, so you can manage it for your need (clientlib or rendering related)

 

Answers (1)

Answers (1)