Skip to Content
Apr 08, 2009 at 04:32 PM

Display custom attributes with multi-values in user profile



Our goal is to display custom attributes with multiple values for each

user in the UM under "Additional Information". We were able to add

several values to an attribute like "jobtitle", but just one value is

displayed. Instead of the format "Jobtitle: jobA, jobB, jobC, .." just

a random value of the array is displayed: "Jobtitle: jobB".

The manipulation of the attributes is done by a scheduler job which

modifies the values in this way:

String[] attributeValueArray = {"jobA", "jobB", "jobC"};

IUserMaint userMaint = UMFactory.getUserFactory().getMutableUser


userMaint.setAttribute(nameSpace,attributeName, attributeValueArray);

Is there a way to display the values of the array in a sequence in the

format "x, y, z, ..." ? If not, how can we make sure that just a

specific position of the array is displayed instead of a random one?

Thank you in advance.

Best Regards