Map documentList to stringTable

Hi guys,

I would like to know, if there are a usual way to map a documentList to a stringTable.

For Example, I have documentList like this:


DocList
  DocList[0]
     var1
     var2
     var3
  DocList[1]
    .....

Each doc have to be a new row and each var have to be a column. So that’s the table looks like this:


         column1 column2 column3
row1  var1       var2       var3
row2  var1       var2       var3
.....

I hope anyone knows a good an easy way.

Best regards
Mario

The only way I know to do this is to (ta-dam!) program a loop. In a flow or in a java service. I’d do it in a flow service (if speed isn’t a matter). In each iteration of the loop you’d fill one row of the table.

Mario – Did you try documentArrayToStringTable built-in service will serve this need.

Thanks,