Information

This site will undergo a brief period of maintenance on Thursday, 23 April at 2:30 AM Central/1:00 PM IST. During a 30 minute window, site availability may be intermittent.

Information
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.

ContentImportExport - exportTemplates


ContentImportExport - exportTemplates

Description :

This command exports specified component templates.

Options string legend:

  • 'g (-includeGrammars)' - include grammar payloads;
  • 'p (-excludePackages)' - do not include blpackage payloads;
  • 'c (-excludeCOs)' - do not include CO payloads;
  • 'x (-xml)' - XML content file, rather than ZIP;
  • 'd (-default)' - use default options;

Return type : String

Command Input :

Variable Name

Variable Type

Description

options

String

Options string: gpcxd

contentFilePath

String

Destination file path in local or NSH format.

templateNames

String

The component templates that you want to export. Specify these as a comma-separated list of component template names. Each specified component template must include its path of parent template groups.

Example

The following examples export templates using different options:

Script





ContentImportExport exportTemplates d /c/temp/content.zip "gr1/t1,gr2/t2"

ContentImportExport exportTemplates g /c/temp/content.zip "gr1/t1,gr2/t2"



 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC Server Automation Command Line Interface 8.3