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

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

I required

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.

1 votes

1 answers

2058 views

ANSWER



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.

1 votes



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

http://answers.nuxeo.com/questions/4253/how-to-init-repository-without-restarting-the-nuxeo-instance-and-removing-data

BE CAREFUL REMOVE CONTRIBUTION ONCE YOU FINISH YOUR TEST… This only for dev instance…

11/19/2012

Please think to check the answer if it fixed your problem or put a comment to give more information on your problem…
11/19/2012

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

In addition, if the default domain is deleted and no other domains have been created, where are User Workspaces and Profiles stored?

03/22/2013