Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

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

Avatar

Level 1

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.

  

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Level 9

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)

 

View solution in original post

3 Replies

Avatar

Correct answer by
Level 9

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)

 

Avatar

Level 1
Hi Pawan, do we really need to add styletab as core component has already one?