Expand my Community achievements bar.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

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

SOLVED

loading JS

Avatar

Level 6

Hi Team,

How i can load the JS for only Dialog and not for entire page.

Regards

Manikantha R

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi,

Yes, you can by using extraClientLibs property.

To add this extra clientlibs specific to your component dialog, add extraClientlibs property to the cq:dialog of your component.

extraClientlibs(String)= clientlibs categories

Keep Calm and Code It.: extraClientlibs in AEM

Arun Patidar

AEM LinksLinkedIn

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

Hi,

Yes, you can by using extraClientLibs property.

To add this extra clientlibs specific to your component dialog, add extraClientlibs property to the cq:dialog of your component.

extraClientlibs(String)= clientlibs categories

Keep Calm and Code It.: extraClientlibs in AEM

Arun Patidar

AEM LinksLinkedIn

Avatar

Level 10

Excellent response Arun!