Thursday, 25 April 2013

Hide List or Crosstab using Jquery

Hi Guys ,

Below is the sample script to use .For more details on using jquery with Cognos please go through my other post which gives you the basics

My best explaination on jquery below link

Cognossimplified Jquery

Basic steps 

1) create a list 
2) Take 2 html items one at starting of list and one at ending of list 

You can refer to IBM site 

http://www.ibm.com/developerworks/library/ba-pp-reporting-advanced-report-design-page647/



<form>
<input type="radio" id ="list" name="sex" value="male">List
<input type="radio" id ="Crosstab" name="sex" value="female">Crosstab
</form>

<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js">
</script>
<script>

var bb = jQuery.noConflict();

bb(document).ready(function(){
      bb("#list").click(function(){
      alert();

bb("#abc").toggle();


  });
});
</script>








Saturday, 6 April 2013

How to burst report to directories in cognos

Hi Guys,

I have done a lot of report bursting using diff techniques but never tried this.

This document describes how to burst a report to directory entries (like Roles, Groups, Contacts or Distribution lists).

Below are the steps i got from IBM site


  1. Create a distribution list in Cognos Connection and add recipients.
  2. Get the CAMID from the search path of the distribution list.
Instead of createing a distribution list if you already have a group or role just take that get its CAMID and put in data item.The report will burst for all users in that grop.
  1. In the report's query add a data item with the CAMID in single quotes in it.
  2. Group the column that will be used as a burst group in the burst option for the report.
  3. Setup the burst option and make sure the burst recipient type is set to directory entries.