cancel
Showing results for 
Search instead for 
Did you mean: 

Add doc button + enabled groups : Is it possible to restrain user suggestion widget to a group (a list of users) ?

milonette_
Star Collaborator
Star Collaborator

Hello, I want to use a widget suggestion widget in a form, but i want to restain the user list to a LDAP-group and not to the WHOLE LDAP.

Is it possible ? What do I need to ?

thank you

3 REPLIES 3

Anahide_Tchertc
Elite Collaborator
Elite Collaborator

Hi,

This is not currently possible, but we agree that's a nice improvement, see NXP-10165.

In the mean time, you can use a custom widget template with a custom suggestion method.

thank you!

geekonspace
Star Contributor
Star Contributor

Hi, I did what Anahide suggested. I Overwrote the single_user_suggestion_widget_template.xhtml and my own custom method: http://geekonspace.blogspot.com/2013/06/restringir-usuarios-mostrados-en-el.html

I tried create my own user_widget_template_xhtml but when I try use this as widget template in studio, the user selection not working.