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.