I want to open a new mail (i.e. MS Outlook) with Data from the Knime Workflow.
In Knime Analytics i tried a python script which works fine.
Copy input to output
output_table = input_table.copy()
When the workflow is deployed on the server and startet by a user, there will be a new mail window. But it is opened on the (linux) server.
Is it possible to open the mail window on the localhost?
Unfortunately, that is not going to work directly - there is no way to open a new window on the client side that way.
One thing you could try is to add a Send Email node to the workflow, which is then configured via various quickforms in a wrapped metanode.
The email text itfself can be entered via String Input, just as the address you want to send to. Credentials you can pass via credentials input, things like smpt address and port I’d hardcode into the node itself.
The attachment you can pass as a placeholder, e.g. pass a temp file, and when on the WebPortal, the actual file will be appended.
Hope that helps!
at the moment, is there any possibility to open a python window (e.g. python matplotlib plot) from the server on the localhost?
There is the Python View node which behaves like any other of KNIME’s viewer nodes. It doesn’t allow to open a Python window, though, but it allows to output and view an image that was generated using matplotlib (or any other way). So this might be an alternative if your matplotlib plot does not need to be interactive.
Other than that, there’s no possibility, I’m afraid.
thanks for your suggestion.
But i need an interactive plot.
I want to load only a part of data from a mat-file (hdf5) and plot it interactive.
The user should be able to change the data in the view.
The data should be loaded only when selecting and not all at the beginning of the workflow.
Is there any possibility?