Nicolas Modrzyk With The Help of James Urquhart at Alfresco: 1 Intalio, Leader in Open Source BPM
Nicolas Modrzyk With The Help of James Urquhart at Alfresco: 1 Intalio, Leader in Open Source BPM
1 Vision
2 One example I like
3 Creating custom nodes
4 Creating custom behaviors
5 Creating custom actions
6 Alfresco webscripts
7 What can we add ?
8 What can of documents ?
9 Authentication, propagation of users
10 Demo
http://www.techbits.de/2007/03/02/integrating-freemind-documents-into-
alfresco/
Custom behaviors:
You may find that your custom aspect or custom type needs to have behavior or business logic
associated with it. For example, every time an Expense Report is checked in you want to recalculate the
total by iterating through the associated Expenses. One option would be to incorporate this logic into
rules or actions in the Alfresco web client or your custom web application. But some behavior is so
fundamental to the aspect or type that it should really be “bound” to the aspect or type and invoked any
time Alfresco works with those objects. You should know that associating business logic with your custom
aspects and types (or over riding outofthebox behavior) is possible.
A new content model could be adopted to create a new meta-data extractor such as ones already
defined inside the Alfresco platform.
Each file we upload to the Alfresco repository has its own meta-data: meta-data is a particular kind of
information, associated to files, describing the file itself. For example, title, author, creation date,
name are default meta-data associated to files. They describe the main characteristics of the file.
Obviously not the same meta-data is associated to different files (for example, an MP3 file has many
attributes such as an album title, a song title, an artist, a genre, a composer and so on). These meta-
data are quite different from a Word file. When an MP3 player loads an MP3 file, it tries to extract all
the known meta-data and visualize them to the user. The same is done in a similar way by Alfresco.
When a file is uploaded to the repository, a meta-data extractor - if explicitly associated to that file -
tries to extract specific meta-data and load values associated to meta-data. The meta-data properties
are then visualized by Alfresco into the web browser.
Once meta-data associated to files is extracted, the user is allowed to execute advanced searches in
Alfresco using just these meta-data: each meta-data could be used as a filter to execute queries against
the repository.
Custom nodes also includes custom behaviors
http://wiki.alfresco.com/wiki/Custom_Actio
ns
Bit like a mini-workflow
For example, convert a .doc file to a .pdf
Call a web services …
We can …
Have access to the whole Alfresco API
Define our own REST services and manipulate
them from the process or the workflow
Authenticated calls
Easily testable and redeployable