Tuesday 27 December 2016

Enabling extra clientlibs in AEM

Using below steps will help you to create custom clientlibs and to use in specific components and templates.


Step 1: Create clientlibs under component and add below property for your clientlibs:
            This step is for creating clientlibs which consists of js and css.
           
            Property         Type               Value
            clientlibs        String[]          Custom Name




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

            Property                    Type            Value

            extraClientlibs        String           value given for clientlibs categories


No comments:

Post a Comment