If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

Weird URL Issue

Started by VizWiz, 18 Jan 2022 04:24:42 PM

Previous topic - Next topic

VizWiz

Hello,

Alright, so unfortunately our environment uses a portlet. To make it worse, this portlet is embedded in another application with an iframe. To accomplish this, a URL is generated with some parameters thrown in there to make things return correctly. Albeit a cringeworthy solution, it has mostly worked ok in the past.

Fast forward to today, we upgraded to 11.1 R7 in our test environment and lo and behold--the embedded portlet no longer works. I took the URL generated by the application and copy/pasted into my browser and I'm getting a 404 error.

So my question is: can anyone point me in the right direction to resolve this? To me, this makes me think something is incorrectly configured with our web server. I've confirmed that the portlet itself works. If I navigate to the portlet and run it, it works just fine. It is specifically LINKING to the portlet that seems to be broken. Maybe something with portlets was deprecated for this release? Any help is appreciated; I'm really at a loss where to go next, other than asking our admin to open a ticket with IBM.

Thanks!

VizWiz

Alright, so apparently the URL parameters changed with one of the releases between 11.1 R3 and 11.1 R7. I modified the URL parameters as follows:

Old URL structure:
[Server Name]/ibmcognos/bi/v1/disp?b_action=dashboard&pathinfo=/pagelet&path=[Path to Portlet]

New URL structure
[Server Name]/ibmcognos/bi/?pathRef=[Path to Portlet]&perspective=pagelet&shareMode=embedded&ui_appbar=false&ui_navbar=false

If you navigate to the portlet and click the ellipsis > Share, you can look at the share link for the correct set of parameters. I also noticed the symbols used in the portlet path changed; no idea what that is about. Take note that the /v1 portion was also removed in the new URL.

For most, you can probably directly use the share link, but our environment is more complicated since the URL is constructed by an external application programmatically and sent over to Cognos.

Cheers!