HelloIs it possible to get the hostname of the current page? currentPage.getPath() only returns something like '/path/path/page' but I also need to find the hostname, for example, 'https://www.google.com'Is it possible? Or is there a good way of doing it?
Migrating to AEM 6.1. The module is build and deployed without errors and seen among OSGi packages in web console in active state; Its class is found by dependency finder with <scope>provided</scope>.But when trying to load page with JSP it shows the error:java.lang.Error: Unresolved compilation pro...
Hello, We have been working with AEM 6.0SP2 and are now moving into AEM 6.1.During our upgrade from CQ 5.6.1 to AEM 6.0SP2 we converted over all our uses of admin sessions (via resourceResolver.loginAdministrative()) to use service users instead. Here's a snippet of how we get a service user: try { ...
We have thousands of pages in our websites and out of those pages, 1500 pages have vanity URL associated with them.I created a new page in author and assigned a vanity URL. After that I tried to hit the page with vanity URL as http://<author_host>:<author_port>/<vanity> but it redirected to 404 page...
I have CQ5.6.1 application which has a JSP where the html tag was <textarea>.....</textarea>Now my requirement i need to replace it with Rich text editor ,please let me know how could I go doing thisFor reference the file is /libs/foundation/components/form/textThanks
Hi Team, I am trying to develop a website with CQ5 and have linked one of the tabs to an outside website. Every time i click on the tab, i get a popup that says i am exiting an external website? How can i remove this?
How perform upgrade from AEM 6.0 to AEM 6.1 for Application Server Installatio ?https://docs.adobe.com/docs/en/aem/6-1/deploy/upgrade.html only explains upgrade from AEM 5.6 to AEM 6.1 !
There are 55 excellent training videos for CQ on https://outv.omniture.com. They are supposed to be in order, but they are NOT. Two questions:Does anyone have the correct order noted down?Does anyone know where I can get the files containing the code snippets?
Hi All,If anyone has any idea/references on how to write test cases for the implemented components on AEM 6.0It seems new feature introduced latest AEM version.Thanks,Kishore