Hello all, I am exploring some AEM headless outputs, and thinking to expose AEM component html output in sling model json output instead of json data for each field so that i dont need to write business logic in Front end frameworks, which might help for existing projects migration to headless way a...
Hello everyone,We have just upgraded Service Pack 16 (SP16) in our AEM 6.5 instance. Our legacy pages are throwing errors at scriptlet occurrences. Is there any known issue which could be the reason for this problem. To be very specific, we are experiencing a Null Pointer Exception on the below line...
I have created a community website using AEM communities and now I need to use dynmaic navigation component which I have instead of the default navigation. I hve added the component as shown below: <cq:include path="test" resourceType="mycomponents-core/components/dynamic-nav"/> and in the dynamic-n...
Hello All - I was working on one of the Data Layer requirements and while I went through the Adobe documentation I learned we can primarily push the data to Analytics in two essential ways : Pushing an Event Object (Push an Event Object/Data)window.adobeDataLayer = window.adobeDataLayer || [];windo...
I am writing a JUnit5 test case for a servlet that is creating a JsonObject object. While running the test case in my IDE (IntelliJ), I'm getting the below error - But, on the other hand, my core package build is successful. How to get this error resolved in my IDE as I can see that the dependency j...
Team, We have a requirement to disable the auto versioning whenever the new pages are published to preview instances but want to keep it when we publish it dispatcher servers. Could anyone please explain to me the steps to disable it?
Hello, this is my first question here, but have been using the forum for almost two years now!Some experienced developers with React and AEM can tell me what are the pros and cons when considering implementing a SPA?I mean we lose something in SEO?is AMP mandatory when talking about Google News and ...
Hi All, I am new to AEM I need to add a custom link or button in workflow action bar in inbox. Can some please help how to add/to add, Also please confirm whether we can use workflow session variable to be passed in this custom link ?
Hi all,I am new to AEM and trying to fetch last published version of the page. Got below code online but versionHistory.getVersions(true).next() thowing error as no such method exists in the class. // Get the Page Manager servicePageManager pageManager = resourceResolver.adaptTo(PageManager.class)...