How can I add headers when I am running execute method with MagentoGraphqlClient. For example below: Below query is an object of MagentoGraphqlClient and genetateQuery() gives me the Graphql query in String format.I can not see any option in MagentoGrahpqlClient object to set the headers. if (qu...
I have a component. Nothing needs to be authored on the dialog for this component. The content is dynamic for different users.Now, user data is being stored at Java level in a service in an httpSession object. How can I get that data to be rendered in that component's sightly?I've written a model bu...
Hi, As mentioned in the Adobe Doc for core components, I could see certain components are by default annotated with microdata format to enable SEO schema for those components. Is it applicable for all core components and how multi lingual schema will be handled in this case. Do we need any custom im...
Hi, I have a custom dropdown in page properties Basic Tab, This dropdown show while creating new page. I want take the current selected page and get values from OSGi service to show the drop.How I can get the current page path in datasource sling model?Below is my code.1. DatasourceModel.java@Model(...
I am getting this error. Please guide me how to resolve it. I followed this step: Open a new command-line terminal and perform the following actions.In an empty directory, clone the aem-guides-wknd repository:$ git clone git@github.com:adobe/aem-guides-wknd.git --branch tutorial/component-basics-st...
Hello Everyone, I am trying to order my content based on last modified order in descending. Below code works fineMap<String, String> param = new HashMap<>();param.put("p.limit", 1);param.put("p.guessTotal", "true");param.put("type", "cq:PageContent");param.put("path", "/content/abc/myarticles/en")...
Hi Everyone, There is a scenario that we are undergoing currently to upgrade an AEM - React SPA project to React 18 and with all latest versions of dependent libraries. We are using Archetype 47 , which by default gives react 16 and this we are upgrading to 18. And also in the package.json the edita...
I am trying to wire an Application Insights instance into my AEMaaCS installation. The idea is that I want to be able to view my logs from application insights, rather than the native AEMaaCS mechanisms. I have installed App Insights and configured the telemetry client. This code works and I can s...
Hey, guys. I'm in the process of creating a custom workflow process / step that will list all assets within a folder and subfolders. I initially used the Query Builder API, but I don't know if this is the best way to go about it. How would you approach something like this? Are there alternatives?
Hello everyone, I'm gearing up for the AEM 6.5 (AD0-E126) certification exam. Could someone kindly recommend reliable and up-to-date study materials for this certification? Thank You!Nikhil