KNIME table to HTML (without deprecated / legacy nodes)

Dear KNIMErs,

I have a challenge for you :wink:

I want to embed a table into the Send Email node in KNIME 5.2.3 and upload it to the Business Hub (to automate some email sending).

The problem I have is that both old nodes I knew (Table to HTML) are deprecated and I am not allowed to use deprecated nodes on the instance of Business Hub I am using.

In the community hub the node description reads that this is replaced by the new KNIME Reporting Extension but I find it hard “to believe that” :smile: Because, yes, I can write local html files to my local machine (or in a temp directory on the Business Hub) BUT how do I embed exactly the info from that table into an email?

So far I am working with the Send Email node that expects HTML coming in as a flow variable.

Any - non-coding - workaround to not use deprecated nodes?

Thanks in advance!

Hi @kowisoft ,

here is an example workflow showing the embedding of reports in HTML emails, which was released with KNIME 5.3. Focus on the last two nodes (i.e. component and Email Sender node). Please note that what is displayed varies between email clients; some support more HTML, some less.
For 5.2.3, I do not have a solution from the top of my head.

Have a nice day,
nan

4 Likes

I did some tests - if you only have table viewer in the component it indeed embeds it into the HTML Email - with Number format and String Format manager plus tweaking the settings of Table Viewer I think you may actually be able to make this look decent :-):

Be mindful though: I think if there are any charts in the component they will be send as individual images…

1 Like