I am trying to publish the page references along with the page using AssetReferenceSearch API in my custom workflow. It is showing all the references of the page. How to identify only modified reference alone for publishing?
Hello All, I have a scenario where I need to change the default values in a dialog based on a template type. Example: If I drop my component onto Template 1, the default values of 2 fields in the dialog be 30,40 and when I drag and drop the same component on to a different template then the values i...
Hi guys, I have an issue where a cq:dialog is persisting the information correctly, but when the authoring page loads the information is not populated back into the dialog. I can troubleshoot issues in my Java code using printlns and the debugger. I can troubleshoot issues in HTL by writing values i...
I have created the below servlet. I have added the servlet path in Apache sling servlet resolver. I am firing an ajax call with the url same as the path of servlet. But the servlet is getting ignored or not getting registered.Could any one please provide some inputs for getting the servlet register...
I was working around with the iterator to list and traverse over child nodes and I'm getting this anomalous behavior where the iterator lists the nodes in different order each time. I need to iterate over nodes as it's present in the crx/de. Is there a way it could be done, to control the order of l...
I packaged a site from our Dev environment and added it to my local AEM instance. I would like to be able to edit that site using Eclipse but I don't know how to go from "already in AEM" to Eclipse project. I only know how to go from making a new project and add it to AEM.
Hello all, we have custom templates and polices in our project deployed to "/conf/customProject/settings/wcm/templates" and "/conf/customProject/settings/wcm/policies". The problem is, that on the publisher the policies don't work, because of the deny jcr:all for everyone on the conf-folder. So we n...