cancel
Showing results for 
Search instead for 
Did you mean: 

Is there any way to hide the "Default domain" or stop it from being generated?

jjohnson_
Champ in-the-making
Champ in-the-making

I generated my own template using the factoryBinding point from the org.nuxeo.ecm.platform.content.template.service.ContentTemplateService.

I required org.nuxeo.platform.content.template.service.ContentTemplateService

to see if my factoryBindings would overwrite the SimpleTemplateFactory, which creates the default-domain template, but it did not.

Is there a way to hide or not generate the "Default domain"?

I know there is a hiddenInNavigation facet, except that my new domain is also of domain doc type.

4 REPLIES 4

Vladimir_Pasqui
Star Collaborator
Star Collaborator

Hi,

It seems to be ok about your contribution to this factoryBinding extension point (although you didn't put your code here).

You have to delete your data (and restart the server) in order to remove default-domain and if you have redefined the document type Domain structure you'll see your changes. You can create also a new domain by hand in the interface to confirm that your updates about document type Domain has been taken in account.

And if you want to test it without restarting you can follow this

Please think to check the answer if it fixed your problem or put a comment to give more information on your problem...

What impact does deleting the default domain have on User Workspaces, User Profiles, etc.?