cancel
Showing results for 
Search instead for 
Did you mean: 

Enterprise style management

heckle
Champ in-the-making
Champ in-the-making
Within the next couple of weeks, we will be importing various big directory
structures into alfresco. I would like to be able to add rules to this existing
structure with the least amount of effort. is it possible to centrally control rules
on predictable directory layouts? (perhaps scripting, etc.)

This will go a long way since changes might have to be made to 100's of similar
directories with the same rules.
3 REPLIES 3

alexander
Champ in-the-making
Champ in-the-making
Yes, you can set a rule to trigger when new space is created. For this use condition "Items of specified type or sub-type" and select "Space".

It can execute scripts, where you can change properties of your space. But it is tricky - if you change space name child nodes might not be created by CIFS or FTP.

If you explain better what you want to do with a folder structure, may be someone can advise.

heckle
Champ in-the-making
Champ in-the-making
As an example, lets say I have a directory structure like below
on my file server which I will import into alfresco via CIFS…

MyProjects
……….|
……….|
___________
…|…………..|
proj1………proj2
…..|……………|
________….________   
..|……..|………….|……..|
dir1….dir2 ……dir1…..dir2


… and so on. Except this is on a bigger scale. When I import these I would like to apply similar rules for dir1 on each project, and the same for dir2 etc.

Since there are 100's of said structures, can I rapidly setup rules and propagate them to all the dir2's? If need be, can I change all the rules for dir2? I hope this makes sense.

(sorry for all the dots but cant uses spaces)

alexander
Champ in-the-making
Champ in-the-making
I am still not clear which rules you want to apply, but got the general idea.

The possible solution would be to define a rule (on the root folder) that will be triggered only if name of item match ('Dir#'), and execute a custom script that will set rules on matched items.

It will not allow to change the rules later, except by writing another script, that will iterate through the tree.

If your subitems in a Dir# have naming convention, that includes #, you can get away with centrally defined rules. You may rename items on first import, using a script.