Migrating existing content into Alfresco

If you want your Enterprise Content Management initiative to be successful, then you need to make sure that you can move your existing content into the new system. Most enterprises will have content in the form of files (on local or shared hard disks), email attachments, faxes (for example, invoices), and scanned images. It is very important to move the content to a centralized and highly scalable content repository such as Alfresco.

Alfresco is a powerful Content Management System for the enterprise, and supports various ways of migrating existing content in the enterprise.

Drag-and-drop content to the network drive

You can drag-and-drop (bulk upload) content from your local hard disks to the Alfresco server by using options such as CIFS, FTP, or WebDAV. Refer to the Use network drives to manage content section in this chapter, for details of how to move content from your hard disk to the Alfresco server.

The problem with this approach is that you will have to manually update the metadata (properties) of the content.

Using web services to migrate content

Alfresco provides a very rich web services API. By using this, you can transfer your files, as well as their metadata, to the Alfresco server.

Alfresco also provides RESTful Web Services (known as Web Scripts). By using these, you can easily migrate content to the Alfresco server. RESTful Web Script is a very suitable and flexible solution for integrating Alfresco with any other application, and will most likely be the best solution among all of the available options. More information about Web Scripts is provided in Chapter 9.

With the web services approach, the content, along with the properties, associations, and security settings, can be migrated efficiently.

The ACP Generator's bulk upload utility

The ACP Generator project provides a tool for bulk uploading content into any Alfresco repository. It reads custom content models, as well as a comma-separated values (CSV) list of required property and category values for each content item, and then creates an ACP file.

The syntax is as follows:

acpGeneratr arg1 arg2 arg3 arg4 arg5
Where:
Arg1: The path and filename of the custom model to be used. 
Arg2: The path to the directory where the content to be imported is
      located
Arg3: The destination path
Arg4: The content type we're dealing with
Arg5: The csv file of property values

Example:

acpGeneratr "D:PIERACPGeneratrsampleModel.xml"
              ACPGeneratrcontent  ..ACPGeneratr	estDestDir dm:gqa
                                    "D:PIERACPGeneratrfaqlist.csv"

This will create the defined destination folder, and within it, a folder with all of the content and the required xml file. All you need to do is zip it into an ACP file, and import it to Alfresco. More details about this tool are provided on the Alfresco Forge site, at http://forge.alfresco.com/projects/acpgeneratr/.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset