COGNOiSe.com - The IBM Cognos Community

IBM Cognos Analytics Platform => Cognos Analytics => Reporting => Topic started by: rockytopmark on 16 Aug 2019 09:29:56 AM

Title: Hide the .clsPinnedOnDemandToolbar regardless of user's cookie setting
Post by: rockytopmark on 16 Aug 2019 09:29:56 AM
All -

We are running Cognos 11.1.1 reporting reports within an iframe, and would like to prevent the Pinned On-Demand Toolbar from showing in the iframe, regardless of the user's cookie setting for the pinning the Toolbar or not. (see pic attached)

My limited knowledge of styling has proven to be no match for this, as the cookie always wins.

This doesn't work (HTML Item at top of report page):

<style>
.clsPinnedOnDemandToolbar {
display:none  !important
}
</style>


Anyone have a way to override the cookie, when calling the report via URL within an iframe, or styling I can put in the report that will override the cookie?

Thanks in advance... Mark