Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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
Community Advisor

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
Community Advisor

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?