Enable document view event for RM audit

I was quite surprised when discovered that out-the-box alfresco RM doesn't audit document view action. After suffering for a while I've finally managed to turn it on!

Connect to alfresco database

For better understanding of Alfresco sometimes it's needed to see Alfresco tables. Here I'm showing how to connect to Alfresco Postgre database on a server and to h2 database during development.

Some useful regex tips

Recently I've started discovering some new features of regular expressions which I didn't know before. Here I want to share some of these discoveries. Also I would like to write some useful patterns which are needed sometimes, but to write them from scratch could take some time.

Custom facets in alfresco 5.0.a

Alfresco 5.0.a is the first version with faceted search support. By default it supports 7 facets. Here I'll show how to add custom facets on custom metadata.

Wipe alfresco database

Here I'm showing how to wipe alfresco database.

Set environment from command line

This post describes how to change Alfresco environment for DB connection using command line arguments.

Automatic site creation

During development I quite often purge Alfresco database and after each purge I need to manually recreate all the content that has been deleted such as sites, peoples, folders and so on. In this post I'd like to show how to create sites automatically with a simple webscript.

Custom document library site page

Here I'll show how to create a custom page for alfresco site which points to some folder inside document library.