Question

I have a number field called Days and an editable names field called Names ( which allows multiple values ).

Let say that Days=1 and Names=Mike/Rock, Tom/Rock, Dean/Rock.

I want to display them in a column view like this:

    1
    Mike
    Tom
    Dean

I tried it with @NewLine, but no luck for me.

I also created a computed (hidden) field test with the following formula as default value:

@Text(Days)+@NewLine+@Implode(@Name([CN];Names);@NewLine) 

It seems to be the wanted form for me, but when I just put test in a column default value, it shows nothing.

I appreciate your time.

Was it helpful?

Solution

Try to set your test field to @text(days):Names. This should create a multi-value field (as opposed to a single string which your test formula produces).

Then, set the multi-value separator of the column style to Newline, and adjust the number of rows to match the expected number of values.

OTHER TIPS

In a view we get only one row for one document. Multiple values are therefore shown in one row only with multi value separator. Eclipse view may perhaps help.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top