node/table name

Hi,

Is there a way to get the name of input table and probably the name of the corresponding node from the table specs? I would like to initialize some configurations based on these names. 

This particular node compresses the information of an input table into one cell, thus it would be interesting to know the name of the node and/or output port...

Please let me know if the question is not clear enough...

Thanks,

 

Bernd

You mean the name of the preceding node? This is not possible. But you can add a property to the data table spec in the preceding node and use that in the successors.

What do you mean by property? I see a property tab in the table view. But how can I use it?

Where do I find documentation on this?

Thx,B

Have a look at DataColumnSpecCreator#setProperties, DataTableSpecCreator#putProperty or one of the DataTableSpec constructors.