내 커뮤니티 업적 표시줄을 확대합니다.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.

해결됨

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 채택된 해결책 개

Avatar

정확한 답변 작성자:
Employee

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

원본 게시물의 솔루션 보기

5 답변 개

Avatar

정확한 답변 작성자:
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.