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

Javascript problem

Started by gcekol, 09 Jun 2015 02:15:35 AM

Previous topic - Next topic

gcekol

IBM Cognos 10.1.1

I have implemented following code in one of the reports in Report Studio.

<script type="text/javascript"
src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript">
jQuery.noConflict();
jQuery(document).ready(function() {
jQuery('img[title="Run"]').hide();
}); // End Ready
</script>


Basically I want to hide Run option on certain reports. With this code everything works fine when I run report interactively.

Based on that report I have several report views. When I open report view, Run icon is not hiden. Is there a way to hide it even on report view?

Thank you in advance!

Goran

gcekol

I can achieve the same functionality with code deom this page.

http://www.cognosonsteroids.com/2012/01/hide-toolbar-buttons-in-cognos-viewer.html

I just want to know is it possible that report view accepts this changes too.

Thx