Sample extensions

The following examples are available that illustrate the use of extensions.

These sample files are installed with the product in an Easy Installation, and are an option in a Custom Installation. After product installation, you can find them in the installation_location/samples/extensions folder.

Note: The samples covered in this topic are included with the Base Samples during a Cognos Analytics installation. After product installation, you can find them in the installation_location/samples/extensions folder.

IBM will provide support if the asset does not work as described for the product version(s) identified. However, we are unable to provide custom support for you such as adding features or troubleshooting environmental issues. These will be logged in our system as future Feature requests. These assets are functional examples. They are code samples with narrow requirements and a specific use case, providing a baseline. They do not include every possible feature/interactivity or environment/configuration. You can use these samples as-is (supported by IBM), or you can modify/extend these samples to suit your business needs (not supported).

SampleExtensionButtonDashboard.zip
An extension that adds a button to open a dashboard in all views.
SampleExtensionButtonFolder.zip
An extension that adds a button to open a folder in all views.
SampleExtensionButtonOpenPerspective.zip
An extension that creates a custom view and adds a button (custom view icon) to the navigation bar in all views that opens the custom view.
SampleExtensionButtonReport.zip
An extension that adds a button to open a report in all views.
SampleExtensionButtonWebsite.zip
An extension that adds a button to open a website in all views.
SampleExtensionContextMenuItem.zip
An extension that adds a menu item (custom report_properties) to the pop-up menu for all report objects. When selected, the menu item opens an alert that displays information about the report.
SampleExtensionCustomMedia.zip
An extension that adds custom images that can be used in dashboards.
SampleExtensionCustomMediaAll.zip
An extension that adds custom images that can be used in both dashboards and reports.
SampleExtensionCustomShape.zip
An extension that adds custom shapes that can be used in dashboards.
SampleExtensionExcludeDelete.zip
An extension that removes the Delete button from all objects in all views.
SampleExtensionExcludeNotifications.zip
An extension that removes the Notifications button from all views.
SampleExtensionMenuQuicklinks.zip
An extension that adds a menu to all views.
SampleExtensionMenuUrlLinks.zip
An extension that demonstrates how to add a menu to the AppBar that contains two menu items that open external URLs.
SampleExtensionOpenFolderShowHideParent.zip
An extension that shows the use of the skipAncestors option when opening a folder.
SampleExtensionsAll.zip
An extension that combines the SampleExtensionButtonDashboard.zip, SampleExtensionButtonFolder.zip, SampleExtensionButtonWebsite.zip, SampleExtensionButtonReport.zip, SampleExtensionContextMenuItem.zip, SampleExtensionExcludeDelete.zip, SampleExtensionMenuQuicklinks.zip, and SampleExtensionExcludeNotifications.zip extensions.
SampleExtensionTabs.zip
An extension that adds a collection of tabs to the home view that provide quick access to certain reports and dashboards.
Applies to version 11.1.0 and subsequent versions unless overriddenSampleExtensionHelpMenu.zip
An extension that adds a customized URL to the Help icon menu in the top Application Bar in all perspectives.
Note: As of release 11.1.6, SampleExtensionHelpMenu.zip is no longer supported.