English

How To: View a map-enabled report with drill-up and drill-down capabilities in PDF format

Summary

To view a map-enabled report with drill-up and drill-down capabilities in PDF format, an administrative setting must first be enabled. By setting preserveDrillContextPDF to true, the drill action is preserved when viewing a map-enabled report in PDF.

Procedure

Before following the steps below, it is recommended that the Esri Maps for IBM Cognos administrator make a backup of the following file.

Windows:

<em4c_location>\webcontent\esrimap\configuration\settings.js

Unix:

<em4c_location>/webcontent/esrimap/configuration/settings.js

  1. On the EM4C Gateway(s), open the settings.js file in a text editor.
  2. Set preserveDrillContextPDF to true as follows:

     preserveDrillContextPDF: true 

    define({
    arcgisUrl : "http://myorganization.arcgis.com",
    arcgisAuthType : "user",
    arcgisAppUser : "",
    arcgisAppPassword : "",
    arcgisAppId : "myappid",
    arcgisSharing : true,
    corsEnabledServers : [],
    selectionColor : "#FF0000",
    infographicsEnabled : true,
    docRoot : "http://doc.arcgis.com/{LOCALE}/maps-for-cognos/", // or "installed"
    preserveDrillContextPDF : true
    });

  3. Save the changes to settings.js.
  4. Refresh the browser cache.