Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

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

Avatar

Level 5
Level 5

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

1 Accepted Solution

Avatar

Correct answer by
Level 10

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.

View solution in original post

2 Replies

Avatar

Correct answer by
Level 10

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.

Avatar

Level 9

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