cancel
Showing results for 
Search instead for 
Did you mean: 

Webi Template objects BI4.1 SP2 Patch 3

Former Member
0 Kudos

Hi,


I understand exporting CSS file from Webi Rich Client and adapting it will change the default layout of Webi reports.

Question:

  1. Is it possible to add some default cells in header, footer, body etc,. so that every time i create new report all the default cells.
    What i would like to put in cell is author of the report, Report title, page numbers etc,.
  2. Is it possible to have multiple CSS in same machine (one for portrait and one for landscape).

We are currently using BI4.1 SP2 Patch 3.

Thanks,

Suresh.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Suresh,

yes you can do that.

Using a CSS allows you to:

• Define a company-wide style sheet in order to define standard settings (such as a company logo).

• Define different styles to present a specific type of information. For example, you can use one color

   for products sold, another color for expenses and another color for revenues.

• Create a style sheet in order to encode personal preferences.

• Personalize the presentation of the documents you create.

Note:

The Cascading Style Sheest are derived from the W3C CSS.

In order to modify the CSS of your documents, you must be familiar with the CSS core syntax of the

W3C.

Modifying the document default style

• The document default style is stored in a Cascading Style Sheet (CSS) file that is embedded into

the document itself.

• You can modify the default style by exporting the CSS file.

To export a CSS file go toProperties > Document > Change Default Style > Export Style.

• You can use any text editor to edit the CSS file. Once you have edited the CSS, save the file and

import it to apply the changes.

Note:

You have to import the CSS file every time you edit it.

• To import a CSS file go toProperties > Document > Change Default Style > Import Style. The

CSS file you import is applied to the report.

Note:

If the properties of an element have been set through the user interface (toolbox, context menu,

dialog box), these properties are not affected by the CSS you import.

• To apply a CSS to an element that has already been formatted through the user interface, you have

to clear its format. To clear the format of an element, select the element and go to Format > Clear

Format.

• To clear the format of all the elements in a page, select the BODY and go to Format > Clear Format.

Note:

You have to clear the format of the HEADER and the FOOTER manually as they are not contained in

the BODY.

• You can undo changes at any time by using the UNDO option.

• You can restore the default CSS at any time by going toProperties > Document > Reset standard

Default Style.

Modifying and using the standard default style

Formatting your reports using Cascading Style SheetsThe standard CSS file is named WebIDefaultStyleSheet.css and it is located in c:\Program

Files(x86)\SAP BusinessObjects Entreprise XI\images\WebIDefaultStyleSheet.css.

When you create a new document or when you edit a Web Intelligence 3.X document for the first time,

the standard CSS is taken and embedded into the Web Intelligence document to become the document

style.

This default style document diverges from the standard and can be locally modified.

If you want to reset the document default style to the standard style, go to Properties > Document >

Reset standard Default Style. The standard CSS will replace the previous CSS in the document.

To publish a standard default file, you must have access to the ../images/ folder of your servers and

Web Intelligence Rich Client installations to put a new version of WebiDefaultStyleSheet.css.

for more info to customize ur CSS check this.

http://help.sap.com/businessobject/product_guides/boexir4/en/xi4_ia_en.pdf

Former Member
0 Kudos

Also you can create you OWN wid.template with your Headers,footers and logos save it in SAP BO Docs

Open other report to which you want to apply the template.

Change default style

Import style

select from SAP BO Docs.

Former Member
0 Kudos

Hi Farzana,

Thanks a lot for your explanation on this.

What is still not clear for me is this is it possible to add cells in Header or footer or body, where in I would lke to put report formulas in those cells.

Thanks in advance,
Suresh.

Former Member
0 Kudos

Plesae look at following question extracted from ideaplace.

https://ideas.sap.com/ct/ct_a_view_idea.bix?c=1DA84A30-1E5A-43FA-95C5-857A8B99D197&idea_id=F91B332E-...

 

This request contains the customization of the webidefaultstylesheet.css for Web Intelligence BI 4.

Currently it is only possible to customize the webidefaultstylesheet.css for several layout contents.

Unfortunately it's not possible to use the default WebI cell functions in e.g."ReportName", "LastExecutionDate" "CurrentUser" in the header/footer section. It's nice to place the companies logo in the header/footer, but not having the e.g. report name by default in this speciffic area makes no sense for standard reporting.

Former Member
0 Kudos

Hi Suresh,

Please see the following.

We can edit the CSS file parameters and we can use i think.

Also please check the below thread and go to 32 of the following link and check CSS details.

Ability to create templates in Web Intelligence : View Idea

http://help.sap.com/businessobject/product_guides/boexir4/en/xi4_whats_new_en.pdf