# Javasnippet Window in KNIME Web Portal

**URL:** <https://forum.knime.com/t/javasnippet-window-in-knime-web-portal/37258>\
**Category:** KNIME Server\
**Tags:** webportal\
**Created:** [November 10, 2021, 3:47pm UTC](https://forum.knime.com/t/javasnippet-window-in-knime-web-portal/37258 "2021-11-10T15:47:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![PrezRio4](https://forum-cdn.knime.com/user_avatar/forum.knime.com/prezrio4/32/32914_2.png) [@PrezRio4](https://forum.knime.com/u/PrezRio4)\
**Post date:** [November 10, 2021, 3:47pm UTC](https://forum.knime.com/t/javasnippet-window-in-knime-web-portal/37258/1 "2021-11-10T15:47:18Z")

</div>

Hello!

We have deveolped a little script in a Javasnippet node, that shows up a window waiting for user input. Something like this picture:

![Picture1](https://forum-cdn.knime.com/uploads/default/original/3X/9/7/975a558556b729385aa48e47626128fb88a195c7.png)

The aim is marking different fields for each Lot Number and the output is a little table containing the chosen pairs (lot number, experiment). In the example each row would be:

Muestra 1, SFMS2 SC  
Muestra 1, HPLC X17  
Muestra 2, SFMCS2 SC  
…

This works fine when running in local, but we would like to execute the Workflow on KNIME Webportal.

The WF runs, but does not show up any window. Is there a way we could approach a solution?

Thank you in advance,

Jorge

---

<div class="post-metadata">

**Author:** ![AnotherFraudUser](https://forum-cdn.knime.com/user_avatar/forum.knime.com/anotherfrauduser/32/16912_2.png) [@AnotherFraudUser](https://forum.knime.com/u/AnotherFraudUser)\
**Post date:** [November 12, 2021, 3:33am UTC](https://forum.knime.com/t/javasnippet-window-in-knime-web-portal/37258/2 "2021-11-12T03:33:23Z")

</div>

Hi @PrezRio4,

you will have to check out the Generic Java Script View Node if you want to display something similiar to your Java Snippet:

> **[Generic JavaScript View — NodePit](https://nodepit.com/node/org.knime.js.base.node.viz.generic3.GenericJSViewNodeFactory)**
>
> Executes JavaScript code to generate a view.

Or you could check if the default widget might cover your requirements.

E.g. the table editor can show user selections:

> **[Table Editor — NodePit](https://nodepit.com/node/org.knime.js.base.node.viz.tableeditor.TableEditorViewNodeFactory)**
>
> Displays data in a table view and a possibility to edit.

Most likely not what you want as an answer - but as far as I know your Java Snippet solution will just not work in combination with the web portal
