Generic JavaScript View - include Js

Hi Everyone,

I want to use a third party library combined with the generic JavaScript view:

However I am not sure how to add them to the node :roll_eyes:

Normally I would just include it through:
link href=“dist/css/tabulator.min.css” rel=“stylesheet”>
script type=“text/javascript” src=“dist/js/tabulator.min.js”>
However KNIME does not seem to access the local files in the script

Is there some function like the “Additional Libraries” from the java snippet node?
For the CSS file I think I include the text in the CSS part of the node…however for the Js file I am somewhat confused :disappointed:

Thanks for any help!

1 Like

Hi,

Take a look at the solution to this topic. I believe it will address your challenge. In essence, you download the content of the JS library and include it as code in the Generic JS View.

Regards,
Matheus

5 Likes

@toscanomatheus thanks for the help!

1 Like

@KnimeWorker actually I tried to get this lib to work as well, but somewhat failed to do so :frowning:
Did you manage to do it with @toscanomatheus reference?
It seems like the lib does not load at the right time without the actual <script Import… or maybe I just fail to do it properly :confounded:

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.