on 04-08-2015 7:45 PM
Our reports are mostly gray and black affairs, but certain items are 'accented' in blue: Title and Group Headings, for example.
Our product manager would like to implement this user story:
"As a user running a report on our application, I want to be able to choose the accent color and see it applied to the generated report, thus allowing our many varied users to apply their main corporate color to their report."
How do I make color a variable for the Title text box and the Group Heading fields?
Thank you kindly.
Hi,
You'd need to write something like this:
If {?Color} = 'Blue' then
Color(0,0,255)
else if {?Color} = 'Red' then
Color(255,0,0)
-Abhilash
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you both, this is useful. Both would work but I think the second may be more useful, as we only have about six accent colors should could take the time to make a case declaration for each of those six.
Thank you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vancouver,
There is a way to implement this :
Create an optional parameter 'color', while running report the use can select the color which he would like to apply as back ground for a specific section.
Now go in section expert, select the section and click on Color tab from right hand side pane and select formula editor and give below formula :
If Hasvalue({?color}) then {?color} else true
I checked up this, the back ground color is accepting only number type parameter value, so you need to find the suitable number for your color coding.
Thanks,
Sastry
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.