book
Article ID: KB0073045
calendar_today
Updated On:
Description
This article lists all the options you can specify while exporting/importing library content using a command-line interface.
Issue/Introduction
List of options to import/export library content using command line interface
Resolution
You can use the below options for item_type when exporting/importing a single item or entire folder using a command-line interface.
Valid values for folder content are: [data_files, analysis_files, all_items, data_access, datafunctions, colorschemes, automation_job, information_model, mod]
Valid values for a single item are: [mod, sbdf, connectiondatasource, query, asjob, column, procedure, analyticmodel, dxpscript, filter, bookmark, folder, datafunction, embeddedresource, datasource, analyticitem, colorscheme, dataconnection, join, dxp]
Syntax:
config export-library-content --tool-password=password --file-path=C:/YearEndAnalyses --user=jdoe --item-type=analysis_files --library-path=/Finals/Europe
config import-library-content --tool-password=password --file-path=/path/to/folder/content.part0.zip --conflict-resolutionmode=KEEP_BOTH --user=jdoe --library-path=/