Cognos 10.2: Customizing Report Studio Image Dialog Default Path

With every version of Cognos, the location of the Javascript file that configures default values for the "Insert Image" dialog has changed. I wasn't able to find this readily available, but after some digging have narrowed it down to the below location in v10.2.

<Cognos installation>\webcontent\pat\cchl\dialogs\_MR9_async.js

Be sure to create a back up copy, then replace all instances of "/samples/images/" with "../<name of new path>". Don't forget to add an authoring rule for the directory in WebDAV.

For reference, here are previous versions:

Cognos 8.2 and older: "<Cognos Installation>/webcontent/pat/rsapp.htm"
Cognos 8.3: "<Cognos installation>/webcontent/pat/dialogs/_I35_async.js"
Cognos 8.4: "<Cognos installation>/webcontent/pat/cchl/dialogs/_FO5_async.js"
Cognos 10.1.1: "Cognos installation>/webcontent/pat/cchl/dialogs/_J19_async.js

Comments

  1. Hello, Is it possible to change the default serveur URL too, not juste the image folder path?

    Fred Thank you

    ReplyDelete
  2. Could you be more specific? Do you mean the host name of the server? Default installation path?

    ReplyDelete
  3. This article is a copy of a Cognos technote which has been removed since version 10.x of Cognos. No known workaround.

    ReplyDelete

Post a Comment

Popular posts from this blog

Continuously Monitor Folder for New Files with PowerShell as a WindowsService

Unprotect All Excel Sheets for All Workbooks in a Directory

ChromeOS Flow by Hexxeh Install to HDD