since ‎11-04-2019
‎23-11-2020
tahir1601
Level 3
Hi Shalini, I have similar requirement to have a custom...
Avatar

tahir1601

tahir1601
- Adobe Experience Manager
Hi Shalini,I have similar requirement to have a custom action type to submit to servlet. I haven't got any possible solution. Did you get any solution? @Shalini_Gupta

Views

54

Likes

0

Replies

0
Re: Problem with encoding in email subject - 6.3 or 6.4
Avatar

tahir1601

tahir1601
- Adobe Experience Manager
I am also facing the same issue while using day cq mail service. Subject line with French characters are getting encoded and displayed. Can you please help @arunk @arunpatidar26 @smacdonald2008

Views

6.0K

Likes

0

Replies

0
javax.jcr.RepositoryException: Unable to retrieve properties for
Avatar

tahir1601

tahir1601
- Adobe Experience Manager
Can someone help on this below error? I see this in author logs when the user logs in. @arunpatidar26 com.adobe.granite.security.user.util.AuthorizableUtil Unable to get display name for srikanth.pokkunuri javax.jcr.RepositoryException: Unable to retrieve properties for srikanth.pokkunuri at com.adobe.granite.security.user.internal.UserPropertiesManagerImpl.checkValidAuthorizableInfo(UserPropertiesManagerImpl.java:676) [com.adobe.granite.security.user:0.4.50.CQ640-B0002] at com.adobe.granite.sec...

Views

2.2K

Likes

0

Replies

2
Re: ACS commons versioned clientlibs
Avatar

tahir1601

tahir1601
- Adobe Experience Manager
Yes I even set the max depth to 6 aswell as 7 still it didnt work out

Views

2.6K

Likes

0

Replies

0
Re: ACS commons versioned clientlibs
Avatar

tahir1601

tahir1601
- Adobe Experience Manager
I tried this and set it up to 5, but it doesnt seem to work.Unable to see the path in sling rewriter. The path where my config resides goes like this '/apps/infy/jdelafon/config/rewriter/versioned-clientlibs' . Is there any other change I need to make to make it work?

Views

2.6K

Likes

0

Replies

0
Re: Client Library Versioning in AEM 6.1
Avatar

tahir1601

tahir1601
- Adobe Experience Manager
why should the node be in 4 level path. In my case its 5 level down as per site structure. What should I do in that case? @Jörg_Hoh @smacdonald2008

Views

5.0K

Likes

0

Replies

0
ACS commons versioned clientlibs
Avatar

tahir1601

tahir1601
- Adobe Experience Manager
Hi All, I am implementing versioned clientlibs in my project and came accross the below articlehttps://adobe-consulting-services.github.io/acs-aem-commons/features/versioned-clientlibs/index.htmlThe config i place has a 5 level depth unlike 4 level depth mentioned in article. Note that the configuration node must be inside a four-level path that ends in config/rewriter.May I know why this should be 4 level path in order to work. What can be done to make it work on 5 level path.@arunpatidar26 @an...

Views

2.9K

Likes

0

Replies

7
Re: Cq mail queueing when smtp connection lost
Avatar

tahir1601

tahir1601
- Adobe Experience Manager
Please suggest Arun Patidarantoniom54959291 Jörg Hoh smacdonald2008 kautuksahni

Views

1.8K

Likes

0

Replies

1
Cq mail queueing when smtp connection lost
Avatar

tahir1601

tahir1601
- Adobe Experience Manager
Hi,There is a requirement in our project. We are using cq mail service to send emails. Current approach is we show error message if connection to smtp server fails and mail is not sent. But now as per new requirement the email should b stored in some queue and processed when connection is restored.Can anyone suggest how it can be done?

Views

1.9K

Likes

0

Replies

2
Re: How to hide html tag in Email template?
Avatar

tahir1601

tahir1601
- Adobe Experience Manager
can you provide sample code of what you did

Views

1.1K

Likes

0

Replies

0
How to hide html tag in Email template?
Avatar

tahir1601

tahir1601
- Adobe Experience Manager
Hi,I have an email template in etc/notifications folder which is of type html. I am trying to hide an element based on variable i fetch from email service params(of email service).Below is my template codeFrom: ${senderEmailAddress}Subject:${subject}Vous êtes ? ${role}Vous êtes ? ${subrole}Choisissez votre profession ${profession}Nom de l'entreprise ${enterpriseName}Adresse ${address}Nom ${Name} Prénom ${firstName} Téléphone ${telephone} Email ${email} Code postal ${postalCode} Ville ${ville} Pa...

Views

3.3K

Likes

3

Replies

5
Re: Maven build failure: Socket write error
Avatar

tahir1601

tahir1601
- Adobe Experience Manager
Nope. I made above changes in pom and it worked.

Views

1.7K

Likes

0

Replies

0
Re: Maven build failure: Socket write error
Avatar

tahir1601

tahir1601
- Adobe Experience Manager
Ive got the soultion for this in pom.xml i replaced below lineshttp://${aem.host}:${aem.port}/system/consoleWebConsolewith belowhttp://${aem.host}:${aem.port}/crx/repository/crx.defaultWebDAVNot sure how this worked. Let me know technical reason behind this

Views

1.6K

Likes

0

Replies

0
Maven build failure: Socket write error
Avatar

tahir1601

tahir1601
- Adobe Experience Manager
Hi All,I am getting below error when trying to deploy.(mvn clean install -PautoInstallBundle)[INFO] ------------------------------------------------------------------------[INFO] BUILD FAILURE[INFO] ------------------------------------------------------------------------[INFO] Total time: 17.688 s[INFO] Finished at: 2019-07-06T11:03:18+05:30[INFO] ------------------------------------------------------------------------[ERROR] Failed to execute goal org.apache.sling:maven-sling-plugin:2.2.0:insta...

Views

3.2K

Likes

3

Replies

5
Re: How to configure osgi config xml under config folder programatically?
Avatar

tahir1601

tahir1601
- Adobe Experience Manager
I am actually using acs common email service

Views

1.6K

Like

1

Replies

0
Re: How to configure osgi config xml under config folder programatically?
Avatar

tahir1601

tahir1601
- Adobe Experience Manager
yeah will try them out

Views

1.4K

Like

1

Replies

0
Re: How to configure osgi config xml under config folder programatically?
Avatar

tahir1601

tahir1601
- Adobe Experience Manager
thanks Arun, I'll try this out

Views

1.4K

Like

1

Replies

0
Re: How to configure osgi config xml under config folder programatically?
Avatar

tahir1601

tahir1601
- Adobe Experience Manager
I tried this way but the sender mail is getting picked up from osgi config property 'smtp.user'

Views

1.4K

Like

1

Replies

0
Re: How to configure osgi config xml under config folder programatically?
Avatar

tahir1601

tahir1601
- Adobe Experience Manager
author should be able to configure the from address from name in the email. These should be coming from component dialog

Views

1.4K

Like

1

Replies

0
Re: How to configure osgi config xml under config folder programatically?
Avatar

tahir1601

tahir1601
- Adobe Experience Manager
i want the from.email or smtp.user to be coming from dialog.

Views

1.4K

Like

1

Replies

0
How to configure osgi config xml under config folder programatically?
Avatar

tahir1601

tahir1601
- Adobe Experience Manager
Hi,I have a requirement to set osgi config properties @programatically. For instance i have created a xml file under config file(email service) with below values Arun Patidar​Joerg Hoh​smacdonald2008​I wasnt to set all these values programatically

Views

4.2K

Likes

2

Replies

13
how to pass file from jquery to servlet in aem?
Avatar

tahir1601

tahir1601
- Adobe Experience Manager
Hi,Can anyone help me out in this usecase where attachments are sent as email in aem. I am stuck at a point on how to pass file from jquery ajax to servlet and then passing it as parameter to emailService.Joerg Hoh​Arun Patidar​smacdonald2008​

Views

1.6K

Likes

0

Replies

3
Re: How to fetch emailParams into email template?
Avatar

tahir1601

tahir1601
- Adobe Experience Manager
I was able to fetch it in email template as ${First Name}The emailParams takes a key value where value can be accessed by key in email template as ${key}

Views

963

Likes

0

Replies

0
How to fetch emailParams into email template?
Avatar

tahir1601

tahir1601
- Adobe Experience Manager
Hi,Can someone help me out in fetching emailparams into email template? in this case i want to fetch first name in the email template.Below is my servlet codepublic class ContactServlet extends HttpServlet {@Referenceprivate EmailService emailService;private static final long serialVersionUID = -6506682026701304964L;Logger logger = LoggerFactory.getLogger(this.getClass());private String templatePath;smacdonald2008​Joerg Hoh​Arun Patidar​private Map emailParams;private String[] recipients;protect...

Views

1.0K

Like

1

Replies

2
Re: @Reference EmailService emailService throwing null
Avatar

tahir1601

tahir1601
- Adobe Experience Manager
Thanks for your input!!

Views

987

Like

1

Replies

0
Re: @Reference EmailService emailService throwing null
Avatar

tahir1601

tahir1601
- Adobe Experience Manager
My bad I created object to call sendemail()After lot of trial and errorI replaced belowContactEmailService obj = new ContactEmailService();obj.sendEmail();with@Referenceprivate ContactEmailService contactEmailService;contactEmailService.sendEmail();I was able to get the instance of the emailService

Views

998

Likes

0

Replies

0
Re: @Reference EmailService emailService throwing null
Avatar

tahir1601

tahir1601
- Adobe Experience Manager
@Component(service = Servlet.class, property = { "sling.servlet.methods=POST","sling.servlet.paths=/bin/contactServlet" })public class ContactServlet extends HttpServlet {private static final long serialVersionUID = -6506682026701304964L;Logger logger = LoggerFactory.getLogger(this.getClass());protected void doPost(HttpServletRequest request, HttpServletResponse response)throws ServletException, IOException {VerifyRecaptcha recaptcha = new VerifyRecaptcha();String gRecaptchaResponse = request.ge...

Views

995

Likes

0

Replies

0
@Reference EmailService emailService throwing null
Avatar

tahir1601

tahir1601
- Adobe Experience Manager
Requirement:- send email upon form submission. Below is my class. I am getting null pointer exception when i print the emailService. Can anyone help me out please.import java.util.HashMap;import java.util.List;import java.util.Map;import org.osgi.service.component.annotations.Component;import org.osgi.service.component.annotations.Reference;import org.slf4j.Logger;import org.slf4j.LoggerFactory;import com.adobe.acs.commons.email.EmailService;Arun Patidar​smacdonald2008​@Component(immediate = tru...

Views

2.0K

Likes

2

Replies

6
Email service setup
Avatar

tahir1601

tahir1601
- Adobe Experience Manager
Hey All,I am stuck at a point, request someone to help me out.I have setup email service by following the tutorial belowAEM Component To Send An Email Tutorial | A Developers Blog Email API however my requirement is i am passing values to emailservice in java class rather than in jsp. I am getting a null pointer error as below21.06.2019 05:09:01.273 *ERROR* [0:0:0:0:0:0:0:1 [1561111741271] POST /bin/contactServlet HTTP/1.1] org.apache.sling.engine.impl.SlingRequestProcessorImpl service: Uncaught...

Views

847

Likes

0

Replies

0
Re: Content modified /path
Avatar

tahir1601

tahir1601
- Adobe Experience Manager
$.ajax({url : '/bin/contactServlet',type : 'POST',dataType : 'json',ContentType : 'application/json',data : {'g-recaptcha-response' : key,'form-data' : demo,'flag' : 'contactus',},success : function(data) {console.log(data); //do something }});this is my ajax call. 1) can you let me know how to resolve servlet via resource path?2)Please let me know if my success code is correct

Views

3.7K

Likes

0

Replies

0