Hosted SharePoint 2007 Import::ImportSharePointSiteCollections

This procedure imports an existing SharePoint site collection into the Microsoft Provisioning System (MPS). This includes ensuring that the Active Directory Service Pointers are in place for the specified site collection.

A site collection imported by this procedure should have the same state as a site collection created with the HostedSharePoint2007::CreateCustomerSite procedure.

Arguments

Input arguments Required Description

organization

Yes

The Lightweight Directory Access Protocol (LDAP) path of the organization.

preferredDomainController

Yes

The domain controller to use for Active Directory actions.

target

Yes

The URL of the Windows SharePoint Services administration site.

sites

Yes

A collection of site collection URLs.

sites/ site

Yes

A collection of properties of a site to be imported.

sites/ site/name

Yes

The name of the site to be imported.

sites/ site/URL

Yes

The absolute URL of the site to be imported.

Remarks

The organization specified in the <organization> must be a valid Hosted Messaging and Collaboration version 4.0 organization and must be subscribed to a Hosted SharePoint 2007 service plan.

Parameters format

<executeData>  
        <organization>1..1 </organization> 
        <preferredDomainController>1..1 </preferredDomainController> 
        <target>1..1 </target> 
        <sites>1..1  
                <site>1.. unbounded  
                        <name>1..1 </name> 
                        <URL>1..1 </URL> 
                </site> 
        </sites> 
</executeData> 

Returns Format

The return message contains no parameters.

<executeData>1..1 </executeData>

Sample Code

Example XML Request

<request>  
        <data>  
                <organization>LDAP://OU=AlpineSkiHouse,OU=ConsolidatedMessenger,OU=Hosting,DC=Fabrikam,DC=Com </organization> 
                <preferredDomainController>AD01.Fabrikam.Com </preferredDomainController> 
                <target>https://spserver:8181 </target> 
                <sites>  
                        <site>  
                        <name> AlpineSkiHouse </name> 
                                        <URL>https://team.alpineskihouse.com </URL> 
        </site> 
                </sites> 
        </data> 
        <procedure>  
                <execute namespace="Hosted SharePoint 2007 Import" procedure="ImportSharePointSiteCollections" impersonate="1" >  
                        <before source="data" destination="executeData" mode="merge" /> 
                        <after source="executeData" destination="data" mode="merge" /> 
                </execute> 
        </procedure> 
</request> 

Example XML Response

The response message contains no parameters.

<executeData>1..1 </executeData> 

Applies To

Hosted SharePoint 2007 Import Namespace for:

  • Hosted Messaging and Collaboration version 4.0 Migration Kit