What is RenderVariable?
Answers were Sorted based on User's Feedback
Answer / cognosvij
Specify a variable based on which object can be
conditionally rendered.
e.g.
In my sample report .....
I have a Prompt page and it contains a value prompt for
revenue type i.e.X revenue and Y revenue
I have put static choices in that value prompt as X and Y .
now on report page there ,
I have a list contains ....
Client Id
X revenue
Y revenue
as a user run the report ,
if he selects X the list should displays
Client ID
X revenue
and
if user selects Y list should dispalys
Client ID
Y Revenue
for this i have created a string varibale with the values X
and Y and put the condition as....
if (ParamDisplayValue('Parameter1')='X')
then
('X')
else
('Y')
and then go to the report page select the X revenue column
and click render variable property from property sheet and
uncheck the check box for Y
and again
go to the report page select the Y revenue column and
click render variable property from property sheet and
uncheck the check box for X
and now run the report and see how Render variable is
working .....
Hope it will help u
thnx,
vij
:-)
Is This Answer Correct ? | 6 Yes | 1 No |
Answer / satya
when u want to hide the column based on some condition then
we will go to the render variable option.
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / ram
Render Variable is used to hide and display the objects
based on the conditions,
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / shashi
specifying a variable based on which object can be conditionally rendered
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / sathish
very nice answer vij,
is there any nice cognos forum, which is more interactivity
and more nicer than this one,...
by the by what is the your mail id vij
Is This Answer Correct ? | 0 Yes | 1 No |
hi my name is siraj i want to know cognos queriy language
What is Portal Tab?
How to join multiple db in catalog?
how to hide a particular pages at time if you get blank pages
what happens when date function has taken as attribute
What is RenderVariable?
What is the model filter?
what is the difference between java script and html in cognos?
I want to display popup menu or alter message in my report? How to you solve this problem? Give me the answer with example?
Diff b/w surrogate Key and Primary Key?
suppose a value prompt contains 100 values and i want to select all values in that prompt....i want ALL option in the value prompt? how can u keep this option in value prompt?
How to perform single signon in Cognos by using URL?