Equivalent to pubtablestringTableToTable in wM 60

Hello,
How can one convert a stringTable to recordList in wM6.0 .

I know the service pub.table:stringTableToTable in wM 4.6 has been deprecated.

Thanks in Advance.
Bhavani Shankar

Try getting all of your arrays of Strings inside an array of Documents.

String input = new String[3][2];
input[0][0] = “as”;
input[0][1] = “df”;
input[1][0] = “gh”;
input[1][1] = “jk”;
input[2][0] = “lz”;
input[2][1] = “xc”;

//iterate and put on pipeline
IDataCursor pipelineCursor = pipeline.getCursor();
IData stringArrays = new IData[input.length];
IDataCursor stringArraysCursor;
for(int i = 0; i < input.length; i++)
{
stringArrays[i] = IDataFactory.create();
stringArraysCursor = stringArrays[i].getCursor();
IDataUtil.put(stringArraysCursor, “strings”, input[i]);
stringArraysCursor.destroy();
}
IDataUtil.put(pipelineCursor, “stringArrays”, stringArrays);
pipelineCursor.destroy();

Hello,
Thanks at the first place.

But I am interested in cases, where I dont know the structure of the Strin g Table?

or does this logic take care of that too !!!

Bhavani Shankar