Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Daniel_H__A__Li
Daniel_H__A__Li
Offline

Badges

Badges
12

Accepted Solutions

Accepted Solutions
1

Likes Received

Likes Received
6

Posts

Posts
24

Discussions

Discussions
11

Questions

Questions
13

Ideas

Ideas
0

Blog Posts

Blog Posts
1
Top badges earned by Daniel_H__A__Li
Customize the badges you want to showcase on your profile
Using different CH stores/modules for different sites - Adobe Experience Manager 07-08-2017
Hi, all.If I need to use different ContextHub settings for different sites, would it be enoughTo duplicate /etc/cloudsettings/default/contexthub and change it through /etc/cloudsettings.html​;To add cq:contextHubPath = /etc/cloudsettings/mysite/contexthub to our page template(s)?In AEM 6.2, is cq:contextHubPath supposed to be editable by an author?Thanks in advance.Best regards,Daniel.

Views

599

Likes

0

Replies

1
Re: How to get absolutePath or absoluteParent in sightly ? - Adobe Experience Manager 26-04-2017
Hi, Amogh.I believe that is not possible to invoke Page.getAbsoluteParent(level) from a HTL expression...Regards,Daniel.

Views

2.2K

Likes

0

Replies

0
Re: Wrapped javax.jcr.PathNotFoundException - Adobe Experience Manager 25-04-2017
Hi, Nandakumaran.Does it work for other paths?Could it be a permission issue?Regards,Daniel.

Views

849

Likes

0

Replies

2
Re: Integration testing with WCM IO - AemContext - Adobe Experience Manager 15-03-2017
Hi, Salvador.Were you able to make it work?I'm still testing wcm.io with 6.2 but, for now, the following list of dependencies (pom.xml) has worked for me: org.osgi org.osgi.core 6.0.0 provided org.osgi org.osgi.compendium 5.0.0 provided org.mockito mockito-all 1.10.19 test junit-addons junit-addons 1.4 test io.wcm.maven io.wcm.maven.aem-dependencies 6.2.0.0000 pom import io.wcm io.wcm.testing.aem-mock 2.2.0 test org.apache.commons commons-imaging 1.0-R1534292 test org.powermock ...

Views

1.8K

Likes

0

Replies

0
Re: Announcement - VLT Sync Tool - Adobe Experience Manager 15-03-2017
Thanks, kautuk!!!Regards,Daniel.

Views

819

Likes

0

Replies

0
Re: XSSAPI in AEM 6.2 - Adobe Experience Manager 15-03-2017
Hi, Jayati.How about adapting the sling request to org.apache.sling.xss.XSSAPI?import org.apache.sling.xss.XSSAPI; import org.apache.sling.api.SlingHttpServletRequest; // (...) // request is an instance of SlingHttpServletRequest XSSAPI xssapi = request.adaptTo(XSSAPI.class); String encodedAttr = xssapi.encodeForHTMLAttr(someUnsafeValue);?I believe I've seen something similar in XSSRuntimeExtension.obtainAPI().Regards,Daniel.

Views

10.7K

Like

1

Replies

0
Re: 403 (Forbidden) error while executing servlet - Adobe Experience Manager 13-03-2017
Hi, Sonal.A few things come to my mind... Can you please check the following?Do your POST request has an Authorization header? You are POSTing to author and mostly of the author resources require authentication;Do your POST request has a Referer header? Sling/AEM has a Referrer Filter and it may be forbidding your request;Do your POST request has a CSRF-Token header? AEM has a CSRF-Token Filter and it may be forbidding your request.To be on the safe side, try to use the JQuery library delivered ...

Views

7.2K

Likes

2

Replies

0
Re: @Reference(“(service.label=TESTCALL)”) Felix SCR annotation error - Adobe Experience Manager 09-03-2017
No problem, kk. I've done something similar before. It's also possible to dynamically set the target property (making the value used as a LDAP filter configurable), but I'm far away from my computer to send you a running sample. Regards, Daniel.

Views

1.1K

Likes

0

Replies

0
Re: @Reference(“(service.label=TESTCALL)”) Felix SCR annotation error - Adobe Experience Manager 09-03-2017
No problem, kk. I've done something similar before. It's also possible to dynamically set the target property (making the value used as a LDAP filter configurable), but I'm far away from my computer to send you a running sample. Regards, Daniel.

Views

1.1K

Likes

0

Replies

0
Re: @Reference(“(service.label=TESTCALL)”) Felix SCR annotation error - Adobe Experience Manager 09-03-2017
Hi, Kk. As I've said before, you are missing the attribute called "target" in the annotation. @Reference doesn't accept an attribute called "value" (the default one). You must use target = "your LDAP filter to selected a specific service component". It's very straigthforward... Regards, Daniel.

Views

1.1K

Likes

0

Replies

0