cancel
Showing results for 
Search instead for 
Did you mean: 

Can I use a single domain for document management and social collaboration ?

Nelson_Silva
Confirmed Champ
Confirmed Champ

Is it possible to delete the Collaboration domain and move its types to the default domain ? Ideally we should be able to use all the DM types in a social workspace and have social workspaces in the default domain.

1 ACCEPTED ANSWER

Nelson_Silva
Confirmed Champ
Confirmed Champ

I managed to get Social Workspaces in the default domain so it solves half of the problem.

Basically I :

  1. Contributed to the "types" extension point of org.nuxeo.ecm.platform.types.TypeService to add SocialWorkspace as a subtype of Domain
  2. Contributed to the "filters" extension point of org.nuxeo.ecm.platform.actions.ActionService to append a rule to the "create" filter granting AddChildren permission to the type Domain (this display the "New" action button when viewing the default domain).
  3. Changed the "socialWorkspaceContainer" path by contributing to its extension point in org.nuxeo.ecm.social.workspace.service.SocialWorkspaceService. I changed if to /default-domain to make it work with the default domain. (This configures this aa the target for new social workspaces created using the Collaboration tab.)

You can find the result here : https://gist.github.com/3681415#file_mysocial_config.xml

Just copy this to your nxserver/config and remove the Collaboration domain.

View answer in original post

4 REPLIES 4

Laurent_Doguin
Star Collaborator
Star Collaborator

Hi Nelson,

This is something we'd like to have but it requires a lot of refactoring. You can follow those changes on this Jira: https://jira.nuxeo.com/browse/NXP-8764

Can't I use the SocialWorkspaceService and change the socialWorkspaceContainer path to /default to use the default domain ?

Nelson_Silva
Confirmed Champ
Confirmed Champ

I managed to get Social Workspaces in the default domain so it solves half of the problem.

Basically I :

  1. Contributed to the "types" extension point of org.nuxeo.ecm.platform.types.TypeService to add SocialWorkspace as a subtype of Domain
  2. Contributed to the "filters" extension point of org.nuxeo.ecm.platform.actions.ActionService to append a rule to the "create" filter granting AddChildren permission to the type Domain (this display the "New" action button when viewing the default domain).
  3. Changed the "socialWorkspaceContainer" path by contributing to its extension point in org.nuxeo.ecm.social.workspace.service.SocialWorkspaceService. I changed if to /default-domain to make it work with the default domain. (This configures this aa the target for new social workspaces created using the Collaboration tab.)

You can find the result here : https://gist.github.com/3681415#file_mysocial_config.xml

Just copy this to your nxserver/config and remove the Collaboration domain.

This solution is good enough waiting a clean implementation we plan to do as explained Laurent.

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.