Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
8 views

Cognos 10 JavaScript Prompt API Samples in IBM #Cognos Analytics 11

The document discusses the updates to the JavaScript Prompt API in IBM Cognos Analytics, highlighting changes from version 10.2.2 to 11.0.11. It provides a list of updated samples, installation instructions, and notes on deprecated features. Additionally, it emphasizes the transition to using Custom Controls and JavaScript modules in the newer version.

Uploaded by

leonardo.russo
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views

Cognos 10 JavaScript Prompt API Samples in IBM #Cognos Analytics 11

The document discusses the updates to the JavaScript Prompt API in IBM Cognos Analytics, highlighting changes from version 10.2.2 to 11.0.11. It provides a list of updated samples, installation instructions, and notes on deprecated features. Additionally, it emphasizes the transition to using Custom Controls and JavaScript modules in the newer version.

Uploaded by

leonardo.russo
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

Community   

IBM Business Analytics Community


Connect, learn and share with over 100,000 users across the IBM Business Analytics Community.

Explore BA Products

Search for your favorite topic

Try out IBM Technology Zone!

Cognos Analytics with Watson  Settings

Group Home Discussion 9.4K Library 432 Blogs 544 Events 1

Members 4.4K

Cognos 10 JavaScript Prompt


API samples in IBM #Cognos
Analytics 11

By Samples Team posted Mon May 07, 2018 10:11 Follow  0

AM Recommend
Mark as Inappropriate

In Cognos Business Intelligence 10.2.2, the JavaScript Prompt API provided report authors with a
method of customizing prompt interactions in the reports they authored. Fifteen samples were
created to demonstrate how to use the Prompt API. After you install the Extended Samples, you
will find the Prompt API samples in the Samples_Prompt_API folder.

In Cognos Analytics 11.0.4, embedded JavaScript support changed and improved. Consequently,
the 10.2.2 Prompt API samples have been re-written for 11.0.11, using this new approach.

What has changed?


Cognos Business Intelligence 10.2.2 used HTML Items, JavaScript, and the Prompt API. The
report is rendered in the Classic Viewer only. IBM Cognos Analytics 11.0.4+ uses Custom Controls
(instead of HTML items) and JavaScript modules. The report is rendered in the Interactive Viewer.

Here is a list of the original Prompt API samples that have been updated in 11.0.11:

Clear prompt selections


Date prompt presets
Display all prompt values ignoring user selections
Display user selected prompt values
Filter country by letter (now called HTML select and HTML slider)
Limit numeric prompt selection by database value
Limit time between two dates
Limit user selection to two items
Personal default prompt selections - set selections
Personal default prompt selections - use selections
Validate prompt values when button pushed
Validate type-in postal code values
Validate type-in product line code

Coming soon:

Date time prompt presets


Limit date prompt selection by database value

Deprecated:

Pass parameter via hidden prompt

Note: You can also successfully open and use all the version 10.2.2 samples in their original form
in Cognos Analytics 11. They will be rendered in the Classic Viewer only.

How to install the 11.0.11 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 the files here: <Cognos Analytics installation
location>\samples\JavaScript\

Please open the file JavaScript_setup_instructions.pdf and follow the steps.

All the JavaScript samples now use a data module as their data source, making them much easier
to import.

Related posts:
Scriptable Reports JavaScript Documentation
Video: Cognos 10 JavaScript Prompt API samples in IBM Cognos Analytics 11
JavaScript support in the Interactive Viewer
Video: Overview: Scriptable reports (11.0.4+)
How to use a custom control with JavaScript to hide and show a filter panel in IBM #Cognos
Analytics 11.0.7+
IBM Knowledge Center: Prompt API for IBM Cognos BI
IBM Knowledge Center: Adding JavaScript to a report
Library of How-To Videos for IBM Cognos Analytics
Samples Landing Page
Please visit our IBM Cognos Analytics channel on YouTube.

Tags:
#Video
#11.0.11
#youtube
#Resources
#reporting
#Scriptable report
#Prompt API
#JavaScript
#Cognos Analytics
#Prompt API
#learncognosanalytics #administration #home #authoring #classicviewer
0 comments 84 views

Permalink

https://community.ibm.com/community/user/businessanalytics/blogs/steven-macko/2018/05/07/

About us
IBM Community offers a constant stream of freshly updated content including featured blogs and forums for
discussion and collaboration; access to the latest white papers, webcasts, presentations, and research
uniquely for members, by members.

Quick Links
About Us
Terms of Use

Community Netiquette

Sitemap

FAQ

Office

If you need immediate assistance please contact the Community Management team.

support@communitysite.ibm.com
Monday - Friday: 8AM - 5PM MT

Copyright © 2021 IBM Community. All Rights Reserved.


All material, files, logos and trademarks within this site are properties of their respective organizations.

You might also like