Perspective
A perspective is a specific view within the product.
For example, when you are creating a dashboard object, you are in the dashboard
perspective.
All of the sample extensions contain a perspective
element in their spec.json
file. The value of the perspective
element indicates which views will use this extension. A value of common
means that
the extension is used for all views.
The current perspective is found in the URL in your browser:
http://myserver:9300/bi/?perspective=dashboard&id=iC2094F0D0...
Perspective examples
- Home: occurs when viewing the Welcome page, defined as
http://servername:9300/bi/?perspective=homeImportant: When you set
"perspective":"Home"
in an extension, your custom buttons appear in the Welcome page at http://servername:9300/bi/?perspective=home. However, if you also set a different Cognos Analytics page as your Home page (by clicking Personal menu icon> Profile and settings > Settings), your customizations won't appear when you log in to Cognos Analytics. In this case, you must use a different perspective in your extension.
- Content: occurs when viewing the Content page (e.g., navigating My Content, Team Content, or Samples)
- Dashboard: occurs when viewing or editing a dashboard.
- Authoring: occurs when viewing or editing a report.
- Story: occurs when viewing or editing a story.
- Explore: occurs when viewing/editing an exploration.
- Ca-modeller : occurs when viewing/editing a data module.
- CreateBoard : occurs on the first screen of dashboard creation, when choosing a template