Hi,I have a property like this:@Property(name = "myvar", value = "myvalue")I need to access this property inside the code.I can do this with:@Activate public void activate(ComponentContext ctx) { Dictionary dic = ctx.getProperties(); Enumeration keys = dic.keys(); List<String> list = Collections.lis...
In which order does OOB search component fetches the result?? like last modified or ascending order or descending or page creation date ?? I am so confused. :(
Hi,i tried to sort the assets to alpha numeric format using query builder.The below Query executing but i dont get the result in ascending order. /jcr:root/content/dam//element(*, dam:Asset) [(jcr:content/metadata/@dam:MIMEtype = 'image/jpeg' or jcr:content/metadata/@dam:MIMEtype = 'image/png' or j...
Hi,I am trying to create a form with validations. I chose the out of the box AEM form component. I am able to achieve validations using custom validators. Also I have written custom action.The problem is, every time I need this form, I have to drag and drop the form components. I cannot have predefi...
I have a service I call on to create a new approver group for a user if it doesn't already exist, here's the whole method:public void updateApproverGroup(Author person) { try { Map<String, Object> param = new HashMap<String, Object>(); param.put(ResourceResolverFactory.SUBSERVICE, "WriteServ...
Hi,I've been trying to build an app using AEM Apps, and I'm facing few challenges here.1. I could build the Geometrixx Outdoors App, which is present by default, and also install it on both the emulator and a mobile device - it was working fine on both the environments. But. when I make modification...
Hi All,Can anyone tell me does AEM support TLS 1.2 or is this question more appropriate for the weblogic layer that it requires? I have zero experience in this product.....any help much appreciated
Earlier I was able to instantiate sightly helper java class(extends wcmuse) of osgi bundle in SlingAllMethodsServlet context and even able to access all the getter methods in that class.But in our project we started working with spring mvc and now I am unable to instantiate the sightly helper class....
Hi,i need to execute a custom workflow that contains the default step plus a Process Step.The Process Step links to:public class MyProcess implements JavaProcessExt { /** Default log. */ protected final Logger log = LoggerFactory.getLogger(MyProcess.class); public void execute(WorkItem item, Workflo...
Hi,I want to find all cq:PageContent nodes which has word like "STATUS" inside child nodes. I am using CONTAINS clause as the word "STATUS" is value of property of child node of cq:PageContent node. Using equals or LIKE return no result as this property is inside child node.. However my issue that I...