Hi, I am currently helping to enhance a function, we are using AEMaaCS. it will do the following: 1. We have a customized form component for users to upload an asset with some other fields2. The form will send a post call to a servlet, the servlet will: 2.1 Save the uploaded file to a DAM folder...
AEM 6.5, SPA, Angular 9In the editor and published page via Typescript, I'd like to subscribe to a parent container component from a child component. If I drag a parent container component on the editor page and then drag a child component so it is inside of the parent container, how can the child ...
Hi All,I have a scenario where I need to call process(Job job) method in ReportJobConsumer.java which is present in com.day.cq.dam.core.impl.reports bundle . How can I add debugger to this in intellij. Thanks in advance..
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 ...