The Cognos Dashboard Building Blocks

What is a feature?

Dashboard features

CanvasThe canvas gives access to the content of a dashboard. Canvas content is any content that is added to the dashboard by the author. It can be a tab control, page, group, widget, etc. The Canvas API is used to read, update and create new content in the dashboard.The canvas gives access to the content API. A content API represents content like a widget inside a dashboard. A consumer can use this API to manipulate the content instance and access its features.You can find the public interface here.UserProfileThis feature gives access to the various user properties like the user account, capabilities, etc.You can find the public interface here.TransactionDevelopers use this feature to create a transaction when performing various operations in the dashboard.The transaction API creates a transaction token that the developer can provide when calling other features' APIs.A transaction will bundle the operations together. For example, the system will treat all actions done under one transaction as one undo/redo entry. The transaction also affects how the user interface will react to specific changes. Typically, the UI will wait for a transaction to be complete before updating.You can find the public interface here.

Dashboard Content features

StateDevelopers use this feature to access the status or error state of a given content (i.e. widget).
This feature is available for contents of any type.
You can find the public interface here.
VisualizationThis feature is only available when the content is of type visualization.It is the main API to read and update the visualization slots and the data items. You can use it to change the visualization slots, add filters, sort, format data items, etc.You can find the public interface here.DataQueryExecutionThis feature is only available when the content is of type visualization. It gives access to the query results associated with the visualization.You can find the public interface here.DataPointSelectionsThis feature is only available when the content is of type visualization. It gives access to the API used to monitor and change the data point selections in the visualization.You can find the public interface here.

Dashboard Content

Extending the application

  1. Adds a new dashboard feature called “MyFeature”.
  2. Adds a new content of type “MyContent” that will be available as a custom widget.
  3. Adds a new content feature called “MyContentFeature”.
Extending with new content and features

Final thoughts

--

--

--

Software architect currently working on IBM Cognos Analytics.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Running your app on Kubernetes: Part 1 — Build an image of MLFlow App on OpenShift

Best Front-End Development Tools in 2020

Haskell Day 1 — Not Quite Lisp

Story about AWS RDS upgrade to AWS Aurora and InnoDB adaptive hash index parameter

A GUIDE TO GUI TESTING

Apache Cordova -Build Hybrid Mobile Apps with HTML, CSS & JS

AGILE GAMES FOR TEAM BUILDING

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Rami Abou-Nassif

Rami Abou-Nassif

Software architect currently working on IBM Cognos Analytics.

More from Medium

Step by Step Guide to Create Binance API Keys for Bitsleader

How to handle HTTP Request returning 302 Redirection with XMLHttpRequest?

Bundle Configuration in Salesforce CPQ