Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Creating Workspaces from templates using WOM
NateEnt
Is there any way to create a workspace from a template using the WOM API's?
For one of our clients we have an automatic process that needs to create workspaces from workspace templates. I have been looking around and I don't see any examples of how to do this. I know the web application does this so I know it is possible, but it doesn't appear to be in the WOM API. Is this possible?
Find more posts tagged with
Comments
Migrateduser
SDK docs (MP4.1) under com.imanage.cms.api.workteam says:
createWorkspace
public Workspace createWorkspace()
throws WorkteamException
Example:
// Create a workspace in an existing facility
// To create a catalog, use createCatalog instead of
// createWorkspace
Workspace workspace = facility.createWorkspace ();
workspace.setName ("My First Workspace");
workspace.setDescription ("A Workspace");
workspace.update ();
workspace.refresh (); // Optional; generally unnecessary
// Delete an existing workspace
Workspace workspace = facility.deleteWorkspace ();
HTH.
screenshot.52.zip
NateEnt
This is cool, but theres nothing in there about "Creating from a template".
There is nothing in the SDK that allows you to use an existing workspace template via the api.
- Nate
dbguy
This is a web app specific feature. It is not part of the SDK.
Migrateduser
you're correct, sorry. Creation from template is not part of API yet.
However, you may get hints how to parse WS template and create WS from webapps\worksitemp\views\default\jsp\workspace\workspaceCreate2.jsp
screenshot.53.zip