User's guide > Windchill Connectivity APIs > Accessing Workspaces
Accessing Workspaces
For every workspace, a new distinct storage location is maintained in the user’s personal folder on the server (server-side workspace) and on the client (client-side workspace cache). Together, the server-side workspace and the client-side workspace cache make up the workspace.
Methods Introduced:
The interfacepfcServer.WorkspaceDefinition contains the name and context of the workspace. The method pfcServer.ServerLocation.CollectWorkspaces returns an array of workspace data. Workspace data is also required for the method pfcServer.Server.CreateWorkspace to create a workspace with a given name and a specific context.
The method pfcServer.pfcServer.WorkspaceDefinition_Create creates a new workspace definition object suitable for use when creating a new workspace on the server.
The method pfcServer.WorkspaceDefinition.GetWorkspaceName retrieves the name of the workspace.
The method pfcServer.WorkspaceDefinition.GetWorkspaceContext retrieves the context of the workspace.
The method pfcServer.WorkspaceDefinition.SetWorkspaceName sets the name of the workspace.
The method pfcServer.WorkspaceDefinition.SetWorkspaceContext sets the context of the workspace.
Was this helpful?