Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

Loading the Client context with cq login user data

Avatar

Former Community Member

I referred this blog"  http://aem-cq-tutorials.blogspot.in/2014/08/customize-client-context-for-cq.html " and when i hit the servlet with the url /apps/myuserstore/components/loader.json .

i added a submit button action to the above url. and am getting empty curly i.e., {} braces and client context is not loading .

please provide me the proper solution for this.

4 Replies

Avatar

Level 10

This is not an Adobe blog - i would contact the author. 

https://plus.google.com/+CQGuru/about

If you have comments on Adobe Docs or HelpX, then we can help. 

Avatar

Former Community Member

if you have adobe documentation for loading user data from /home/users/ into client context when the user login into crxde

Avatar

Level 7
        Have you performed a login with ajax call using j_security_check? If yes you have tu perform a CQ_Analytics.ProfileDataMgr.loadProfile() in order to reload clientcontext

Avatar

Former Community Member

I doesnot have any login component am logging in crx itself...so  how should i do for login ??is it necessary. why it cannot load based on cq login.in default the client context is anonymous and how to change to admin when it s login as admin in  crx