Expand my Community achievements bar.

SOLVED

extraClientlibs for page templates only load when editing

Avatar

Level 1

I created a Page Template with an extra tab for configuring my own stuff. This tab only has an Autocomplete field. The problem is that when I open the autocomplete dropdown it is cut (like in the next image).

1627910_pastedImage_9.png

I created an extraClientlib and included it in my .content.xml via the extraClientlibs property.

1627908_pastedImage_7.png

1627909_pastedImage_8.png

The problem is that this extraClientlibs are only loaded after I create the page and go back to edit its properties, the first time I create a page template, the specific styles I created are not loaded so the content is cut. When I open the properties after I create the page, the styles are loaded and it looks like this:

1627907_pastedImage_6.png

I need to make it work for the time I create the page for the first time. Any Idea?

Thanks in advance!!

IR.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

I am not able to reproduce the issue on AEM SDK Nov 2023 version.

It must have been resolved.


Aanchal Sikka

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

I am not able to reproduce the issue on AEM SDK Nov 2023 version.

It must have been resolved.


Aanchal Sikka