06-01-2018 06:13 AM
I will override the creation of tenant so that each creation tenant re-exeucte all the patches on this tenant without losing the information of the other tenants .
06-01-2018 06:56 AM
Hi,
If you are planning this for your client and thinking to keep it in future then do not use tenant because from version 6 it is being removed.
For the versions before 6 you may use.
Regards,
Rupesh
06-01-2018 07:01 AM
I'm using the multi tenant just for a student project and I'm on version 5 and I do not need a version 6 what you have an idea commits to re-run the patch with each creation of a tenant ?
06-01-2018 08:05 AM
Hi,
I am hopping you are using post webscript to create tenant, if yes then you just need to override org.alfresco.repo.web.scripts.tenant.TenantPost class in order to execute your logic around tenant creation.
Regards,
Rupesh
06-01-2018 08:09 AM
Hi,
Here is the bean definition of that class:
<bean class="org.alfresco.repo.web.scripts.tenant.TenantPost" id="webscript.org.alfresco.repository.tenant.tenants.post" parent="abstractTenantAdminWebScript"> </bean>
Regards,
Rupesh
06-01-2018 08:24 AM
I am already on this point but I am blocked because I do not know how to apply the execution of the patches after override creation tenant? how to invoke patches on a tenant? how to cause the re-execution of the patches?
Explore our Alfresco products with the links below. Use labels to filter content by product module.