Page tree
Skip to end of metadata
Go to start of metadata


Imports a package to CMS.


ImportPackage(Byval FilePath as String, Byval OverrideCIPCdata as Boolean, Byval ImportFolderStructure as Boolean, Byval ImportSchedule as Boolean, Byval ChangelogComment as String) as Boolean


FilePath (String)

Specifies a path to the zip file containing the package.

OverrideCIPCdata  (Boolean)

If the zip file contains metadata used by the Package Creator, setting this to true will override these metadata if any already exists in the CMS database.

ImportFolderStructure (Boolean)

Determines wether or not the folder structure will be imported from the exported package.
If this is true, the package will be placed in the folder it was located in, when it was exported. Any folders in that structure that doesn't already exist, will be created in CMS.

ImportSchedule (Boolean)

Determines wether or not the schedule will be imported from the package.

ChangelogComment (String)

A comment that will be added to the changelog for the package.

Return Value

Boolean. The function returns true if the import succeeds, otherwise false.


Set oCMS = CreateObject("CapaInstaller.SDK") 
wscript.echo oCMS.SetDefaultManagementPoint("1") 
wscript.echo oCMS.ImportPackage("C:\Packages\", True, True, True, "Imported with the SDK") 
  • No labels