In the post servlet binded with the resource type gives error java.lang.IllegalStateException: Request Data has already been read while saving the dialog of component to which it is binded to. InputStream stream = request.getInputStream();This is the first line of doPost inside try block. How to ...
I need to set the workflow end date and time in node. like how I am setting the worfklow initiator name: String workflowInitiator = workItem.getWorkflow().getInitiator(); if (node.hasNode("jcr:content")) { node.getNode("jcr:content").setProperty("InitiatedBy", workflowInitiator); } How to set ...
my POM details are as below <configuration> <nodeVersion>v10.16.0</nodeVersion> <npmVersion>6.10.2</npmVersion> </configuration> I have latest version of node installed in my machine
Hi all, I would like to generate script element in sightly as shown below and I've sightly list which gives me name & text. ---- SIGHTLY LOOP--- <sly data-sly-list.page="${testModel.faqs}"> name: ${page.name} text: ${page.text} </sly> ------------------------------------- EXPECTED OUTPUT:...
Hi, I have started a project where the client developed a single website using "regular" (server-side) AEM development. They followed all the best practices. However, a migration opportunity presented itself that involves migrating react components from an old legacy CMS (funny enough happens to b...
Hello All, I have a requirment to overlay carousel core component and add custom components to it. Here I want to update the carousel items reading logic. Could please any one help to where we need to update the code. i don't see any method for reading child items in carousel sling model class. o...
I am using multiple variants (HTML) of content for a specific request, though they are all in the same folder. variant1: >> en-us, en-gb variant2 >> en-ca, en-ie variant3: >> en-au, en-ar Note: variant referred here is based on the content. Is it possible to create the reference for all three varian...