Sample extensions
The following examples are available that illustrate the use of extensions.
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).
- LearnPaneLink.zip
- Adds an extension to the Custom widgets panel in Dashboarding and Stories that allows authors to add buttons that open specific topics in the Learn Pane.
- LinkWidget.zip
- Adds an extension to the Custom widgets panel in Dashboarding and Stories that allows authors to add buttons that open specific URLs.
- SampleExtensionContextMenuItem.zip
- Adds a new menu item to the context menu for all report objects. The new menu item launches a controller that displays information about the selected object in a popup window.
- SampleExtensionCustomMedia.zip
- Adds seven custom images to the Images tab in the Widgets panel in Dashboarding and Stories. JPG and PNG files are supported.
- SampleExtensionCustomMediaAll.zip
- Adds eight custom images to the Images tab in the Widgets panel in Dashboarding and Stories. It will also add the eight custom images to the Image Picker dialog in Reporting in the Image Gallery. JPG and PNG files are supported.
- SampleExtensionCustomShape.zip
- Adds custom shapes to the Widgets panel that can be used in dashboards and stories.
- SampleExtensionExcludeDelete_11_2.zip
- Removes the Delete button from the "content" perspective for all objects in the content pane.
- SampleExtensionExcludeNotifications.zip
- Removes the Notifications button from the
home
perspective. - SampleExtensionMenuQuicklinks_11_2.zip
- Adds a menu to the application bar (across top of screen). Common reports and dashboards are accessed directly from this menu.
- SampleExtensionMenuUrlLinks_11_2.zip
- Demonstrates how to add a menu to the AppBar that contains two menu items that open external URLs. The URLs are opened in a separate browser tab.
- SampleExtensionOpenDashboard_11_2.zip
- Adds a menu item to the Open menu to open a dashboard in all perspectives.
- SampleExtensionOpenFolder_11_2.zip
- Shows the use of the skipAncestors option when opening a folder. Two menu items are added to the Open menu that open folders. Within the folder, the navigation breadcrumbs at the top of the screen will be either shown or hidden.
- SampleExtensionOpenFolderShowHideParent_11_2
- Shows the use of the skipAncestors option when opening a folder. Two menu items are added to the Open menu that open folders. Within the folder, the navigation breadcrumbs at the top of the screen will be either shown or hidden.
- SampleExtensionOpenPerspective_11_2.zip
- Creates a new view called "Custom view" and then adds an Open menu item to open it from all perspectives.
- SampleExtensionOpenReport_11_2.zip
- Adds a menu item to the Open menu to open a report in all perspectives.
- SampleExtensionOpenWebsite_11_2.zip
- Adds a menu item to the Open menu to open a website in all perspectives.
- SampleLogin.zip
- Creates a customized view for the Cognos Analytics sign-in page for the Sample Outdoors Company example. Not available in 11.1.0 and 11.1.1.
- SampleLoginMultiple.zip
- Creates a custom Sign In page where the user can choose between two or more authentication types via a dropdown. Not available in 11.1.0 and 11.1.1.
- SampleWelcome_11_2.zip
- Creates a customized view for the Cognos Analytics welcome page for the fictional Sample Outdoors Company.