How to add client context in AEM sidekick? | Adobe Higher Education
Skip to main content
Level 2
November 21, 2016
해결됨

How to add client context in AEM sidekick?

  • November 21, 2016
  • 1 답변
  • 1113 조회

    I have included  " <sly data-sly-include="${'clientcontext' @ resourceType='cq/personalization/components/clientcontext'}" data-sly-unwrap/>" in my page.html  to get client context in AEM sidekick for the page which I created using my own blank template. Eventhough adding clientcontext path in page.html , I am not able to get it on my page. Suggest me a solution for it. Thanks in advance.

이 주제는 답변이 닫혔습니다.
최고의 답변: kautuk_sahni

Hi

Try this:  
"<div data-sly-resource="${ @path='clientcontext-new', resourceType='/libs/cq/personalization/components/clientcontext'}" data-sly-unwrap></div> "

Reference post :- http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manager.topic.1.html/forum__ejsv-hello_when_clien.html

~kautuk

1 답변

kautuk_sahni
Community Manager
Community Manager
November 22, 2016

Hi

Try this:  
"<div data-sly-resource="${ @path='clientcontext-new', resourceType='/libs/cq/personalization/components/clientcontext'}" data-sly-unwrap></div> "

Reference post :- http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manager.topic.1.html/forum__ejsv-hello_when_clien.html

~kautuk

Kautuk Sahni