HOW TO

Create a report based on an imported XML file in IBM Cognos

Last Published: April 25, 2020

Summary

When using Esri Maps for IBM Cognos, often times users export their report to an XML document. This is useful because it allows others to generate the same report with little effort. A report XML file can be easily sent and imported into IBM Cognos Report Designer.

Procedure

The following procedure describes the steps for exporting a Cognos report XML file and importing it into a new report.

  1. To get the XML file for a given report, open the report in question via Report Studio.

    Launch report that is to be exported to XML using IBM Cognos Report Studio.
    [O-Image] Open Report Designer
  2. In Report Studio, click the Tools menu and select 'Show Specification'.
    [O-Image] Show Specification
  3. With the report specification XML window open, click the Copy button on the bottom left of the window. The copied XML file can then be pasted into any text editor such as Word, Notepad, or Notepad++.
    [O-Image] CopyXML

  4. Open the copied XML file and select all. Copy the selected XML to the clipboard. In the IBM Cognos Connection window, click the Launch drop-down and select Report Studio to open a new report.
    [O-Image] Report Studio

  5. There is a prompt to select a 'Recently Used Package'. Pick any package, as it does not matter since the package is to be defined by the imported XML file.
  6. On the following dialog box, choose Close when prompted to open an existing report or create a new one.
  7. Navigate to the Tools menu and from the drop-down select Open Report from Clipboard. This imports the XML file that was copied in step 4. The report can then be created based on the XML specifications.
    [O-Image] Open XML in Report

Article ID:000011789

Software:
  • ArcGIS Maps for IBM Cognos 4 0

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Related Information

Discover more on this topic