I'm currently trying to reuse some parts of existing dialogs with mixed results. It seems depending on which level of the existing dialog I include it either works or doesn't and I'm not really sure why. I should note that this is on Adobe 6.1, SP2, CFP11Existing Dialog<?xml version="1.0" encoding...
Hi,I am new to Mockito. I am trying to write test case for one of the model class.Here I am using AemContext (io.wcm.testing.mock.aem.junit.AemContext) for initializing the resourceResolver finally fetching the resource.I am able to get the resource resolver object from AemContext, but then unable t...
I enabled TTL in dispatcher any file and also set an Expires header to be sent back in the target pageI can see the 'Expires' header in response when i access the page in publisherbut when I access the page using webserver / dispatcher URL, that header is not seen in the response anymore.Is it remov...
Hello Community,I've a question about Dynamically populating a Dialog's checkbox/dropdown and showing all the selected values (Title) on a page.My Usecase is:Whenever I open a page something like.. /content/myproject/categories/category1.html, it should show the child nodes created in dam something ...
Hi,I am trying to understand how full text search works in siteadmin.My requirement is:Can i search a page with a particular text present in the page using the site admin search functionality?Say for example, We.retail page(http://localhost:4502/editor.html/content/we-retail/us/en.html ) we search a...
Hi ,Greetings !In my code I opened a jcr session by adapting the resolver(resolver from service user).Please see the code below :try{ResourceResolver resolver=getResourceResolver(); Session session=resolver.adaptTo(Session.class);//some logic} catch (RepositoryException e){//LOGS}finally ...
Hello All, Anybody aware of any OOTB functionality that AEM provides to stop loading components after a set date? i.e. If you've dragged a component unto a page, it should be displayed on the page only till a user defined date and should stop getting displayed after thatWe've a custom solution but...
Hi All,Can you let me know the differences between Jcr-xql2, xpath query and query builder api .Which is the best in among three to query the crx3.Can you share me the official documentation links to these please?Thanks in advance.---Regards,Pavan Bukka
Is there any way to pass value in sightly template from javascripte.g.template.jadediv(data-sly-use.testArray="${\'com.test.Service\'}" data-sly-unwrap)div(data-sly-use.testArray="${\'com.test.Service\' @ year='2017'}" data-sly-unwrap)div(data-sly-use.testArray="${\'com.test.Service\' @ exam='java'}...