Author Topic: what is render variable in cognos?  (Read 103 times)

0 Members and 1 Guest are viewing this topic.

Offline h2obubbler

  • Full Member
  • *
  • Posts: 226
  • Karma: +0/-0
  • Life is like a box of chocolate.
    • View Profile
what is render variable in cognos?
« on: April 02, 2009, 07:00:40 AM »
what is render variable in cognos?

anyone?

Techronnati | where technology never sleeps

what is render variable in cognos?
« on: April 02, 2009, 07:00:40 AM »

Mountain View

Offline rpmolecule

  • Full Member
  • *
  • Posts: 224
  • Karma: +1/-0
  • Seize the Day!
    • View Profile
Re: what is render variable in cognos?
« Reply #1 on: April 02, 2009, 08:11:05 AM »
Render Variable: - Specify a variable based on which object
can be conditionally rendered.

Example for Render Variable

if the case is like you want to see the particular page in
HTML or PDF or CSV format then

1)Create 3 pages in your report
2)every page conatins some specific data
3)name these pages as HTML PDF CSV
4)create a String vaiable with 3 values as HTML PDF and CSV
5)now in string variable put expression as .....
case

when ReportOutput() \'HTML\' then \'HTML\'
when ReportOutput() \'PDF\' then \'PDF\'
when ReportOutput() \'CSV\' then \'CSV\'
end

6)now go the page named HTML and select page object
7)in properties pane click on Render Variable select that
string variable
8)check only HTML check box value for HTML page
9)repeat step No. 6 to step No.8 for remaining 2 pages.
now run the report :-)


hope it will answer your question .
regards

 

Related Topics

  Subject / Started by Replies Last post
1 Replies
167 Views
Last post September 17, 2008, 11:51:09 AM
by h2obubbler
1 Replies
80 Views
Last post April 03, 2010, 09:06:06 AM
by JusticeLeague
0 Replies
61 Views
Last post March 03, 2015, 06:55:50 AM
by JusticeLeague
0 Replies
478 Views
Last post November 27, 2015, 06:06:55 AM
by CyborgRepublic
0 Replies
100 Views
Last post September 09, 2016, 12:56:08 AM
by nomadic

Posting Disclaimer: Any individual may post a message in this forum and may do so anonymously. Therefore, the sole author is exclusively and entirely responsible for all opinions in that message. They do not represent the official opinions of Techronnati, its administrators or moderators or the Techronnati Management. Techronnati is merely acting as an impartial conduit for constitutionally protected free speech and is not responsible and will not be held liable for the content of such messages. All images and service logos are trademarks of their respective owners.