Category: Client Libraries

Execute JavaScript in the Author Environment for AEM Components AEM 6.5+

To execute JavaScript specifically for the AEM Author Environment, developers can add a condition to check for a Cookie stored in the browser, ‘cq-authoring-mode’; this works on AEM 6.5+. When the Cookie of ‘cq-authoring-mode’ exists, then execute JavaScript during authoring on the editor.html. Only in the Author Environment, the Cookie, ‘cq-authoring-mode’, will exist. Below is […]

Race Conditions with window.Granite?.I18n

We have created a JavaScript micro-frontend in VueJS to handle a new feature for our website. The JavaScript micro-frontend is set up nicely inside of a maven module. Along with it’s own Node Package Manager configuration, we used the aem-clientlib-generator to generate a client library under /apps/sourcedcode/clientlibs/micro-frontend. Within our VueJS application, we have a utility […]

What are AEM ExtraClientlibs?

When dealing with cq:ClientLibraryFolder (node type), you may have come across a property called extraClientlibs. What are extraClientlibs and how does it work? As you may recall, when you want to add custom functionality or styling to the Touch Dialogues (in edit author mode, editor.html), we must include cq.authoring.editor.sites.page as a dependency and cq.authoring.editor.sites.page.hook as […]

AEM Client Library Debugger & Client Library Test Tool

A quick way to validate your AEM client libraries via registered clientlib categories is by using the AEM, out-of-the-box, “AEM Client Library Debugger Test Tool”. The tool is very bareboned. When you are on the tool page, you’ll find a Categories input field. Simply insert your to-be-tested clientlib category value here and press “submit”. Your […]

Structural Static Assets in AEM as Client Library Resources

As developers, when we are building components or view logic, in typical scenarios require assets like background image patterns, icons, logos, typography, etc.. These assets are considered as structural assets. Structural assets are assets that support CSS styles or JavaScript view logic; which are also static assets. Structural assets should be stored and managed within […]

Back To Top
xx1toto togel xx1 toto login xx1toto xx1toto link xx1toto xx1toto xx1toto xx1toto xx1toto xx1toto xx1toto xx1toto xx1toto xx1toto xx1toto xx1toto xx1toto xx1toto xx1toto xx1toto xx1toto xx1toto xx1toto xx1toto xx1toto xx1toto xx1toto xx1toto xx1toto xx1toto xx1toto xx1toto xx1toto xx1toto xx1toto xx1toto xx1toto xx1toto xx1toto xx1toto xx1toto xx1toto xx1toto xx1toto xx1toto xx1toto xx1toto xx1toto xx1toto journalberitaterkini xx1toto xx1toto pasaran togel