Hi
Using Alfresco Community Edition 3.2
I need to define a rule which automatically changes the owner of any new document to e.g. the 'admin' user. I have created a javascript file containing the following:
document.setOwner("admin");
And I have defined the rule for any inbound document on the root-space. So far so good. (if there is an easier way, I'm open for it 😉 )
Now I would like to include this rule (and the related JS file) in our delivery-package. After installing alfresco and our extensions, no additional work on the GUI shall be needed. What is the way to do this? From what I understood I will be able to automatically deploy content (like the JS file) using an ACP. But how do I get the rule to be set up automatically on the root space?
Looking forward to any hints
cyman