Alfresco CMS claims to be “The Open Source Alternative for Enterprise Content Management”. It offers Enterprise Content Management (ECM) – Document Management, Collaboration, Records Management, Knowledge Management, Web Content Management and Imaging using technologies such as Spring, Hibernate, Lucene, standards such as JSR-168, JSR-170, Web Services and Java Server Faces.
In the book “Alfresco Enterprise Content Management Implementation” from Packt, author Munwar Shariff looks at “How to Install, use, and customize this powerful, free, Open Source Java-based Enterprise CMS”. Below is Chapter 5 from the book. Visit the Packt site to get more information on this book.
In the book “Alfresco Enterprise Content Management Implementation” from Packt, author Munwar Shariff looks at “How to Install, use, and customize this powerful, free, Open Source Java-based Enterprise CMS”. Below is Chapter 5 from the book.
Implementing Document Management
This chapter “Implementing Document Management” introduces you to the basic features of creating and managing content in Alfresco. Using Alfresco, you can manage any type of documents such as HTML, text, XML, Microsoft Office documents, Adobe PDF, Flash, scanned images, media, and video files. You will also learn about the concepts of creating and using categories and smart spaces. This chapter also focuses on the most important aspect of adopting a new enterprise content management system, which is migrating the existing data and using it effectively.
By the end of this chapter you will have learned how to:
A space in Alfresco is nothing but a folder, which contains content as well as
sub-spaces. Space users are the users invited to a space to perform specific actions such as editing content, adding content, discussing a particular document, etc. You need to have the administrator, contributor, collaborator, or coordinator role, on a space to create sub-spaces. Similarly you need to have the administrator, editor, collaborator, coordinator role, to edit space properties. For more information about user roles on a space, refer to Chapter 4.
Space is a Smart Folder
Space is a folder with additional features such as security, business rules, workflow, notifications, local search, and special views. These additional features that make a space a smart folder are explained below:
PAGE 1 OF 12
Why Space Hierarchy is Important
Like regular folders, a space can have spaces (called sub-spaces) and sub-spaces can further have sub-spaces of their own. There is no limitation on the number of hierarchical levels. However, the space hierarchy is very important for all the reasons specified above in the previous section. Any business rule and security defined at a space is applicable to all the content and sub-spaces underlying that space.
In the previous chapter, you created system users, groups, and spaces for various departments as per the example. Your space hierarchy should look like the one
Space hierarchy enables you to define various business rules, dashboard views, properties, workflow, and security for the content belonging to each department. You can decentralize the content management by giving access to departments at individual space levels.
The Intranet space in our example should contain sub-spaces as shown in the screenshot on the next page. If you have not already created spaces as per the example given in the previous chapter, you must do it now by logging in as the administrator. The examples used in the remaining chapters of this book refer to these spaces. Also,
it is very important to set security (by inviting groups of users to these spaces) as explained in the previous chapter.
Using the web client, you can edit the spaces you have added previously. Note that
you need to have edit permissions on the spaces to edit them as explained in the previous chapter.
Edit Space Properties
Every space listed will have clickable actions as shown in the following screenshot:
These clickable actions will be dynamically generated for each space based on the current user’s permissions on that space. If you have copy permission on a space
you will notice the copy icon as a clickable action for that space. On clicking the View Details action icon the detailed view of a space will be displayed as shown in the next screenshot:
The detailed view page of a space allows you to select a dashboard view, to view and edit existing space properties, to categorize the space, to set business rules, and to run various actions as shown in the above screenshot.
To edit space properties, click on the edit properties icon shown in the above screenshot. You can change the name of the space and other properties as needed.
PAGE 2 OF 12
Delete a Space and Its Contents
From the list of space actions, you can click on the Delete action to delete the
space. You need to be very careful while deleting a space as all the business rules, sub-spaces, and the entire content within the space will also be deleted.
Move or Copy a Space Using the Clipboard
From the list of space actions, you can click on the Cut action to move a space to the clipboard. Now you can navigate to any space hierarchy, given that you have the permission, and paste this particular space as required.
Similarly, you can use the Copy action to copy the space to some other space hierarchy. This is useful if you have an existing space structure (such as a marketing project or engineering project) and you would like to replicate it along with the data.
The copied or moved space will be identical in all aspects to the original (source) space. When you copy a space its properties, categorization, business rules, space users, entire content within the space, and all sub-spaces along with their content will also be copied.
Create a Shortcut to a Space for Quick Access
If you need to frequently access a space, you can create a shortcut (similar to a browser favorite) to that space to reach the space in one click. From the list of space actions, you can click on the Create Shortcut action to create a shortcut to the existing space. Shortcuts are listed in the left-hand side shelf.
Choose a Default View for Your Space
Out of the box, four different views (as shown in the screenshot on the next page) are supported to display the space information.
Details View provides listings of sub-spaces and content in horizontal rows.
Icon View provides title, description, timestamp, and action menus for each
sub-space and content item present in the current space.
Similarly, Browse View provides title, description, and a list of sub-spaces for
The Custom View is disabled and appears in grey. This is because you have
not enabled a dashboard view for this space. In order to enable a dashboard
view for a space, you need to select a dashboard view (refer to the icon in the
Sample Marketing-Project Space Structure
Let us say you are launching a new marketing project called ‘Switch to open source ECM’. You can create your own space structure within the marketing project space to manage content. For example, you can have a space called Drafts to keep all the draft marketing documents and so on. Go to the Company Home | Intranet | Marketing Communications space and create a new space called Switch to open source ECM and create various sub-spaces under that as shown in the screenshot below.
The new marketing project space and the sub-spaces created are used in the remaining examples listed in this chapter to manage content.
Content could be of any type as mentioned at the start of this chapter. Using the Alfresco web client application, you can add and modify content and its properties. You can categorize content, lock content for safe editing, and you can maintain several versions of the content. You can delete content and you can recover the deleted content as well.
This section uses the space you have already created as a part of your Intranet sample application. As a part of sample application, you will manage content in the Intranet | Marketing Communications space. As you have secured this space earlier, only the administrator (admin) and users belonging to the Marketing group (Peter Marketing and Harish Marketing) can add content in this space. You can log in as Peter Marketing to manage content in this space.
The web client provides two different interfaces for adding content: one to create inline editable content such as HTML, Text, and XML and the other to add binary content such Microsoft office files and scanned images.
You need to have the Administrator, Contributor, Collaborator, Coordinator role on a space to create content within that space. For more information about user roles on a space, refer to Chapter 4.
PAGE 3 OF 12
Creating Text Documents
Latest posts by Content Team (see all)
- IndicThreads Pune 2016 To Equip Developers For A New Age Of Software Development - May 27, 2016
- Java Garbage Collectors – Moving to Garbage First (G1) Collector - May 25, 2016
- Using Lambdas and Streams in Java 8 - May 18, 2016