Generic JavaScript View


Executes JavaScript code to generate a view. The code in the script editor is executed when displayed in the view (right-click -> Interactive View) or in the KNIME server web portal.

Within the java script code block you have access to the input table and can use a set of predefined libraries to generate the view.

Additionally you can export a static image to the workflow, if the view is generated as an SVG structure.

Note, this node is currently under development. Future versions of the node will have more functionality, including the ability to define and use templates.

The node supports custom CSS styling. You can simply put CSS rules into a single string and set it as a flow variable 'customCSS' in the node configuration dialog.
The style rules defined in such a way will override the style rules set in the node's dialog.
You will find the list of available classes and their description on our documentation page.

Input Ports

  1. Type: Data Data table with data to be converted in JavaScript object available to the view. (optional)

Output Ports

  1. Type: Image Generated SVG image if view implementation is producing and exporting it.
  2. Type: Flowvariable All previously and during view generation defined flow variables.

Find here

Views > JavaScript

Make sure to have this extension installed:

KNIME JavaScript Views

Update site for KNIME Analytics Platform 3.7:
KNIME Analytics Platform 3.7 Update Site

How to install extensions