Custom port example

Hi Community,

can someone guide me to a node with a simple/small custom port? :slight_smile:

I want to pass a simple configuration class from one node to another - and would like to have something where I can lookup how to do it :see_no_evil:

Thanks in advance!

Hi @AnotherFraudUser,

You need to extend the org.knime.core.PortType extension point. This one requires you to implement some classes. The good news is that the extension point wizard helps you with this. After defining a PortType extension, you can click on the links next to dummy classnames and a window will open that lets you create a class with the correct interfaces:

You can find a quite simple implementation in the knime-cloud repo:

best,
Gabriel

3 Likes

Hi @gab1one ,

thanks - that was what i was looking for :slight_smile:

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