Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is Render Variable? where u can use?

Answers were Sorted based on User's Feedback



What is Render Variable? where u can use?..

Answer / 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

What is Render Variable? where u can use?..

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

What is Render Variable? where u can use?..

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

Post New Answer

More Cognos Interview Questions

Cleared COG-112 with 100% score today. What next certification should i go for?

0 Answers   IBM,


what are versions of cognos from starting release to latest in the market?

7 Answers   DELL, IBM,


What is Report item

1 Answers   TCS,


Define datastores in cognos?

0 Answers  


what is mean by cognos powerhouse?

1 Answers   TCS,


what is dynamic sort?

1 Answers   Infosys,


What do you understand by user class in cognos?

0 Answers  


what is the difference between aggregation and roll up aggregation?

1 Answers  


what is session parameters? what is use?

1 Answers   HCL, Satyam,


15. If I select the current month and year how can we display previous 11 months data?

2 Answers   TCS,


what are the special features in cognos reportnet?

0 Answers   IBM,


how u will determine the performence tune will occur either in report or system

0 Answers   Ness Technologies,


Categories