I want to make changes to default workspace path. When my users of KNIME AP launches the application by default it should go to their folders under default directory.
Ex: If my default location is ‘/workflows’ and user is ‘test’. When the test user launches the KNIME AP it should prompt for ‘/workflows/test’ as working directory. If my user is test2 then it should be ‘/workflows/test2’ for that user. Can Anyone know how to achieve this folder structure.
Hi @lakshmi21 and sorry for the delay,
Yes, this is possible to start KNIME with a customized workspace path. You need to pass the -data parameter with the path value to do this. For example, on Windows, you can add -data to the target value of a shortcut. Then to add the current username in the path, you can use %USERNAME% like the example below:
“C:\Program Files\KNIME\knime.exe” -data C:\workflows%USERNAME%
There is also a better and more convenient way to manage users, teams and spaces. By using the Team plan in KNIME Community Hub, users or team members can collaborate on different projects or workflows, and it’s super easy to manage their access to different spaces. Also, you don’t need to worry about the system or disk space maintainance anymore.
Hi @armingrudd
First of all, thank you so much; the solution you provided worked for me. I met my requirement. I was lost in Eclipse documents looking for the solution. But thanks once again for your quick response; it saved me time and allowed me to concentrate on other things.
Secondly, Sorry for the delayed response. I was so overwhelmed that I forgot to give you a reply after testing. I hope you understand.
Hi @armingrudd
Can you tell me how can I do it in LINUX.
Hi again @lakshmi21,
I’m glad I could help you.
Regarding Linux, I’m not quite sure but I think you can add the path with $LOGNAME variable followed by the argument in a .sh file and then execute it.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.