Import Site

This Automation Manager object imports a web, list, or library.

Input Parameters

Name Type Required Description

Site URL

String

Yes

The address of the SharePoint site to which files will be imported.

Import File Path

String

Yes

The full network path to where the files that will be imported are currently stored.

Update Versions

Boolean

Yes

Indicates how to resolve situations where a file to be imported to a site already exists in that site from one of the following options:

  • Add new versions to the current file.
  • Overwrite the file and all of its versions (delete then insert).
  • Ignore the file if it exists on the destination

Name

String

Yes

The name of the SharePoint Administrator account to be used to import the site.

Password

String

Yes

The security password of the SharePoint Administrator account to be used to import the site.

Output Parameters

Name Type Description
Result Number Returns a success value of zero or any value other than zero to indicate failure.

Example Input Parameters

Name Type Required Example
Site URL String Yes http://site
Import File Path String Yes C:\Exports\export.cmp
Update Versions Boolean Yes Overwrite
Name String Yes WIN-2008R2x64\administrator
Password String Yes <link to start parameter>