Multi valued user extended attribute

Hi All,

I have to include a user extended attribute, which has to hold multiple values like list of assigned resources. how can I do this.

for a single value I can define as a String in user extended attributes, but for mutilple values, how can I define in the user extended attributes.

Any ideas please.

Thanks

[343 byte] By [dortmund_developer] at [2007-11-26 8:46:53]
# 1
Hmm.. how about blob?
naxdorf at 2007-7-6 22:33:04 > top of Java-index,Web & Directory Servers,Directory Servers...
# 2
At a guess (not 100% confident) try<List><String>Item 1</String><String>Item 2</String><String>Item 3</String></List>
s6craig at 2007-7-6 22:33:04 > top of Java-index,Web & Directory Servers,Directory Servers...
# 3
<List><List> <String>Item 1</String> <String>Item 2</String> <String>Item 3</String></List></List>
s6craig at 2007-7-6 22:33:04 > top of Java-index,Web & Directory Servers,Directory Servers...
# 4
Could you use a summary attribute made up of a delimited string instead? split and concat would let you get the info back (hopefully) into your list.Message was edited by: ian.yoxall@intragen.com
ianyoxall@intragencom at 2007-7-6 22:33:04 > top of Java-index,Web & Directory Servers,Directory Servers...
# 5

Hi Ian,

Thanks for the reply.

actually i am trying in that way itself, but i am unable to pipe the strings.

is this the right way to do. please check once

<expression>

<Iterate for= 'res' in ='reslist'>

<set name='delimStr'>

<concat>

<ref>res</ref>

<s>|</s>

</concat>

</set>

</expression>

iterating through a list of users in 'userlist', and trying to pipe the strings, but when i am 'delimStr' i am getting only one resource.

where i am going wrong.

please correct me.

Thanks in advance

dortmund_developer at 2007-7-6 22:33:04 > top of Java-index,Web & Directory Servers,Directory Servers...
# 6
Shouldn't delimStr be part of your concat to get the string created in the prior iteration? Otherwise you will only get the last resource in the list, as delimStr is overwritten in each iteration.
chits98 at 2007-7-6 22:33:04 > top of Java-index,Web & Directory Servers,Directory Servers...