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

difference between impromptu and cognos8

1963


What is the importance of having monitor service in cognos?

578


Hi.. friends, dis Bhaskar p.if any of u having realtime scenerios.. plz send to me.. my mailid s bhaskarparitala.rao@gmail.com send ASAP.. waiting for reply..

1746


What is the difference between the standard and metrics folder?

501


what are the limitations of cognos reportnet? What are the enhancements in reportnet ?

614






After applying date prompt and when we run the report we fet from date and todate prompts..so when we enter todate

1596


---------------Tell me about DWH Concepts?

1603


2. We have asked to create a repots showing sales by region in order to determine which regions are generating the most revenue and highest sales volume. The report needs to include the revenue and quantitiy sold of each subcategory with in category.

1720


write a query to display the departments with no employee?

1545


What are the two types of framework manager?

679


Explain is there any comparison available for cognos reportnet vs crystal reports?

540


--------------Diff b/w ODS and OLAP?

2752


Can you define a datastore in cognos?

603


Can you define pivot?

541


What is Additive function?

1552