Introduction
======================
Content deployment and migration APIs are applied in the following aspects of wss3.0 and Moss:
- Content deployment
- Stsadm-O Export and Import
- Copy/Move operations in Site Manager
- Variations
- Mcms 2002 database migration to Moss 2007
In fact, any time you need to copy the content to another place or site on the same site, they will be used.
The content deployment and migration API provides the following features:
- Export 1 whole site collection
A separate site in the export site collection, which may or may not include the content of its subsite.
Export a list, document library, or even a folder in the Document Library
Export a list item of a separate library, or a separate document in the document library.
Export depends on the linked object (for example, the image referenced by the page)
Generate a compressed export file or use an uncompressed format.
Allow export to be a compressed file with limited file size defined (that is, multiple export compression files may be generated .)
Allow gradually increasing export based on the given change token. This will execute all created, modified, or deleted items based on the timestamp in the change token.
Import the content that has been exported, either or without identiy perservation (this means that items need to maintain their guid)
Import the content that has been exported. In the target database, it can be in the same parent or different parent.
Link fixup)
Programming reference
====================
Assembly-assembly: Microsoft. Sharepoint. dll
Namespace: Microsoft. Sharepoint. Deployment
Important objects:
Spexport-controls the export process.
Spexportsettings-used to configure the export.
Spexportobject-defines the objects to be export.
Spimport-controls the import process.
Spimportsettings-used to configure the import process.
For more details about these objects, you can find them in msdn:
Http://msdn2.microsoft.com/en-us/library/microsoft.sharepoint.deployment.aspx
This series also includes the following:
Part 2-some real examples of Export
Part 3-provide some real examples of Import
Part 4-scenario of Advanced content deployment
Part 5-avoid some common problems.
Part 6-requirements for successful content deployment.
From:
Deep Dive into the SharePoint content deployment and migration API-Part 1
Http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-1.aspx
Author:
Stefan go supervisor ner