I am trying to create a line graph via HTML structure and send it out via email. Here are the following steps that I want to implement in a KNIME workflow:
Use a “General JavaScript View” node to create an HTML structure using D3 with a line graph.
Extract the HTML produced and save it to a Flow Variable for future usage.
Add the flow variable to a “Send Email” node.
Does anyone have guidance on how to achieve step 2 above? What is the syntax required to create a new flow variable from within a Generic JavaScript View node?
I’m afraid your second point – extracting the view’s HTML – isn’t a simple task.
You will find a related question and answer here Button to download a page from the Web app - #2 by DanielBog , but I’m not sure how exactly this would work in the end.