ImportExport - exportObjectWithoutBlPackages

ImportExport - exportObjectWithoutBlPackages

Description :

This command exports an object into an XML file. It also exports any other additional files that the object requires. If the object refers to a BlPackage, the BlPackage is not exported, and requires mapping on the importing system.

You can use this command to export the following objects:

  • Component Templates
  • Batch Jobs
  • Deploy Jobs
  • Component Discovery Jobs

Return type : java.lang.Void

Command Input :

Variable Name

Variable Type

Description

objectType

Integer

Model type of the object to be exported.

objectDBKey

DBKey

Handle to the object to be exported.

outputPath

String

Name of the directory in which you want to put the exported object. If this directory exists and has files in it, this command overwrites the files. If this directory does not exist, this command creates it.

Example

The following example exports a component template without its BLPackages.

Script





TEMPLATE_KEY=`blcli Template getDBKeyByGroupAndName /group1 template1` 

blcli ImportExport exportObjectWithoutBlPackages 250 $TEMPLATE_KEY /c/tmp/export_files/templateWithoutPkgs 



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

Comments