Book Image

Alfresco 4 Enterprise Content Management Implementation

Book Image

Alfresco 4 Enterprise Content Management Implementation

Overview of this book

Alfresco 4 has improved a lot with its new and advanced concepts for content management. Users have been waiting for a book that covers these concepts along with security, dashboards, and the configuration features of Alfresco 4. Alfresco 4 Enterprise Content Management Implementation is a well-crafted and easy-to-use book, and it is a complete guide to implementing enterprise content management for your business needs using Alfresco 4. It covers the enhanced document management, integration with standard productivity tools, and various integration options with proven external applications. This book will take you through a number of clear, practical sections that will help you to make a proper decision for your business needs using standard practices with Alfresco's Document Management and various third-party integrations You will learn how to install, administer, and manage your entire application. The concepts of mapping your business documents by extending content models and achieving your complex business process using Workflow models and business rules will be discussed in this book. Integration with various third party tools like MS Office, Mobile Application, Outlook, Liferay, Ephesoft, and Kofax will also be covered. You will learn to create your own custom workflow using Activiti BPMN 2.0 Process Designer and also maintain and administrate the entire application.This book explains everything you need to know to manage your documents using standard processes and mechanisms.
Table of Contents (21 chapters)
Alfresco 4 Enterprise Content Management Implementation
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Executing JavaScript as business rules


The built-in rules might not be sufficient to address all your business requirements. You can execute a JavaScript 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.

Using built-in JavaScript as actions

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

  • alfresco docs.js.sample: Search and log all the docs containing Alfresco text

  • append copyright.js.sample: Append the copyright line to text or HTML files

  • backup.js.sample: Simple document backup script

  • backup and log.js.sample: Back up files and log the date and time

  • example test script.js.sample: Example of various API calls

  • start-pooled-review-workflow.js: Starts the Pooled Review and Approve workflow

  • test return value.js.sample: Return a value from a script—for the command servlet

Extending...