Skip to Content

I’ve been looking into how to remove functionality from the DHTML viewer for a customer in BOE XI 3.1. They wanted to remove as many of the buttons and features as possible for a particular user group. The best way that I found to do this was to use the Web Intelliegnce Extension Points functionality that was introduced in BOE XI 3.1 SP2.

You can customise the Webi extension points for both a Tomcat and IIS deployment even though the IIS deployment has not been documented. It took a whil eot find the solution.

Tomcat

To customise the DHTML viewer do the following:

  1. Navigate to the <INSTALL DIRECTORY>\Tomcat55\webapps\AnalyticalReporting\WEB-INF\classes folder on your BO server.
  2. Edit the webiviewer.properties file and set ALLOW_CUSTOMIZATION=yes
  3. Restart Tomcat
  4. Navigate to the <INSTALL DIRECTORY>\Tomcat55\webapps\AnalyticalReporting\viewers\cdz_adv\customize folder
  5. Edit the user.js file and add/uncomment the features that you wish to hide. The features are listed below.

//hide_feature(“REFRESH”);

//hide_feature(“SAVE”);

//hide_feature(“EDIT”);

//hide_feature(“EXPORT_DATA”);

//hide_feature(“EXPORT_TO_PDF”);

//hide_feature(“EXPORT_TO_EXCEL”);

//hide_feature(“EXPORT_TO_CSV”);

//hide_feature(“DRILL”);

//hide_feature(“TRACK_DATA_CHANGES”);

//hide_feature(“FILTER_TOOLBAR”);

//hide_ui_element(“OPEN_DOCUMENT_WAIT_DIALOG);

//hide_ui_element(“MENUBAR”);

//hide_ui_element(“LEFTPANEL”);

//hide_ui_element(“LEFTPANEL_USERPROMPTINPUT”);

//hide_ui_element(“LEFTPANEL_NAVIGATIONMAP”);

//hide_ui_element(“LEFTPANEL_FIND”);

//hide_ui_element(“STATUSBAR”);

//hide_ui_element(“REPORT_TABS”);

//hide_ui_element(“MENUBAR_DOCUMENT_MENU”);

//hide_ui_element(“MENUBAR_VIEW_MENU”);

//hide_ui_element(“MENUBAR_PAGE_NAVIGATION”);

//hide_ui_element(“MENUBAR_ZOOM”);

//hide_ui_element(“MENUBAR_UNDO_REDO”);

//hide_ui_element(“ALL_EXCEPT_REPORT”);

Note that it you wish to restrict these changes to a user group then you can add the user group as a parameter. For example:

//hide_ui_element(“ALL_EXCEPT_REPORT”,”UserGroupName”);

IIS

To customise the DHTML viewer using extension points for a IIS deployment do the following:

  1. Navigate to <INSTALL DIRECTORY>\BusinessObjects Enterprise 12.0\Web Content\InfoViewApp\AnalyticalReporting\Viewer\customize and back up the files that are there (if any)
  2. Copy all of the files from <INSTALL DIRECTORY>\Tomcat55\webapps\AnalyticalReporting\viewers\cdz_adv\customise to <INSTALL DIRECTORY>\BusinessObjects Enterprise 12.0\Web Content\InfoViewApp\AnalyticalReporting\Viewer\customize
  3. Confirm that the user.js file contains the text listed in step 5 above from the Tomcat details. If it doesn’t then copy them in using this document
  4. Edit the user.js file so that the features that you wish to hide are uncommented from the file. If you wish to hide features only from a certain group then ensure that you specify the group by specifying the group name. For example:
    hide_ui_element(“ALL_EXCEPT_REPORT”,”LMS LMSStudents”);
  5. Navigate to <INSTALL DIRECTORY>\BusinessObjects Enterprise 12.0\Web Content\InfoViewApp\AnalyticalReporting
  6. Edit web.config
  7. Search for the section <WebiSettings>
  8. Insert this line:
    <add key=”ALLOW_CUSTOMIZATION” value=”yes” />
    before the </add> tag
  9. Save web.config
  10. Restart IIS. You can do this by typing ‘iisreset’ into the Start > Run command box

You will now find that the features and toolbars that you uncommented are now hidden in the report viewer.

To report this post you need to login first.

9 Comments

You must be Logged on to comment or reply to a post.

    1. Christian Key Post author

      Hi Kay,

      Unfortunately not. You can only customise the DHTML viewer using Webi extension points for a Tomcat (Java) deployment and not an IIS (.NET) deployment.

      However you could remove the ability to refresh the reports using access levels in the CMC and schedule them to run and have them delivered to the user inbox. Alternatively you could only allow the reports to be viewed as a PDF which does not have a refresh button.

      I hope his helps.

      Chris

      (0) 
        1. César Garcés Gracia

          Who was the genius who has removed this possibility of customization in version 4? 😡

          How I can customize the page view for disable the refresh button still allowing the user to refresh the report using the OpenDocument method?

          (0) 
            1. Christian Key Post author

              Hi,

              This is not the same as the XI 3.1 extension points which allows you to hide functionality from the toolbar of the report viewer.

              This document for BI 4.0 tells you how to build you own Web Intelligence reporting calculations that enhance the list of existing Web Intelligence functions.

              Chris

              (0) 

Leave a Reply