HelloI have a really complex query using HashMap and the QueryBuilder, part of it has something like this: map.put("path", "/content"); map.put("path.exact", "true"); // defaults to true map.put("path.flat", "true"); map.put("path.self", "true");I took that code from this...
What are best practices for authors for deleting vs. deactivating a page? If you delete a page, you lose all of the content. So what if authors wanted to bring that page back at some point? From my research, it looks like a developer can recover the deleted page if a version was created. But that is...
I need to adapt document metadata node to an object. The code is as below. But the object returns null. Did anyone face similar issue?Resource resource = resourceResolver.getResource(destinationPath+"/"+JcrConstants.JCR_CONTENT+"/metadata");DocumentInfo documentInfo = resource.adaptTo(DocumentInfo.c...
There are two Image widgets in my touch UI dialog, How can i enable cropping feature for two Image placeholders individually.I have seen the OOTB Image Components under libs/foundation and core/wcm/components both are using in-place editing. Is there any other way to achieve this ??
Dear team,We have scheduled a job on author environment it is working fine, but my concern is when the project is replicated on publish environment will the job be also scheduled on publish. If yes then please suggest how do we avoid this scenario.Note:- Currently My project folder contains componen...
Hi all,In Architectures, generally we see different layers like Presentation Layer, Business Layer, Data Layer, etc.For AEM Applications, The UI/UX Elements like JSP/Slightly, JS, CSS form the Presentation Layer, OSGI Bundles form the Business Layer, and JCR forms the Data Layer, I guess.Is there ...
Hi Everyone,I have an issue with RTE Hyperlink plugin, it is somehow prepending the author's domain to the internal links authored and after the publish, i see the link is still associated with the author domain only. Here is how it is happening:Can some help me out with this issue.
Hey all,I was wondering if there was a way to connect CRXDE to our source code that we actively develop on using eclipse.Our team has an maven build for our AEM source code that we build and upload to package managed to use with our localhost AEM instance. However, if someone was developing using CR...
I have written my own custom annotation 'Jeroen':import com.asadventure.platform.component.text.JeroenInjector;import org.apache.sling.models.annotations.Source;import org.apache.sling.models.spi.injectorspecific.InjectAnnotation;import java.lang.annotation.ElementType;import java.lang.annotation.Re...
Hi everyone, i am trying to customize delete button functionality. I copied /libs/cq/ui/widgets/source/widgets/wcm/DamAdmin.Actions.js to /apps folder.I have to call custom servlet, when delete button is hit for any asset/node deletion. It still calls out of the box delete logic...