I have published a major revision of my “Creating custom advanced workflows in Alfresco” tutorial. Major changes include:
- The tutorial now uses the Alfresco Maven SDK to instantiate the projects and to produce and install AMPs.
- The tutorial no longer refers to jBPM, except to give brief historical context as to why the platforms includes both jBPM and Activiti.
- The tutorial no longer includes any references to the old Alfresco Explorer client, except where it pertains to using the Alfresco Workflow Console, which is only available as part of the Alfresco Explorer Client.
- Significant wordsmithing and re-organization to improve style and clarity.
I have tested the steps and the code against Alfresco 4.2.e Community Edition and version 5.14 of the Activiti Process Designer for Eclipse.
By the end of the tutorial, you will know how to:
- Create, deploy, and run business processes using Activiti embedded within Alfresco.
- Configure Alfresco Share to display custom forms when starting Activiti workflows or managing workflow tasks.
- Use the Alfresco Workflow Console to deploy process definitions, start workflows, and delete workflows.
- Assign workflow tasks to users and groups.
- Add timers to your process definitions to take an action automatically after a specific time period.
The tutorial assumes you already know how to use the Alfresco Maven SDK. If you have never used it, take a look at this tutorial. The workflow tutorial also assumes you have worked through the Custom Content Types, Custom Actions, and Intro to Web Scripts tutorials.
The source code and the tutorial itself reside in GitHub. If you find problems or want to make improvements, please fork the project, make the change, and send me a pull request.
I have published a new version of my Introduction to Web Scripts tutorial. This is a major revision that refactors the tutorial to leverage the Alfresco Maven SDK and AMPs. In addition, I have done a little bit of reorganization to improve clarity and a lot of wordsmithing to make the tutorial more consistent with the others in the Alfresco Developer Series.
By the end of this tutorial, you will know how to:
- Extend Alfresco with your own custom RESTful API.
- Write web scripts that respond to GET, POST, and DELETE requests over HTTP/S and return data in both HTML and JSON.
- Use the web scripts console to display documentation and debug info on your custom and out-of-the-box web scripts.
- Make AJAX calls to your custom web scripts.
The tutorial assumes you already know how to use the Alfresco Maven SDK. If you don’t, take a look this tutorial.
The tutorial text and all of the source code related to it are on GitHub. If you see problems or opportunities for improvement, please fork the project and send me a pull request.
I have published an updated version of the Creating Custom Actions in Alfresco tutorial. Similar to the recently updated Working With Custom Content Types in Alfresco tutorial, this version has been updated to match the refactored code which now assumes you are using the Alfresco Maven SDK to produce AMPs and that you are using Alfresco Share as the user interface. I’ve removed all references to Alfresco Explorer.
The Custom Actions tutorial covers:
- What is an action
- How to write your own custom action in Java
- How to invoke the custom action from a rule or from the Alfresco Share UI
- Configuring an evaluator to hide the UI action when certain conditions are true
- Configuring an indicator to show an icon in the document library when documents meet certain conditions
- Writing and executing unit tests with the Alfresco Maven SDK
If you aren’t familiar with the Alfresco Maven SDK and you need help diving in, take a look at this tutorial.
All of the tutorial source code and text for the Alfresco Developer Series of tutorials is on GitHub. Please fork the project, make improvements, and send me pull requests.
Next on the to-be-updated list is the Custom Behaviors tutorial. I expect that to go live sometime next week.
I’ve started creating some how-to videos for performing common end-user tasks on Alfresco Community Edition. You can get to them all on this YouTube Playlist or take a look at the ones created so far, below…
The playlist currently includes:
- Reviewing the sample site
- Adding users (one at-a-time and by importing a CSV)
- Creating groups
- Create a new site
- Five ways to create content
- Versioning a document
- Starting a workflow
- Updating your profile
- Exploring social features
- Configuring user and site dashboards
- Adding new features to your site
In the very near future I’d like to add some technical how-to’s for Community Edition, including LDAP configuration, CIFS/WebDAV/FTP/IMAP configuration, installing the SharePoint Protocol, installing the Google Docs Integration, configuring inbound and outbound SMTP, basic content model extensions, and basic dashlet development.
If you have ideas for Alfresco Community Edition videos you’d like to see that would help make your Alfresco Community Edition rollout more successful, let me know.