BOB: Business Objects Board
Not endorsed by or affiliated with SAP

Register | Login 

Follow BOB on Twitter! 
Follow BOB on Twitter! (Opens a new window)  

General Notice: Upcoming Events: BOBJ conference in Paris: Mar 28, PGHBOUG: Apr 4.

how to make custom default color


 
Search this topic... | Search Web Intelligence... | Search Box
Register or Login to Post    Forum Index -> Building Reports -> Web Intelligence  Previous TopicPrint TopicNext Topic
Author Message
SH3230
Principal Member
Principal Member



Joined: 25 Oct 2010

Posts: 477



PostPosted: Wed Mar 13, 2019 12:15 pm 
Post subject: how to make custom default color

Hello All,

I have a requirement to make the custom default color in webi. When the user select the objects it should come with red back ground and white in text. Currently BO is showing Blue and White.

Want to change default colors for Webi Reports.

Thanks for your help.
SH
Back to top
buzz
Principal Member
Principal Member



Joined: 11 Aug 2005

Posts: 176
Location: Sydney


flag
PostPosted: Wed Mar 13, 2019 5:23 pm 
Post subject: Re: how to make custom default color

Here is a link to an older thread that will provide pointers to how to change the CSS file that determines WebI defaults

https://archive.sap.com/discussions/thread/2110301

You want to change the following part of the CSS file

Code:
TABLE > :zone(header) > CELL {      /*  Settings for header cells in a table  */
   font-weight-bold:yes;
   color:#FFFFFF;
   background-fill:bitmapAndColor;

/* remove header blue image, replace with red background color */

   background-color:#FF0000;  /* Color used also for DHTML as basis for selection feedback interpolation */

/*   comment out the blue image that is the default background-image: boimg://TopHeaderBlue.png; /* you can use a gradient (background-fill must be equal to bitmap or bitmapAndColor ). Here is a sample : -gradient(linear, top left,

bottom left, from(#fbb700), to(#f0ab00)); */


The following is what i added/changed:
/* remove header blue image, replace with red background color */

background-color:#FF0000; /* Color used also for DHTML as basis for selection feedback interpolation */

/* comment out the blue image that is the default
Back to top
SH3230
Principal Member
Principal Member



Joined: 25 Oct 2010

Posts: 477



PostPosted: Fri Mar 15, 2019 10:36 am 
Post subject: Re: how to make custom default color

Thanks for your reply.

Is there way each users can set their our own default color as needed?

Thanks
SH
Back to top
JohnBClark
Forum Enthusiast
Forum Enthusiast



Joined: 27 Mar 2007
ASUG Icon
Posts: 1009
Location: Appleton, WI USA


flag
PostPosted: Sun Mar 17, 2019 8:44 am 
Post subject: Re: how to make custom default color

SH3230 wrote:
Is there way each users can set their our own default color as needed?
No, the Cascading Style Sheet (CSS) is a system wide configuration. There are not individual preferences to color schemes.

They could create a template report and customize that report and then always start with that template report to accomplish the same thing.

_________________
BusinessObjects BI4.2sp4, SQL Server 2016 (CMS)
Clustered for fail over redundancy
Reporting Tools: Crystal Reports 2016sp4, Web Intelligence
Operating System: Windows 2016 running on VMWare
Reporting databases: SQL Server, Teradata, DB2, Oracle
Information Steward 4.2sp10
History: BO5, BO6, XIR2, XI3.1, BI4.1.x
Back to top
buzz
Principal Member
Principal Member



Joined: 11 Aug 2005

Posts: 176
Location: Sydney


flag
PostPosted: Sun Mar 17, 2019 5:28 pm 
Post subject: Re: how to make custom default color

Yes, an individual user can have a CSS file that they apply to a WebI document as required

I'll provide the steps for WebI 4.2 HTML editor
    On Properties tab click Document
    under Default Style click Change Default Style
    under Import Style... click Choose File
    navigate to the CSS file and click Open
    click Close on the Default Style window
    click OK on the Document Summary window

The style will be applied. Any object that has not been changed from default in the document will be updated with the new defaults in that CSS
Back to top
SH3230
Principal Member
Principal Member



Joined: 25 Oct 2010

Posts: 477



PostPosted: Wed Mar 20, 2019 12:03 pm 
Post subject: Re: how to make custom default color

Hello Buzz,

I want to modify attached CS file as below. Back ground color should be Red and Text should be Gold

Column--Red RGB-132,0,0

Text--Gold RGB 255 199 0

Thanks
SH
Back to top
Display posts from previous:   
Register or Login to Post    Forum Index -> Building Reports -> Web Intelligence  Previous TopicPrint TopicNext Topic
Page 1 of 1 All times are GMT - 5 Hours
 
Jump to:  

Index | About | FAQ | RAG | Privacy | Search |  Register |  Login 

Get community updates via Twitter:

Not endorsed by or affiliated with SAP
Powered by phpBB © phpBB Group
Generated in 0.0311 seconds using 17 queries. (SQL 0.0021 Parse 0.0009 Other 0.0281)
CCBot/2.0 (https://commoncrawl.org/faq/)
Hosted by ForumTopics.com | Terms of Service
phpBB Customizations by the phpBBDoctor.com
Shameless plug for MomentsOfLight.com Moments of Light Logo