Not able to find where clientlibs are include in core component in AEM 6.4 | Community
Skip to main content
Level 2
Jun 22, 2018 6:21 AM UTC
Solved

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

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
arunpatidar
arunpatidarAccepted solution
New Participant
Jun 22, 2018 11:52 AM UTC

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?

Thanks
Arun

Arun Patidar

3 replies

arunpatidar
arunpatidarAccepted solution
New Participant
Jun 22, 2018 11:52 AM UTC

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?

Thanks
Arun

Translate
Arun Patidar
Level 2
Jun 22, 2018 11:05 AM UTC

Hi arunp99088702 ,

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

Translate
arunpatidar
New Participant
Jun 22, 2018 10:36 AM UTC

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

Translate
Arun Patidar