I'm trying to include clientlibs with async or defer attributes in the script tag. However, I also want to ensure that each clientlib is not loaded more than once. So if I include the clientlib within a component's code and the component is used multiple times on a page, the script tag should only a...
Dear All,In my current project , we are converting static templates to editable templates in AEM 6.5 SP1 by using modernization_toolsBefore converting we are creating editable templates. So I have created editable template and created the policy. Now I want to use the existing component Top Navigati...
Can anyone please help.i have created a training project package and imported in Brackets IDE , synchronization is sucessfull to AEM and i am able to export back to AEM.all statement is executing except java class , i am not seeing any error also.HTML AEM UI PageJAVA Class file JAVA CLass fileHTML F...
We are upgrading to AEM6.5 from 6.3. We have set up a shared NFS and everything seems to work fine. But since then, AEM doesn't appear to install new bundles of higher versions of our custom projects. So, for example, {project-b}/install/project-b.jar will not trigger a bundle OSGI install.I'm no...
We are working on AEM-React SPA integration. We see a set of extra Divs (Decorator DIV wrapping component) in the rendered HTML in the stand alone react app (npm start) bloating up the html. Is there any way to remove them from bloating the html ? There are lots of examples on the internet, and foru...
Hi,I am trying to fetch search results using Collections feature in Search and Promote.I have two index files site1_index, site2_index where site1_index has two products which are also present in site2_index. I am able to fetch results for site2 collection but not for site1 collection. If I remove s...
When we are triggering a customized workflow, so there are multiple steps like approving an asset and so on. We have one user group which will get notifications for approving the workflow so when any user approves an asset then in timeline we are getting that particular asset has been approved by w...
I'm going through an upgrade from 6.3 to the latest 6.5. In the code there are lines to get a reference to the XssApi:import org.apache.sling.xss.XSSAPI;this.xssAPI = this.resource.getResourceResolver().adaptTo(XSSAPI.class);The problem is... xssAPI is "null". I've tried referencing it as well wit...
1) What can be the best way : chnaging or customising the OOTB workflow (I dont think so its good idea )OR overlay the whole workflow in our project and customised it ?Please provide any link which can describe how in a project we can overlay the OOTB workflow and customise it according to the requ...