What is Render Variable? where u can use?
Answers were Sorted based on User's Feedback
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 |
Answer / vsandhyana
hi Vij,
in your answer everything is fine but it need little bit
modification in variable expression.
it should be like as
case
when ReportOutput()= 'HTML' then 'HTML'
when ReportOutput()= 'PDF' then 'PDF'
when ReportOutput()= 'CSV' then 'CSV'
end
when we run the report and set the reportoutput as PDF,HTML
or CSV the specified page will come accordingly.
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / m m naidu
Specifies a variable based on which the object can be
conditionally rendered.
Applies to
3-D Combination Chart, 3-D Scatter Chart, Block, Bubble
Chart, Combination Chart, Crosstab,
Date & Time Prompt, Date Prompt, Field Set, Gauge Chart,
Generated Prompt, HTML Item,
Hyperlink, Hyperlink Button, Image, Interval Prompt, List,
List Column, Map, Metrics Range
Chart, Page, Pareto Chart, Pie Chart, Polar Chart,
Progressive Chart, Radar Chart, Repeater
Table, Repeater Table Cell, Rich Text Item, Scatter Chart,
Select & Search Prompt, Table, Text
Box Prompt, Text Item, Time Prompt, Tree Prompt, Value
Prompt
| Is This Answer Correct ? | 3 Yes | 2 No |
Hi Friends, Just want to know, day to day is increasing or decreasing Cognos Usage in the Market? New Reporting tools to driving Reporting Market Spotfire, Tableau,Qlick View, some other New Tools. Which Reporting tool can generate Lot of Opportinities in the Market? Please Reply to this, My Advanced Thank to you. Thank You Kumar
can you tell me what are the dimension tables are used in project
what is degenerate key in oracle ?whare do we use it?
How do I remove the hyperlink from the drill through report?
Hi All, When user run the cognos report, that report output data must be download/available in EXCEL / CSV file.? (like... list report contain PL,PT,PN,RVEN, that excel/csv default download must be list columns PL,PT,PN,REVN) Thanks in Advance, LN.
1.tyes of security in cognos?.how to use rank function? 2.what is content store? 3.what is content manager? 4.how 2 use rank function?
If we are migrating lower version of Cognos reports (e.g. from Ver 7.0 to Cognos 8) then how we migrate Impromptu Catalog (ver 7.0) in Cognos 8? Do we create FM model for that? Please explain.
Can anyone tell me which automation tool is used in cognos,is it a testing tool or performance enhancing tool Thanks in advance
what is the difference b/w mdx and sql?
Name the types of gateway?
difference between imprompt and reportnwt1.1
What is defined as Query studio?