In fact, I know this could be done with "rules", but I can apply rules only to subdirectories, not the root directory of a site.
I know I did this in the past for an other site, but I can not find that definition either, I just get a message on subdirectories that they are inheriting.
First of all you might want to explain what you mean by "apply model to entire site". A model in Alfresco terms is a dictionary model of allowed types, aspects properties etc. and is always available globally within a tenant (if you don't use multi-tenancy, you still have a "system tenant" in which you work from a conceptual perspective).
Do you want to apply a specific type/aspect from a custom model to all documents of the site, along with some common/default metadata? If that is the use case and you only need to run it once, I would advise to check if the JavaScript Console could be used. Otherwise for continuous application based on events (new uploads), rules and behaviours (Java programming) are about the only default options.
Hi:
If I understand, you can apply rule on the root directory of a site, navigating via repository.
Browse Sites > yoursite, and apply your rule (to apply a custom type for every document on creation for example) in documentLibrary folder. Once rule is created, you can even run it as an action from rule management, on the previoulsy created contents of a site.
Regards.
--C.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.