Hi all,
I have and AMP module, and for this module to work correctly it is necessary that two folders exist in the workspace (because nodes get moved there). I could of course every time the module tries to move a node check if the folders exists, and if not create it, but I think this would cause a performance hit.
Instead, when Alfresco loads the module (probably at startup), I would like to run an (Java) init() method that allows me to create the folders if they don't exist. How would I do this? What do I need to place in the module-context.xml and where do I need to place the Java code?
Regards,
Stijn
PS: I would also like to create rules on one of the folders, this would need to go in the same init() method I think?