How do I create Workspaces and Stream in a Server Extension?
![]()
I am creating a server extension that among other things needs to programatically create a workspace and a stream. I was using IWorkspaceManager from SCMPlatform as in:
IWorkspaceManager manager = SCMPlatform.getWorkspaceManager(repository);
IWorkspaceManager contains the .createStream and .createWorkspace but it is part of Client API.
How do create a stream and a workspace using the Server API?
|
Accepted answer
![]()
Hi Andrew,
have a look at "IScmService". This service provides the server side operations you were invoking in the client side, so once you get the service from the extension, your code would be fairly the same. Thanks, Jorge. Andrew Soloninka selected this answer as the correct answer
|