Expand my Community achievements bar.

Adobe Summit 2025: AEM Session Recordings Are Live! Missed a session or want to revisit your favorites? Watch the latest recordings now.

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

SOLVED

Not able to find where clientlibs are include in core component in AEM 6.4

Avatar

Level 2

Hello ,

I am not able to find where clientlibs are included in core components. Example " /apps/core/wcm/components/image/v1/image/clientlibs/site".

Any one know where its included.

core_component_issue.PNG

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

It is used only for dialog authoring purpose not at the page level.

It is added using category.

What is your requirement? what you wanna do with this core clientLibs?

Screen Shot 2018-06-22 at 1.50.48 PM.png

Screen Shot 2018-06-22 at 1.51.17 PM.png

Thanks
Arun

Arun Patidar

AEM LinksLinkedIn

View solution in original post

3 Replies

Avatar

Community Advisor

Yes, this is extraClientLibs used only for components. Added in components dialogs

/apps/core/wcm/components/image/v1/image/cq:dialog

/apps/core/wcm/components/image/v1/image/cq:design_dialog

To have your client library loaded solely for your component dialog (i.e. it will not be loaded for another component) you need to set the property extraClientLibs of your dialog to the category name of the client library you have just created. This is advisable if your client library is quite big and/or your field is specific to that dialog and will not be needed in other dialogs. To have your client library loaded for all dialogs, set the category property of your client library to cq.authoring.dialog.

Thanks

Arun

Arun Patidar

AEM LinksLinkedIn

Avatar

Level 2

Hi arunp99088702 ,

Where is the use of "/apps/core/wcm/components/image/v1/image/clientlibs/site". How css files under 'site' are included.

Avatar

Correct answer by
Community Advisor

It is used only for dialog authoring purpose not at the page level.

It is added using category.

What is your requirement? what you wanna do with this core clientLibs?

Screen Shot 2018-06-22 at 1.50.48 PM.png

Screen Shot 2018-06-22 at 1.51.17 PM.png

Thanks
Arun

Arun Patidar

AEM LinksLinkedIn