Posts

Showing posts from March, 2013

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