Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Alfresco 4 Enterprise Content Management Implementation

You're reading from   Alfresco 4 Enterprise Content Management Implementation With Alfresco 4 you can manage content across the enterprise more effectively and corroboratively. This book helps you achieve great results, however basic or sophisticated your needs, with a hands-on, training course approach.

Arrow left icon
Product type Paperback
Published in Jul 2013
Publisher Packt
ISBN-13 9781782160021
Length 514 pages
Edition 1st Edition
Languages
Concepts
Arrow right icon
Toc

Table of Contents (16) Chapters Close

Preface 1. Introduction to Alfresco FREE CHAPTER 2. Installing Alfresco 3. Getting Started with Alfresco 4. Implementing Membership and Security 5. Implementing Document Management 6. Implementing Business Rules 7. Extending Alfresco Content Model 8. Implementing Workflow 9. Integrating External Applications with Alfresco 10. Alfresco Administration Operations Using Alfresco Share 11. Customizing the User Interface 12. Search in Alfresco 13. Implementing Imaging and Forms Processing 14. Administering and Maintaining the System 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...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime