Importing or exporting charts and chart customizations

You can import or export charts and chart customizations at the command line.

About this task

To import or export a chart, or a chart customization:

Procedure

  1. On the command-line interface, change to the tip_home_dir/profiles/TIPProfile/bin/ directory.
  2. Run the following command to export chart data:
    tipcli.bat|.sh ChartExport --dir output_directory --type all|customcharts|page [--pageID page_ID | --pageName page_name] --username tip_username --password tip_user_password
    Export command options
    Use the Export command to create the specified directory (dir) and export the chart data to that directory.
    Table 1. ChartExport command arguments
    Parameter and arguments Description
    --dir output_directory Mandatory parameter. The directory where the exported data is saved. If the directory does not exist, it is created.
    --type all|customcharts|page Mandatory parameter. If you set the --type to all, then all charts are exported. If you set it to customcharts, then only customized charts are exported. If you set it to page, then you can use either the --pageID or the --pageName parameter to specify the page for which you want to export chart data.
    [--pageID page_ID | --pageName page_name] Optional parameter. If you set the --type parameter to page, then you can use either the --pageID or the --pageName parameter to specify the page for which you want to export chart data.
    --username tip_username Mandatory parameter. The user name for a user with either the chartAdministrator or chartCreator role.
    --password tip_user_password Mandatory parameter. The password for the specified user name.
  3. Run the following command to import chart data:
    tipcli.bat|.sh ChartImport --dir source_directory --username tip_username --password tip_user_password
    Import command options
    ChartImport is used to import chart data from a specified directory.
    Table 2. ChartImport command arguments
    Parameter and arguments Description
    --dir source_directory Mandatory parameter. The directory where the data to imported is located. BIRT Designer file format is .rptdesign.
    --username tip_username Mandatory parameter. The user name for a user with either the chartAdministrator or chartCreator role.
    --password tip_user_password Mandatory parameter. The password for the specified user name.

IBM Tivoli Integrated Portal, Version 2.2
Copyright IBM Corporation 2008, 2009, 2010, 2011. All Rights Reserved.
This information center is powered by Eclipse technology. (http://www.eclipse.org)