Hi I am trying to remove a rule which is applied when I publish a page from AEM author to publisher. Basically what that rule does is update any expired/no longer exist URLs in that page to company website home page. How can I do that?Thank you
Hi In AEM, we can find where the pdfs/pictures are used by looking at the pdfs/pictures properties, I'm wondering if there's any way to load this info with Java code? Thanks
HiI am using the SLY templating language in AEM to display data on company page, and I have run into a problem with decimal rounding. Here's a snippet of the sly code I'm using. <sly data-sly-test.fourDecimals="${'0.0000' @ i18n, locale=countryPage.language, hint='test page'}"></sly>
<sly data-sly-...
Hi SureshFor those two annotations, I am using:import org.osgi.service.component.annotations.Component;import org.apache.felix.scr.annotations.Reference;In the log, an exception was thrown java.lang.NullPointerException: nullat MessageGateway<HtmlEmail> messageGateway = messageGatewayService.g...
Hi I am created an email servlet in AEM and it works fine when I tested it on my local 4502,but when I test this servlet on company DEV environment, the messageGateway is always null MessageGateway<HtmlEmail> messageGateway = messageGatewayService.getGateway(HtmlEmail.class); Here's my code:@co...
Hi I having an issue on the sling date:<sly data-sly-test.startingDate="${'dd-MMM-yyyy' @ i18n, format=pnp.firstDayOfYear, locale=countryPage.languageCode, type='date'}"></sly>the firstDayOfYear value comes from Java method: public Calendar getFirstDayOfYear(){
Calendar c = Calendar.getIn...
Hi I am trying to setup an email function servlet on AEM, it grabs nodes info in AEM and save them is a excel file. The servlet works fine on local, but somehow it's not working on live environment, here's my code: package com.fidelity.cms.aem.reports;
import java.io.ByteArrayOutputStream;
import j...