HTL Sightly templates are a blind spot in our code base. We can unit test the Java Classes, the TypeScript scripts or e.g. React.js components, but not the HTL Sightly templates. Does anyone know of a way to (unit) test those?
I am trying to use elasticsearch-java rest api client within AEM servlet. As recommended on Elasticsearch site, I added maven dependencies. I can invoke sevlet properly. Adding elasticsearch-java dependency causes issue with my Sling model. We have sling models but it does not Inject resouce when el...
Hi,I have a button for experience fragments defined in ../experience-fragments/.content.xml as<universaleditorgranite:class="xf-edit-master-variation"granite:rel="cq-siteadmin-admin-actions-edit-activator"jcr:primaryType="nt:unstructured"sling:resourceType="granite/ui/components/coral/foundation/col...
Hello Team,There are lots of information available for the short URL implementation. Wanted to know the right approach.My scenario:My project handles various domains. each content hierarchy supports various domain site.abc.com/content/client/abc/enxyz.com/content/client/xyz/enpqr.com/content/client/...
Hi Team while installing AEM 6.5.16.0 in mac system we are facing a different issue where we are able to get the login screen while starting the AEM but after that we are getting below error. Also while directly calling system/console we are able to see the console.Below error we are getting after g...
Hi Everyone,I'm using scene7 api for videos the videos are playing on all devices but for iphone the videos are playing only when we referesh page when we switch between tabs the video is not playing only when we referesh the page the video is playing this issue is only on iphone any solution to thi...
when i am running following query on crx/de it is working fine , but when i run the same using a groovy script im getting a exception. Query which worked fine on crx/de : SELECT * FROM [cq:Page] WHERE ISDESCENDANTNODE("/content/mm/mo") AND NAME() = "CritisismOnMentalismTheory" Groovy script which i...
Hi, I am not able to login to my AEM Publisher instance in browser as it was showing the below error,So, I checked the error log and found the below response, GET /libs/granite/core/content/login.html HTTP/1.1] org.apache.sling.engine.impl.SlingRequestProcessorImpl service: Resource /libs/granite/co...
Hi, I was going through this article https://sling.apache.org/documentation/bundles/models.html#field-injection to understand models in aem.How does the injection of values really work? The documentation says that : In this case, a property named propertyName will be looked up from the Resource (af...