Book Image

Alfresco 3 Cookbook

Book Image

Alfresco 3 Cookbook

Overview of this book

Alfresco is the renowned and multiple award winning open source Enterprise content management system which allows you to build, design, and implement your very own ECM solutions.You have read a number of tutorials, blogs, and books on Alfresco. Now you're in the real world, trying to use Alfresco, but you’re running into problems with it. This is the book you want. Packed full of solutions that can be instantly applied, this cookbook with its practical based recipes and minimal explanation meets that demand.This Alfresco 3 cookbook boasts a comprehensive selection of recipes covering everything from the basics to the advanced. The book has recipes for quickly installing Alfresco in Windows and Linux and helping you use custom content model, rules, and search. There is also a collection of recipes focused on creating Scripts, Freemarker templates, Web Scripts, and new workflow definitions. Steps to integrate Alfresco with other systems like MS-Office are also included. You will be able to use Alfresco’s File and Email servers. Finally, step-by-step recipes are presented to create an Alfresco build environment and compile the source code. This Alfresco 3 Cookbook is perfect for developers looking to start working on Alfresco quickly, gain complete understanding, write custom implementations, and achieve expertise very easily.
Table of Contents (21 chapters)
Alfresco 3 Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Creating and applying rules


Now as we understand the basic structure and purpose of rules, we will see how to create and apply a rule on a specific space.

Let’s take a specific scenario; let’s say, you want to automatically convert your MS Word documents into an Adobe PDF document. We will see how to do these using rules.

How to do it...

  1. 1. Open Alfresco Explorer and log in with a suitable user.

  2. 2. Create a new space (say Chapter 4) in our InfoAxon space.

  3. 3. Open the Chapter 4 space by clicking on it.

  4. 4. You can see there are no content items; no rules are configured in this space.

  5. 5. Now let’s create a new rule. Click on More Actions and Manage Content Rules.

  6. 6. No rules are there, click on Create Rule.

  7. 7. Create Rule Wizard opens up. The wizard will provide step-by-step guides on how to create a rule. The first step is to define the Conditions of the rule.

  8. 8. From the Select Condition drop-down list, select Content of mimetype and then click Set Values and Add. Alfresco asks for condition value...