Skip to main content
Var
Level 4
Oct 16, 2015 2:27 AM UTC
Solved

How to get the user group information that the user belongs to in the Custom report.

Hi,

I am following the http://dev.day.com/docs/en/cq/5-6/developing/developing-reports.html

How to get the user group information into the custom report. I tried by using the "P:property [String] = "rep:Group"" for the queryBuilder node as property.

 N:queryBuilder [nt:unstructured]
                P:property [String] = "rep:Group" instead of   P:property [String] = "jcr:path"

 

but still no luck.[img]UserGroup.PNG[/img]

 

Thanks in Advance

Var

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Sham_HC
Sham_HCAccepted solution
Level 10
Oct 16, 2015 2:27 AM UTC

Group information is not stored in user node and also at groups we use members id to store reference. Looks like your configuration and mapping is not correct.

2 replies

Community Advisor
Oct 16, 2015 2:27 AM UTC

How to get group information? What is the correct way to configure mapping

Translate
Sham_HC
Sham_HCAccepted solution
Level 10
Oct 16, 2015 2:27 AM UTC

Group information is not stored in user node and also at groups we use members id to store reference. Looks like your configuration and mapping is not correct.

Translate