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 ? | 9 Yes | 0 No |
Post New Answer View All Answers
What is the use of powerhouse?
What is the difference between a cascading report and drill through report?
What are the types of hierarchies?
what are the errors faced while bursting the reports and how to solve those errors?
What is the difference between Standard and Metrics folder?
How to deploy from one server to another server?
What is Bitmap Index?
Please explain the different stages in creating a report in cognos report net?
9. What was the most complex type of report you dealt with?
How is possible this scenario using in type-in prompt.?
faq's on cognos
------------- How to identify the Revenue Column in Report?
How do we convert from Numeric to be Words?
What are all the different types of prompt in cognos?
Can you define cognos powerplay?