cancel
Showing results for 
Search instead for 
Did you mean: 

tenant level configuration item

msj4u
Champ in-the-making
Champ in-the-making
Hi,

with reference to https://forums.alfresco.com/forum/end-user-discussions/alfresco-explorer/contentdocument-expiry-1204...

Where i can store configuration item for each tenants so that i can refer them in my rules and other stuff

like for tenantA the expiry of documents is one day and for tenantB the expiry of documents is 5 days.

and upon expiry i have to notify/email the owner of the document

Thanks
2 REPLIES 2

mrogers
Star Contributor
Star Contributor
One place is the data dictionary (each tenant has their own dictionary).  The other place is the attribute service.   

If its just a config property my initial starting point is the attribute service with a key <My KeyName> <tennant name> <value>

kaynezhang
World-Class Innovator
World-Class Innovator
My opinion is just opposite to Mr mrogers,here is the reason:
1.Data dictionary is tenant aware,so if you save your configuration data in dictionary you don't need do anything,it is just for the tenant.But Attribute service is not tenant aware,If you want to save configruation in attribute ,you should take care of tenant yourself( for example add tenant to attribute key).
2.Using data dictionary give you better extensibility,you can save an xml file in every tenant's data dictionay.When you have others tenant related config property,you just add it to the xml file,then every thing will be ok.