Foros de discusión

Support for multi-value attributes on LDAP import to custom user attributes

John Larson, modificado hace 11 años.

Support for multi-value attributes on LDAP import to custom user attributes

New Member Mensajes: 15 Fecha de incorporación: 28/06/12 Mensajes recientes
In my custom user attributes I have a couple fields that correspond to multi-value LDAP attributes. When the import is performed I'm only seeing a single value imported although I can look into LDAP and see multiple values. Is there any support for multi-value attribute import in 6.1?

I found the below patch but I'm somewhat surprised mutli-value is included from the start.
http://issues.liferay.com/secure/attachment/31867/LEP-17231-build-82361.patch
John Larson, modificado hace 11 años.

RE: Support for multi-value attributes on LDAP import to custom user attrib (Respuesta)

New Member Mensajes: 15 Fecha de incorporación: 28/06/12 Mensajes recientes
Came back to this thread through my subscriptions after stumbling on a work-around a little while ago.

Interestingly if you set a custom user field in Liferay to a Group of Text Values type if you input multiple values as a comma-separated directory string in a single value for the corresponding mapped LDAP attribute Liferay will parse these out into separate values. Hidden feature to some, bug to others.