As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
… You can get node by uuid and get it's path. The only line you need to change is:space = new Reference(WORKSPACE_STORE, "your-uuid", null);
space = new Reference(WORKSPACE_STORE, "your-uuid", null);