To use Cognos product documentation, you must enable JavaScript in your browser.

Managing Changes in the Package

If changes were made to the package used to create a report, the report must be updated. When you open a report, Report Studio automatically checks to see if the package has changed. If it has, a message appears indicating that the report will be updated to the latest version of the package. However, you may need to make additional changes to the report if

Update Name References

If the namespace name or query subject and data item names in the package have changed, you must update reports created with the package to reflect the change.

The names of data items in a report are a concatenation of the namespace name, query subject name, and the data item name. For example, if you add Order number from the GO Data Warehouse (query) sample package to a filter expression, you will see [Sales (query)].[Sales order].[Order number] in the expression. Similarly, package filter names are a concatenation of the namespace name and the filter name.

Steps
  1. To update a data item name reference:

  2. To update a package filter name reference:

Change the Package

If the name of the package used to create a report has changed, change the package connection to update the report.

At the same time, you can also change the authoring language for the report.

Steps
  1. From the File menu, click Report Package.

  2. Click the Another package radio button and choose the package that you want.

  3. To change the authoring language, click the ellipsis (...) button beside the Language box, choose a different report language, and click OK.

    You may need to update the report to reflect the change. For example, any filter expressions in the report must be modified to reflect the syntax rules of the new language.

  4. Click OK.

    The new package is loaded and the report is validated. If errors are found, the Validation Errors dialog box appears, showing what elements must be updated to reflect the package change.

  5. Click Close.

  6. Make any required changes in the report to support the new package.

    For example, you may need to link the data items in the report to the new package.

    Tip: You can use Query Explorer to make all the changes.