Customize alfresco footer (Aikau)

Here I'm showing how to change footer for pages created with Aikau framework, like Search result page.

Customize alfresco footer (Surf)

Alfresco footer appears on every page of application and actually there is not much interesting there - logo, copyright and some links. Let's replace it with your application specific footer!

Merge folders in Alfresco

Recently I needed to merge two folders in Alfresco, I didn't find any relevant method so I come up with following utility method to merge folders.

CMIS path query

Query for path in CMIS is quite powerful tool to get folders/documents from repository. Here is some useful examples/tricks.

Get list of currently logged users

For monitoring of Alfresco we needed to somehow get a number of users currently logged in Alfresco. Here I'm showing how to easily get number of such users as well as list of usernames using simple webscript.

Some useful Alfresco queries

I would like to share some of SQL queries for Alfresco database which could be useful.

Customize drag-and-drop component

Probably you even didn't have enough time to have a look on pop-up window because in case of successful upload it immediately hides. Which is quite sad because it could show a bit more to the user than just a status of upload. I will show how to improve this component and get a bit more from it. This article is split in two parts. This one covers the UI changes. The second one will show how to extend functionality of upload webscript. I'll post a link to it here when it would be written.

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.

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.