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*