List of options to import/export library content using command line

List of options to import/export library content using command line

book

Article ID: KB0073045

calendar_today

Updated On:

Products Versions
Spotfire Server 10.10 and later

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

Environment

All Supported OS

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=/

Additional Information

https://docs.tibco.com/pub/spotfire_server/latest/doc/html/TIB_sfire_server_tsas_admin_help/server/topics/exporting_library_content_by_using_the_command_line.html

https://docs.tibco.com/pub/spotfire_server/latest/doc/html/TIB_sfire_server_tsas_admin_help/server/topics/importing_library_content_by_using_the_command_line.html