Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Intro To Alfresco Part 2

Slide deck from an Alfresco Webinar which can be viewed at

This presentation discusses content modeling and actions.

  • Login to see the comments

Intro To Alfresco Part 2

  1. 1. A Developer’s Introduction to the Alfresco Platform Part One: Learning Your Way Around Part Two: The Content Model, Rules & Actions Part Three: Web Scripts, Surf, & CMIS Jeff Potts Content Management Practice Lead
  2. 2. Recap <ul><li>In Part One, we looked at the Alfresco platform, in general </li></ul><ul><ul><li>Lots of ways to get content in and out of the repository </li></ul></ul><ul><ul><li>Out-of-the-box clients for document management, web content management, and collaboration </li></ul></ul><ul><ul><li>API’s to enable you to build any custom content-centric front-end application that’s needed </li></ul></ul>
  3. 3. How Do I Model Custom Metadata? <ul><li>Alfresco’s content model is easily extended </li></ul><ul><ul><li>Expressed as XML </li></ul></ul><ul><ul><li>Wired in to Alfresco through Spring configuration </li></ul></ul><ul><li>The image below shows a simple custom model </li></ul>
  4. 4. What Are Actions? <ul><li>Actions are discrete “units of work” that can be executed against one or more objects </li></ul><ul><ul><li>Move </li></ul></ul><ul><ul><li>Check-in/Check-out </li></ul></ul><ul><ul><li>Copy </li></ul></ul><ul><ul><li>Add Aspect/Remove Aspect </li></ul></ul><ul><ul><li>Custom </li></ul></ul><ul><li>Actions can be called from several different places </li></ul><ul><ul><li>UI </li></ul></ul><ul><ul><li>Rules </li></ul></ul><ul><ul><li>Java & JavaScript </li></ul></ul><ul><ul><li>Workflow steps </li></ul></ul><ul><li>Custom actions are written in Java </li></ul><ul><ul><li>Action executer </li></ul></ul><ul><ul><li>Action handler (for actions that have user-configurable parameters) </li></ul></ul>
  5. 5. Demo <ul><li>Custom model XML & model context </li></ul><ul><li>Web client config XML </li></ul><ul><li>Configure a rule </li></ul><ul><ul><li>Specialize the content type of HR documents </li></ul></ul><ul><li>Show a custom action </li></ul><ul><ul><li>Configure the “Move Replaced” action </li></ul></ul>
  6. 6. Tools & Tips <ul><li>Models are implemented by writing XML and then telling Alfresco about it through Spring </li></ul><ul><li>Actions are implemented in Java </li></ul><ul><ul><li>Nice way to encapsulate reusable content operations </li></ul></ul><ul><ul><li>Called from rules, the UI, JavaScript, workflow, web scripts, etc. </li></ul></ul><ul><li>Rules are end-user configurable in the Explorer web client </li></ul><ul><ul><li>Rules fire regardless of the client </li></ul></ul><ul><ul><li>Rules can operate on documents as they enter a folder, when they are updated, or as they leave </li></ul></ul>
  7. 7. For More Information… <ul><li>Alfresco Developer Guide </li></ul><ul><ul><li> </li></ul></ul><ul><li>Alfresco Content Community </li></ul><ul><ul><li> </li></ul></ul><ul><li>Alfresco Forums </li></ul><ul><ul><li> </li></ul></ul><ul><li>Alfresco Wiki </li></ul><ul><ul><li> </li></ul></ul><ul><li>Alfresco Blogroll </li></ul><ul><ul><li> </li></ul></ul><ul><li>ECM Architect </li></ul><ul><ul><li> </li></ul></ul><ul><li>Optaros Home Page </li></ul><ul><ul><li> </li></ul></ul>