Book Image

Alfresco 3 Enterprise Content Management Implementation

Book Image

Alfresco 3 Enterprise Content Management Implementation

Overview of this book

Alfresco 3.0 has generated a lot of curiosity with its new content management features. Users have been waiting for a book that covers these concepts along with the security, dashboards, and configuration features of Alfresco 3. Alfresco 3 includes Alfresco Surf, a new N-Tier Architecture, which delivers scalability and accommodates more users on existing hardware resources. This new release also includes a draft implementation of the CMIS specification, and Microsoft Office SharePoint Protocol support. The new multi-tenancy features enable Alfresco ECM to be configured as a single-instance multi-tenant environment. This well-crafted and easy-to-use book is a complete guide to implementing enterprise content management in your business using Alfresco 3. It covers the enhanced document management, a new web-based collaborative application called Alfresco Share, and various integration options with external applications. Alfresco 3 offers true Enterprise Content Management (ECM) by providing an open source alternative to Microsoft SharePoint, Documentum, and Interwoven. It is the most popular Java-based CMS with over 1.5 million downloads, 50,000 live sites, 74,000 community members, and with more than 150 application extensions in forge. This book guides you through creating smart, collaborative content repositories and shows how to use Alfresco 3 to create more elegant document sharing, better collaborative working, and reliable automated workflow processes. The book also explains how administrators can set up Alfresco 3 for multiple business units as a single-instance multi-tenant environment. Business users can leverage Alfresco Share, a new built-in web-based collaborative content management application bundled with Alfresco repository. It simplifies capturing, sharing, and retrieval of information across virtual teams. This book shows you how to unleash the power of Alfresco 3 to create collaborative working systems in your enterprise
Table of Contents (22 chapters)
Alfresco 3 Enterprise Content Management Implementation
Credits
About the Author
About the Co-Authors
Acknowledgements
About the Reviewers
Preface
Index

Executing JavaScript as business rules


The built-in rules might not be sufficient to address all of your business requirements. You can execute JavaScript code as an action in your business rule. If you need even more flexibility, you can write business rules in custom JavaScript files and execute them as actions.

Use built-in JavaScript as actions

You can execute JavaScript code by selecting Execute a script as an action in the Rules Wizard. The Rules Wizard displays the list of built-in JavaScript, such as:

  • backup.js

  • append_copyright.js

  • backup_and_log.js

The sample backup.js script creates a backup of a file by copying it to a backup space. This might be required in some business situations. When using a document in your space, try running backup.js as an action and observe the results.

Extend business rules with custom JavaScript

The Rules Wizard lists all of the JavaScript files that are available in the Company Home > Data Dictionary > Scripts space. You can extend your business...