Unsupported content

 

This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

BlPackage - importAndUpdateByName

BlPackage - importAndUpdateByName

Description :

This command imports a BLPackage, and uses that BLPackage to update the destination BLPackage. For information about the update process, see Import and export concepts.

At the conclusion of the operation, this command deletes the source BLPackage in the database. Note that this command does not delete the directory structure and XML files used for the import. If you want to delete the directory structure and XML files from your file system, you must do this manually.

This command creates a temporary group at the root of the depot workspace, and uses that group to store the imported BLPackage. The temporary group is deleted at the end of the update operation. By default, the name of this temporary group is /importAndUpdate. You can change the name of the temporary group to whatever path you want, using the blasadmin command:

set ConfigManagerUI DefaultImportAndUpdateFolder /path/to/some/folder

Return type : void

Command Input :

Variable Name

Variable Type

Description

srcObjectDirectory

String

Name of the directory where the object you want to import is located.

srcObjectMappingFile

String

Location of a mapping file used to resolve any conflicts that occur when importing.

srcBlPackageName

String

Name of the source BLPackage.

destBlPackageName

String

Name of the destination BLPackage.

destBlPackageGroupName

String

Name of the group that contains the destination BLPackage.

Example

The following example shows how to import a BLPackage, then use that package to update a destination BLPackage.

Script


blcli BlPackage importAndUpdateByName /c/tmp/export_files/newPkg /c/tmp/export_files/newPkg/mapping.xml newPkg oldPkg /group1 



Was this page helpful? Yes No Submitting... Thank you

Comments