Hi All,I need to mock this statement in my class.PageManager pageManager = resolver.adaptTo(PageManager.class);pageManager.getPage("/test/sample"); So in my junit class, I have this code,lenient().when(pageManager.getPage("/test/sample")).thenReturn(context.create().page("/test/sample"); while debug...
A developer is creating a custom component using sling model on the page and listing all the child pages of the root page. Wants to show all child pages on the root page itself .How can we achieve that?
AEMaaCS - AEM launcher is not working because it is getting initiated for the first replication and it is not sending any notification on next times.So I tried using Event handler (EVENT.TOPIC), it is sending the notification to the business. But problem here is it is triggering email multiple times...
I am able to successfully generate sitemap for config.author. I have following configuration in config.author.local However, sitemap-index is not getting generated. I also have following content in filter.any## Allow AEM sitemaps/0073 { /type "allow" /path "/content/*" /selectors '(sitemap-index|si...
I'm having a problem with the ResourceResolver locating a configuration xml file in my local author instance under apps. Despite attempting various approaches, such as specifying relative and absolute paths, the configResource continues to return null for the file resource. Also the ResourceResolver...
Looking for a way to store sub-assets under a CF or apply a clear hierarchy to how CFs are stored. The sub-assets would always be unique to the parent asset and not always required. The sub CF and parent CF would also require different models, so variations aren't a good solution. Based on the data ...
Hi All, As seen below I create a test core form container to POST Form Data to a external endpoint:However when I go to preview the page I cannot see the external endpoint instead the only forms post visible is one directing to the page I sent it from: Shouldn't this value show action="https://http...
Hello everyone, We need help to understand if TarMK synchronisation process is working correctly between the primary node Author and the standby node Author.Our checks show that the process is current and up-to-date.However, upon comparing the bundles of the primary node and the bundles of the stand...
We have a scenario where our development server already has multiple project with specific archetype version with below structure.project 1 ( native/standard) >> archetype -22 (assuming)project 2 (native)>> archetype-22. . . so on project 6 (native) >> archetype 22 related dependencies only.core.wc...