How to get "ROWID" for matching CSV output from External Tool (Labs)

Hi,

I would like to use "External Tool (Labs)" to run an external program on SDF files and read in CSV output. The CSV output requires the ROWID to match the read in data with KNIME. Unfortunately, the name in the mol block does not match the momentary ROWID. Now I am looking for a way to pass this ROWID through "%inFile%"by replacing the name in the SDF/mol block by the current ROWID.

"String Replace" cannot replace by ROWID or other column variables.

Thus, I converted the SDF column to a string ("Column Rename") and used the "Java Snippet" node to replace the row name. However, I so far I failed to convert the string back to SDF or mol block format.

Is there a way to convert the string back to SDF or mol block format?

Or is there another way to adress my problem.

Thanks a lot,

 

Alex

"SDF inserter" did the job.

Solved.