How to get the value of a profile attribute which was set using clientcontext through a java program? | Community
Skip to main content
Dinu_Arya
New Participant
October 16, 2015
Solved

How to get the value of a profile attribute which was set using clientcontext through a java program?

  • October 16, 2015
  • 1 reply
  • 687 views

Hi,

    I have added a new attribute named "userType" to client context/profile and I have given the value as some "business". I can get the value by using the script :"CQ_Analytics.ProfileDataMgr.getProperty("userType")". I'm able to get this value. But I need this value through a java program. Is there any API to get this value? Is there any possibility to get this value from session? Let me know if you have the solution. I'm using cq5.5. Your suggestions are welcome.

Thanks,

Arya

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

Sham_HC
Sham_HCAccepted solution
New Participant
October 16, 2015