ContentImportExport - exportTemplateGroup


ContentImportExport - exportTemplateGroup

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.

templateGroupPath

String

Component template group name, including its path of parent groups (if relevant).

Example

The following examples export template groups using different options:

Script





ContentImportExport exportTemplateGroup d /c/temp/content.zip gr1

ContentImportExport exportTemplateGroup x /c/temp/content.xml gr1/gr2



 

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

BMC Server Automation Command Line Interface 8.7