Cognos Analytics

 View Only

Updated JavaScript samples for IBM #Cognos Analytics 11.0.10

By Samples Team posted Thu March 22, 2018 11:35 AM

  

The JavaScript samples have been updated to use data modules rather than the Sample Outdoors Company database, making them easier for you to set up. You no longer need to install the full Extended Samples in order to use the JavaScript samples.

The setup instructions and JavaScript sample files are installed (but not configured or imported) with the product in an Easy installation, and if the Samples option is selected in a Custom installation. After product installation, you can find them here: <Cognos Analytics installation location>\samples\JavaScript\

List of JavaScript Samples

  • App bar: This sample report uses JavaScript to create an application bar to switch between a list, charts, and a crosstab.
  • App bar data: This sample report uses JavaScript to create a data-driven application bar.
  • App bar static labels: This sample report uses JavaScript to create an application bar with static labels.
  • Basic control: This sample shows how to include a basic JavaScript control.
  • Bootstrap button bar: This sample report uses JavaScript to create a bootstrap button bar to switch between order methods.
  • Bootstrap tabs: This sample report uses JavaScript to create both data-driven tabs and static tabs.
  • Collapse regions: This sample report uses JavaScript to show or hide prompts.
  • D3 bar chart: This sample report uses JavaScript to generate a D3 bar chart.
  • Data store viewer: This sample report uses JavaScript to access the data store and display rows of data.
  • Displayable regions: This sample report uses JavaScript to show or hide the prompts, and to show or hide individual prompts within that region.
  • Events: This sample shows how to use JavaScript to respond to events.
  • Full screen: This sample report uses JavaScript to show a pie chart, a list, or a crosstab in full screen mode.
  • Google bar chart: This sample report uses JavaScript to generate a Google bar chart.
  • Google organization chart: This sample report uses JavaScript to generate a Google organization chart.
  • HTML select: This sample report uses JavaScript to create an HTML drop-down list.
  • HTML slider: This sample report uses JavaScript to create an HTML slider to set a minimum value.
  • List column display: This sample report uses JavaScript to allow the user to select which list columns to display.
  • Loading text: This sample demonstrates loading text with JavaScript.
  • Page module: This example shows how to author a page module and access a control in the page module. (This is the base template for a page module.)
  • Prompt API buttons: This sample report uses JavaScript to show the results of various method calls.
  • Prompt validation: This sample demonstrates using JavaScript to validate the content of prompt values entered by the user.
  • Save csv: This sample report uses JavaScript to allow the user to render a report as a CSV file.



Related posts:



Please visit our IBM Business Analytics Support channel on YouTube.



Tags:
#Tutorials
#Tips
#Cognos Analytics
#JavaScript
#reporting
#Resources
#Expert Post
#Scriptable report
#Support
#11.0.10
#samples



#CognosAnalyticswithWatson
#home
#LearnCognosAnalytics
#Notebook
0 comments
139 views

Permalink