since ‎11-04-2019
‎13-01-2021
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

108

Likes

0

Replies

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

maheshk75439012

maheshk75439012
- Adobe Experience Manager
You could use the existing service for this , and provide all the properties from xml like this If you add more properties, the override this service and add additional fields to this, which again you can use it in your xml

Views

333

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.1K

Likes

0

Replies

0
Re: javax.jcr.RepositoryException: Unable to retrieve pro...
Avatar

aemmarc

Employee

aemmarc
- Adobe Experience Manager
@jbrar All that changed in that backport request was that instead of dumping the entire stack-trace, we're just logging the first line of the WARN. So they will still see : com.adobe.granite.security.user.util.AuthorizableUtil Unable to get display name for srikanth.pokkunuri in the logs.

Views

2.4K

Likes

0

Replies

0
Re: ACS commons versioned clientlibs
Avatar

Arun_Patidar

MVP

Total Posts

3.0K

Likes

1.1K

Correct Reply

840
Arun_Patidar
- Adobe Experience Manager
Hi,I am not sure why is this restricted but I am just guessing, it may be because of overlay from libs to apps /libs/cq/config/rewriter/default /apps/myapp/config/rewriter/versioned-clientlibsSince there is no specific node type to define rewriter, so it could be a path which used to look for all the rewrite configs. There may be another reasons as well.

Views

1.0K

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.1K

Likes

0

Replies

0
Re: Cq mail queueing when smtp connection lost
Avatar

jbrar

Employee

jbrar
- Adobe Experience Manager
As per my understanding, you can create a queue using API the Queue API at [1] and listen to Day CQ mail Service failure Topic in that queue to reprocess those events.You can read more about this at [2][1] Queue (Apache Sling 7 API) [2] Apache Sling :: Apache Sling Eventing and Job Handling Apache Sling :: How to Manage Jobs in Sling

Views

1.8K

Likes

0

Replies

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

Himanshu_Singhal

MVP

Himanshu_Singhal
- Adobe Experience Manager
private String getSubstitutedString(Map valueMap, String beforeParsing) { VelocityEngine ve = new VelocityEngine(); ve.init(); VelocityContext context = new VelocityContext(); StringWriter writer = new StringWriter(); for (Map.Entry entry : valueMap.entrySet()) { String value = xssApi.filterHTML(entry.getValue()); value = Jsoup.parse(value).text(); context.put(entry.getKey(), value); } ve.evaluate(context, writer, "VelocityParser", beforeParsing); return writer.toString(); }Here, the argument be...

Views

1.6K

Like

1

Replies

0
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.8K

Likes

0

Replies

0
Re: how to pass file from jquery to servlet in aem?
Avatar

joeb21688728

joeb21688728
- Adobe Experience Manager
Here is an older doc that covers HOW TO pass a file to an AEM servlet using JQuery:Adobe Experience Manager Help | Uploading files to Adobe Experience Manager DAM using AssetManager API

Views

1.2K

Like

1

Replies

0
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

984

Likes

0

Replies

0
Re: @Reference EmailService emailService throwing null
Avatar

tahir1601

tahir1601
- Adobe Experience Manager
Thanks for your input!!

Views

1.0K

Like

1

Replies

0
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

874

Likes

0

Replies

0
Re: Content modified /path
Avatar

Arun_Patidar

MVP

Total Posts

3.0K

Likes

1.1K

Correct Reply

840
Arun_Patidar
- Adobe Experience Manager
There is something wrong how you were calling post servlet because with your request default sling post servlet is being invoked which trying to create/modifying content.Apache Sling :: Manipulating Content - The SlingPostServlet (servlets.post)

Views

3.8K

Likes

0

Replies

0
Re: Nested Ternary expression
Avatar

tahir1601

tahir1601
- Adobe Experience Manager
Thanks man. That worked

Views

637

Likes

0

Replies

0
Re: Nested Multifield
Avatar

tahir1601

tahir1601
- Adobe Experience Manager
my sling model is as below@Inject@Optionalpublic Resource parentmultifield,childmultifield;

Views

350

Likes

0

Replies

0
Display similar components on page based on publish date field using handlebar js
Avatar

tahir1601

tahir1601
- Adobe Experience Manager
working on a site https://www.jacobdelafon.fr/carnet-elegance/category/conseil-et-guide-pratique/ where the article images with text should be displayed in latest manner. There is a publish date field using which the articles will be sorted. This should be implemented using handlebar js. Please suggest some info on how to implement this or if anyone has implemented this before.

Views

304

Likes

0

Replies

0
Re: how to display something with condition in htl?
Avatar

berliant

Employee

berliant
- Adobe Experience Manager
Just to add to the previous reply: official documentation for data-sly-test usage:HTL Block Statements

Views

1.2K

Like

1

Replies

0
Re: How to get cq:lastModified in jcr:content from HTL?
Avatar

Arun_Patidar

MVP

Total Posts

3.0K

Likes

1.1K

Correct Reply

840
Arun_Patidar
- Adobe Experience Manager
Hi,You can directly use date in the page using below${'MM/dd/yyyy HH:mma' @ format=currentPage.lastModified}Or You can use Java. Please check below :HTL Date Formatting

Views

1.7K

Like

1

Replies

0
Re: how to display "last updated on" in my AEM page?
Avatar

manikanthar1295

manikanthar1295
- Adobe Experience Manager
Hi,You can use Node Property like below.String nodePath = "/content/community-components/en/comments/jcr:content/content/title";try{Node node = null;NodeIterator nodes =null;String result="";resource = slingRequest.getResourceResolver().getResource(nodePath); if(resource != null) { node = resource.adaptTo(Node.class); if(node.hasProperty("jcr:lastModifiedBy")) { result=node.getProperty("jcr:lastModifiedBy").getValue().getString(); out.print(result); } }}catch(Exception e) {out.print(e);}RegardsM...

Views

2.0K

Likes

0

Replies

0