I have a property tag
<property id="accountNumbers">0000111|00000222|000033</property>
I am able to read and separate using pipe but I am looking for the method to upload these values into fileNet where accountNumbers field is set to multi-value property. My guess is
doc.getProperties().putValue( accountNumbers, String.valueOf( accountNumbersSplit) );
I have created a list of those values by separating with the name accountNumbersSplit and trying to upload this list into accountNumbers field.
edit
this is how I have separated and stored in a List
String [] accountNumbersSplit = groupNumberValue.split( "\\|" );
List <String> accountList = Arrays.asList( accountNumbersSplit);
this is how I am trying to upload
doc.getProperties().putValue( accountNumbers, String.valueOf( accountNumbersSplit) );