I have gone through the documentation in below url about Global objects in HTL:https://docs.adobe.com/docs/en/htl/docs/global-objects.html. I need to change the below existing code in JSP to Sightly(HTL):<% if (WCMMode.fromRequest(request) == WCMMode.EDIT){ %><img src="/libs/cq/ui/resourc...
Anyone else run into a similar situation?12.10.2016 06:29:50.806 *WARN* [0:0:0:0:0:0:0:1 [1476271790802] GET /editor.html/content/my-project/en/home/sample.html HTTP/1.1] libs.granite.ui.components.foundation.admin.page.page$jsp @deprecated /libs/granite/ui/components/foundation/admin/page; Shell 1....
I need to import articles as feeds from Newscred. Currently they are providing a webservice with JSON response. What is the best way to implement this using Feed Importer in AEM6.1. How is this response saved in AEM using the Feed importer.The reference for Webserivce can be found in https://support...
AEM 6.2, Using TOUCH UIPROBLEM: Author goes in and locks a page using the TOUCH-UI. Page is Locked. In 1 minute - without making changes, the same user tries to UNLOCK the page and cannot do so. There are no browser errors or errors in the logs. Additionally, if I try this as the admin user, th...
Hi team, I have a situation like if the page is activated in authoring instance then needs to push same page to AWS cloud. So far we are handling this situation in activation event. Now the problem with this approach is few times page is not getting pushed to publisher but that is available in AWS....
Hello Working on a dialog box and I have a select box with two options. How can I clear the previous data when a user comes back into the dialog and selects the other option? I think this may requires some clientside js, but I want double check. <cta1InternalExternalSelect jcr:primaryType="nt:unstru...
Hi,I've created a java class that runs a content restructuring process when invoked. It makes use of a JCR session obtained through the request on a sling servlet. The process does various things: deletes nodes with subtrees, copies nodes, creates properties, tweaks LiveSync mixins, etc. The proces...
I'm trying to create Projects in AEM 6.2 using the new Project API [ https://docs.adobe.com/docs/en/aem/6-2/develop/ref/javadoc/com/adobe/cq/projects/api/Project.html ]I am able to create the Project and also use a Template that i developed for that Project.When i am trying to add Users and Roles to...
When we declare/instantiate a java class in htl/sightly in a html (similar to global.jsp) file and include it in another html, we are not able to access the reference of java class created in the included file.For Ex:Create a java class that extends WCMUse with some getters.com.company.sightly.compo...