COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: bdbits on 04 Apr 2011 10:09:52 AM

Title: Cognos reports in Safari, Chrome, et. al.
Post by: bdbits on 04 Apr 2011 10:09:52 AM
Is anybody trying to support users on browsers other than IE/FF? I have some sites exposed through the Cognos web parts to a mix of browsers. I would particularly like to get Safari working (which would address iPads as well), but even Chrome is gaining some significant share on browser stats for us. Most things work just fine. Sadly, drill-throughs do not as Cognos is not using real links, but capturing events on <span>s with custom attributes for the drill-through targets. View source in your browser sometime, it gets pretty hairy to follow what is going on under the covers. I would also be interested to know if v10 addresses any of this in terms of better browser compatability and rendering more standards-compliant code.

Yes, I know what is officially supported by IBM, I am just looking for some real-world experiences. Thanks for any info!
Title: Re: Cognos reports in Safari, Chrome, et. al.
Post by: melee on 04 Apr 2011 11:18:03 AM
I tried developing in Chrome (I'm a fan of their developer tools) but couldn't get anything to run properly. My guess is that Webkit-based browsers just absolutely do not play nice with COGNOS' JS library at this point in time :( Maybe 10 though?
Title: Re: Cognos reports in Safari, Chrome, et. al.
Post by: Steve on 04 Apr 2011 12:46:32 PM
10 is not compatible with IE 6. The drill thru links don't work properly. It works when you upgrade to IE 7
Title: Re: Cognos reports in Safari, Chrome, et. al.
Post by: melee on 04 Apr 2011 01:03:36 PM
Quote from: Steve on 04 Apr 2011 12:46:32 PM
10 is not compatible with IE 6. The drill thru links don't work properly. It works when you upgrade to IE 7

Any idea about Safari or Chrome?
Title: Re: Cognos reports in Safari, Chrome, et. al.
Post by: bdbits on 04 Apr 2011 01:13:04 PM
Webkit seems to be the recurring theme for stuff that does not work. At this point in time, IE6 is small enough in our web stats that it just doesn't really matter anymore. Even MS wants to get rid of it. http://ie6countdown.com/

I too would like to know how well v10 works with Safari/Chrome, especially drill-throughs.
Title: Re: Cognos reports in Safari, Chrome, et. al.
Post by: melee on 04 Apr 2011 01:17:27 PM
Quote from: bdbits on 04 Apr 2011 01:13:04 PM
Webkit seems to be the recurring theme for stuff that does not work. At this point in time, IE6 is small enough in our web stats that it just doesn't really matter anymore. Even MS wants to get rid of it. http://ie6countdown.com/

I too would like to know how well v10 works with Safari/Chrome, especially drill-throughs.

I have a theory to make drill throughs manually that would probably work through all four major browsers.. I haven't been able to test it yet, just components with the help of PaulM. Not sure if you're familiar, but turning drill throughs into AJAX requests could fix the issue - the concept is solid, but I've yet to really formulate a report with it.

Just getting AJAX into the report is a huge accomplishment. I've had a draft on my blog of my findings for a long time.
Title: Re: Cognos reports in Safari, Chrome, et. al.
Post by: Steve on 04 Apr 2011 06:35:17 PM
Quote from: melee on 04 Apr 2011 01:03:36 PM
Any idea about Safari or Chrome?

Just tried it with Chrome. The drill thrus didn't open the report, no response when clicked on the links. I also had a JS code to expand the width of a Select & Search prompt and it just ignored that. It works in IE 7.

By the way, the AJAX you tried will work for the drill thru from a Cube package or the normal
drill thru? I mean, the normal drill thru is when you left-click and pass the parameters from the report itself. The package based drill-thru is right-click and select 'Related Links'.