Hi All,
I am trying to implement personalization. In order to do so I need client context to work for me. When I am using my campaign in geometrixx-media page it is working as expected but when I am trying to drag and drop the OOTB teaser component and point it to the same component it is not working as expected. I figured that in order to get it working we need client context to be present in the application. So I included the below snipped.
<div data-sly-resource="${'clientcontext' @ resourceType='cq/personalization/components/clientcontext'}" data-sly-unwrap/>
Now I can see the with alt+ctrl+c the client context component is there but the data for the logged in profile is not getting loaded in the client context.
I have not ventured this area of AEM before so this is something new for me, and I am sure I am doing some silly mistake. Could anyone please help me out on the same.
I am using AEM 6.1
Thanks
Tuhin
Solved! Go to Solution.
Views
Replies
Total Likes
Solved. I was using my custom login module to login to application, so it was not loading any client context data.
Figured out that after using CQ's login component it is setting all the data in client context and it is working as expected.
Thanks,
Tuhin
Views
Replies
Total Likes
Solved. I was using my custom login module to login to application, so it was not loading any client context data.
Figured out that after using CQ's login component it is setting all the data in client context and it is working as expected.
Thanks,
Tuhin
Views
Replies
Total Likes
Views
Likes
Replies