Search code examples
eclipseknime

Save KNIME workflow in alternate location


New to KNIME and Eclipse. Using KNIME v3.2.1 in Eclipse v4.5. When I create a new KNIME workflow (or Workflow group), these are being saved to a workspace called LOCAL:/ which is set to C:\Documents and Settings\[ME]\workspace on my computer.

I need to be able to develop my projects portably on several computers. Is it possible to create a workspace running on a USB (or network drive)? Then on PC-A, the workspace points to [USB-STICK-ON-PC-A]\[SOME-PATH] and similarly on PC-B.

This would allow me to work on my KNIME projects on PC-A, save and walk away. Later, when I opened KNIME on PC-B I could just carry on where I left off (assuming the USB stick came with me from PC-A!).


Solution

  • Sure, you can start KNIME (eclipse) with any workspace (even relative to the installation). In case you decided to not ask for the location of the workflow on startup, you can start with the default workflow and switch (File | Switch Workspace | ...) workspace from there. That can be ./knime-workspace for example for a relative path, //network-share/your/path/to/a/workspace or on a (network) drive: X:/workflows/w0.

    (It is also possible to start to a new/old workspace using the -data command line option.)

    You can refer to the workflowrelative paths in the workflow using the URL syntax: knime://knime.workflow/relativeToWorkflow. (This is not supported by all nodes, but more-and-more nodes support it.)