In-depth analysis of SharePoint content deployment and migration APIs

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.