cancel
Showing results for 
Search instead for 
Did you mean: 

How to Bootstrap rules

art99trash
Star Contributor
Star Contributor
How can I create Alfresco Rules at startup?
I would like to bootstrap my rules so that I don't have to manually create them each time
I install Alfresco and apply my amp files.

I saw this old post but it did not help.
https://forums.alfresco.com/forum/end-user-discussions/alfresco-explorer/how-set-rules-company-home-...

Thanks
2 REPLIES 2

douglascrp
World-Class Innovator
World-Class Innovator
The easiest way to do so is to use a development server, create and configure the rule as you need it, export the folder and its content into an ACP file, and them create a bootstrap configured to create the folder during the startup.

In order to export the folder, you can use this addon https://addons.alfresco.com/addons/importexport-acpzip-share

You can find the information you need to configure the bootstrap here http://docs.alfresco.com/community/references/dev-extension-points-bootstrap.html

I had to do the same thing some days ago, and I can say it works perfectly if done right.

Let me know if you need more info.

Thanks douglascrp, I'll give it a try.