Automatic creation of user workspace
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-23-2012 04:47 AM
Hi,
I'm using a portlet that gives a simple web access to Nuxeo using CMIS.
Users are supposed to store documents in their personnal workspaces. Unfortunately, User Workspaces are created on the fly when trying to access it through the UI so that, in the first place, they must connect to Nuxeo and access their personnal workspace, in order to use the portlet.
How can I create those Workspaces using an event such as logon or any other ?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-26-2013 06:17 PM
Create a listener for the "loginSuccess" event that invokes UserWorkspaceService.getCurrentUserPersonalWorkspace().
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-02-2013 10:24 AM
After the loginSuccess event, currentUser happens to be null
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-10-2013 07:18 AM
Thanks everybody for answers
