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

Widget - Group Picker

Avatar

Level 2

In my widget, i want to have a group picker which returns all groups in cq and allows user to pick one. Which xtype i should use or do I need to create a customized one? 

1 Accepted Solution

Avatar

Correct answer by
Employee

The authselection widget does this. Take a look at /libs/foundation/components/page/tab_advanced/items/cug/items/principals/fieldConfig for an example.

View solution in original post

5 Replies

Avatar

Correct answer by
Employee

The authselection widget does this. Take a look at /libs/foundation/components/page/tab_advanced/items/cug/items/principals/fieldConfig for an example.

Avatar

Level 2

I just go through jackrabbit-usermanager: http://sling.apache.org/site/managing-users-and-groups-jackrabbitusermanager.html#Managingusersandgr...

Now I guess I can get group list from sling service jackrabbit-usermanager. I just wonder if there is any OOTB widget can do the job. 

Avatar

Employee

The widget documentation for authselector is unfortunately not as far I can tell published. You'll have to look at the source code - /libs/cq/security/widgets/source/widgets/security/AuthorizableSelection.js for details.

Avatar

Level 10

 You can create your own component. We have a community article that does something similar. It gets all AEM users and places them in a grid component. See:

http://helpx.adobe.com/experience-manager/using/using-ajax-requests-display-cq.html

Hope this helps

Avatar

Level 2

smacdonald2008 wrote...

You can create your own component. We have a community article that does something similar. It gets all AEM users and places them in a grid component. See:

http://helpx.adobe.com/experience-manager/using/using-ajax-requests-display-cq.html

Hope this helps

 

Thanks that's exactly what i am looking for.