AEM 6.5 - Clientlib is not getting embedded while creating a page

Avatar

Avatar

JakeCham

Avatar

JakeCham

JakeCham

11-02-2021

Hi,

 

I have a Clientlib folder which includes scripts. It was embeded into cq:dialog in page (apps/aaa/components/structure/page) using extraClientlibs->categories.Problem is while page creation , This clientlib doesn't embed.it is embedding after page creation only.How I can embed it while creating the page ?

 

Thanks in advance.

Accepted Solutions (0)

Answers (1)

Answers (1)

Avatar

Avatar

Anudeep_Garnepudi

MVP

Avatar

Anudeep_Garnepudi

MVP

Anudeep_Garnepudi
MVP

11-02-2021

@JakeCham 

Clientlibs you include as part of dialog(cq:dialog) will only load once you open the dialog. Include client lib in page rendering html/jsp or use cq.authoring.editor category to your clientlib.