Collapse or hide the Recent Activity Panel

Contents[Hide]

1. Overview

To simplify the Dundas BI home screen for your users, you can collapse or completely hide the home screen's Recent Activity Panel by using JavaScript and CSS overrides. This panel is titled Recently Viewed (or Recently Updated prior to version 2.5).

This article is for developers and system administrators.

Home screen showing recently viewed items
Home screen showing recently viewed items

2. Collapsing the Recent Activity Panel

On the server where Dundas BI is installed, locate the javascript.override.js file which can be found in the following folder by default:

C:\Program Files\Dundas Data Visualization Inc\Dundas BI\Instances\Instance1\www\BIWebsite\Scripts\Override

JavaScript override file
JavaScript override file

View the properties for the file and make it writeable. Then open the file in a text editor and enter the following code:

/* Add any JavaScript code to run in the site in this document */
window.dundas.context.ready(function () {
    if (window.dundas.context._recentActivitiesPanel) {
        window.dundas.context._recentActivitiesPanel._toggleExpandedContent(false, true);
    }
});

Go to the Dundas BI home screen and refresh the browser. The Recent Activity Panel should be collapsed.

Recent Activity Panel is collapsed
Recent Activity Panel is collapsed

Note that users can still open the panel manually.

3. Hiding the Recent Activity Panel

If you want to completely hide the Recent Activity Panel (instead of just collapsing it), you can do this with a CSS override.

On the server where Dundas BI is installed, locate the style.override.css file which can be found in the following folder by default:

C:\Program Files\Dundas Data Visualization Inc\Dundas BI\Instances\Instance1\www\BIWebsite\Content\Override

CSS override file
CSS override file

View the properties for the file and make it writeable. Then open the file in a text editor and enter the following text:

/* Add any CSS overrides in this document */
#bottomSectionPanel .recentActivitiesPanel {
  display:none; !important
}

Go to the Dundas BI home screen and refresh the browser. The Recent Activity Panel should be hidden completely.

4. See also

Dundas Data Visualization, Inc.
500-250 Ferrand Drive
Toronto, ON, Canada
M3C 3G8

North America: 1.800.463.1492
International: 1.416.467.5100

Dundas Support Hours: 7am-6pm, ET, Mon-Fri