Posts

Showing posts from 2018

Sling Models

Image
Introduction: Sling models are released as part of aem 6.0. Sling Models are simple POJO classes which are mapped automatically with Sling Objects (resource, request objects.) and allow us to access jcr node property values directly into java classes. Features of Sling Models: - Pure POJO classes.   Entirely annotation driven (Need to write less code).   Can adapt multiple objects –  – minimal required Resource and SlingHttpServletRequest   OOTB, support resource properties (via ValueMap), SlingBindings, OSGi services, request attributes Support both classes and interfaces. Work with existing Sling infrastructure (i.e. not require changes to other bundles). Using Sling Models, you can do more with less code so you can reduce your coding efforts. Your code is more maintainable using Sling Modes. There are lot of ways to accomplish the component backend logic like JSP,Server Side Javascript,WCMuse,WCMUsePOJO. However, with the release of AEM 6.3 and AEM Core WCM Co

Customizing Cloud Service configuration in AEM

Image
There are many cloud services provided out of the box to connect aem with the adobe marketing cloud & third party services. You can access cloud services by  Cloud Services Some of the mostly used cloud service configurations are:- DTM Adobe Target Adobe Analytics Adobe Campaign Livefyre Facebook Connect Twitter Connect Youtube  reCaptcha Most useful and strong feature of C loud Service is that it allows inheritance from parent pages to child pages with the ability to break the inheritance at any level.So You can provide configuration at site top level/root page and all the child pages can use the same configuration by default. If you want to change the configuration at any level you can create a separate configuration for that page or simple uncheck the inheritance at child lev You can configure cloud service like this and can use at page level. 1:-Click on Configure now to create a new configuration.Give Name and title and click on creat