Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
cancel
Showing results for 
Search instead for 
Did you mean: 
0 Kudos


I'm Romaric and this is my first blog entry....ever :smile:

I've been working for Business Objects for quite a while now. I remember having worked on version 5.1 / 6.x. As a support engineer, it was common for me to receive customer's request in my backlog related to the customization of the Infoview/WebIntelligence interface. Requests like adding customer's logo as a splash screen when lauching Webi, or hiding some buttons unneeded by end-users were common.

Unfortunately, it was difficult to fulfil those kind of requests and however sometimes i could see some customers workaround some interface issues by hacking into our code.

This kind of operation can actually suit many customers but some problems can occur regarding the maintenance and supportability of such action.

Since XI 3.1, things have changed. A new feature called "WebIntelligence Extension Points" has been released and is now available for Java Report Panel / Rich Client and DHTML viewer.

In summary, i would consider this feature as a new SDK for the WebIntelligence UI. It is now easier than ever to modify the Webi interface such as adding new buttons to the menu / left panel / toolbar, hiding some unwanted features or buttons, or create your own buttons / functionality. I will get into more details in other sdn /wiki page.

For now on, i would like to show you how easily you can jumpstart customizing your webi application. I will progressively go into more advanced customization possibilities in further blog entries.

Let's start with a mini project : let's say a company wants to share webi reports to their employee, but only the reports. The company decides to show only the report to its users thus removing all the panels available and report tabs.

The report currently looks like this :



The easiest way to achieve this is to use the extension points for DHTML.

1- Download the samples

here

- In <BOBJ INSTALL>Tomcat55webappsAnalyticalReportingWEB-INFclasses

- Edit webiviewer.properties and update the following line to yes:

ALLOW_CUSTOMIZATION=no

- Do not forget to restart Tomcat to take this modification into consideration

3- Update user.js

- In <BOBJ INSTALL>Tomcat55webappsAnalyticalReportingviewerscdz_advcustomize

- Edit user.js

- Look for the following line and uncomment:

//hide_ui_element("ALL_EXCEPT_REPORT");

- Clear your browser's cache, and re-open the document, it should now look like this :

!https://weblogs.sdn.sap.com/weblogs/images/252066785/webireport2.jpg|height=400|alt=image|width=649|...!</body>

8 Comments