what is render variable

Answer Posted / vij

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
vij

Is This Answer Correct ?    22 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are the migration tools available in the market with respect to cognos such as impromptu reports are migrated to cognos reportnet?

577


Can you define materialized view?

623


Mention the difference between ‘macros’ and ‘prompt’?

607


What are the types of folder present in cognos?

640


Cognos Online Training will be provided. prior training with all real time aspects. Comprehensive training will be given in Datawarehousing concepts , cognos 8.4 and cognos 10 versions. Contact kris.cognos25@gmail.com

1627






What do you mean by query studio?

516


Explain the difference between native sql and cognos sql?

508


hi all i am searching for cognos jobs pls inform about the jobs to:santosh.koora@gmail.com

1976


What are the advantages of using cognos sql?

664


What is main advantage datawarehousing over oracle?

560


What is the difference between ‘macro’ and ‘prompt?

555


How to Reset Pagenumbers in one report.

2212


In my report i want display sales rep name, country ,city how to achieve this by using repeater table

1537


What is an olap designer?

532


how u burst the reports? if u r bursted reports is not reached to destination how u identify???

10751