I am working on alfresco 4.2c community version. I have enabled multi tenancy & that is working Fine. All the content stores data working Fine.
Now My issue is I want to create separate custom metadata for each tenants. So that Tenant Company A will have some metadata fields & Tenant Company B will another set.
Currently due to one DB its happening.. Any solution to this..
separate content models for tenants are pretty easy to achieve. There are two options to achieve this. The first is by using the Data Dictionary of a tenant to store your content model. Only tenant of that Data Dictionary will have access to models stored there. The second would require you to implement a custom dictionary bootstrap which only bootstrap content models when a specific tenant is being enabled / activated (onDictionaryInit() callback).
Many Many Thanks For your reply.. I have taken first approach 1. Uploaded my Model tenantModelAspect-context.xml in Data Dictionary Model space. 2. Uploaded my web-client-custom-config.xml in corresponding data dictionary 3. reload option in alfresco explorer UI
Oh, you're still developing for the Explorer? I have no practical experience regarding tenant-specific dynamic configuration there. For Share I usually use the Surf extensibility feature to include a module with an evaluator that checks for a specific tenant identifier in the user name to include UI configuration specific to a tenant.
Steps: 1. Created Multi tenancy(A pvt Ltd, B pvt Ltd).admin@abc.com 2. Uploaded my Model with Aspects in Data Dictionary>>Model 3. Uploaded Config in Web Client Extension Folder in Data dictionary 4.Added properties Files in Messages Folder in Data Dictionary 5.log out 6. test..
my changes are not getting reflected. Am I doing any mistake.