Node UI options

Hi,

I’m wondering if in the node development using python extension, is there any way to customize the node GUI, so when I, for example, check a checkbox, new options are displayed, or if I select an option from a list, some new options appear.

I saw this thread in java and looks similar to what I want to do:

Also, is there any expected date for new functionalities in the python extension? Like browse in the local file system?

Kind regards,
Fernando

Hi Fernando,

is there any way to customize the node GUI, so when I, for example, check a checkbox, new options are displayed

Yes, we have added the first iteration of this feature to the Python node API for the upcoming KNIME AP 5.2 release. We’re still finishing the documentation for it though. Stay tuned, you can do this soon :slight_smile:

Also, is there any expected date for new functionalities in the python extension? Like browse in the local file system?

Some new features that will make it into AP 5.2 are configuring parameters of Python nodes via flow variables more visually, access to KNIME’s credentials in Python nodes, a “Connection Port Object” to e.g. work with database sessions opened in Python, and that Python nodes not respect the proxy settings configured in KNIME.

After that, we want to add a local file chooser and dynamic fetching of options in a dropdown (right now these need to be provided when the dialog is opened). But I cannot promise any delivery dates for these yet.

May I ask what kind of Python extension you’re building? It’s always great to see what the community comes up with!

Best,
Carsten

3 Likes

Update: API docs are now available, see Python Extension Development (Labs) — KNIME Python API documentation

Hi @carstenhaubold,

Thanks for the reply and the update. I will have a look to the doc! Regarding the local file chooser, that would be a great feature…

I’m developing different nodes for our drug discovery tools, so they can be included in drug discovery workflows. You can check about it in our website (www.pharmacelera.com). We currently have the a couple of nodes using java, but we found this option easier to maintain.

Best,
Fernando