www.OurStudentsOurFuture.org
Building a Foundation
of Strong Leaders
www.OurStudentsOurFuture.org
Supporting
& Developing
Future Leaders
The Hillsborough
Principal Pipeline
consists of four
i...
www.OurStudentsOurFuture.org
Leader Selection Tool
Focused on Component 3 (Selective Hiring)
• Used for making data driven...
www.OurStudentsOurFuture.org
Cognos Leader Selection Tool
www.OurStudentsOurFuture.org
Business Requirements
• Need a solution to filter many different attributes
and interact with...
www.OurStudentsOurFuture.org
Overall Solution Design
• Set of three reports
• Main report needed extended functionality
• ...
www.OurStudentsOurFuture.org
Cognos Leader Selection Tool
www.OurStudentsOurFuture.org
Using JavaScript in Cognos
Some examples of common uses:
• Hide Cognos toolbars
• Validate in...
www.OurStudentsOurFuture.org
Considerations for using JavaScript
• Extra testing will be needed when migrating reports
to ...
www.OurStudentsOurFuture.org
• Typing in parameter names and arguments
• Standard debug tools/techniques
• Parameter/list ...
www.OurStudentsOurFuture.org
Tips / Best Practices
• Using tags
• Layout component references for html items that
are used...
www.OurStudentsOurFuture.org
Cognos Prompt API
Upcoming SlideShare
Loading in …5
×

Advanced Javascripting in Cognos

985 views
756 views

Published on

Hillsborough County Public Schools (HCPS) and Convergence Consulting Group (CCG) partner to present Advanced Javascripting in IBM Cognos. HCPS solicited the help of CCG to develop a merit based bonus system to support and develop strong leaders in the Hillsborough Principal Pipeline utilizing IBM Cognos software. Presentation from IBM Cognos Central Florida User Group Meeting help on April 24, 2014 at Rusty Pelican in Tampa, FL.

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
985
On SlideShare
0
From Embeds
0
Number of Embeds
37
Actions
Shares
0
Downloads
6
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • - Users don’t need to see the standard toolbar
    Standard multi select prompts take up a lot of room, report has numerous prompts
    Need to reset all the prompts gracefully
    Need a way for user to choose candidates
    Pass values ot other reports
  • Enhance the standard capabilities of Cognos using JavaScript.
    Cognos is a web based application, you can embed JavaScript in HTML tags
    Report runs in HTML format, the JavaScript in those HTML tags will execute.
    Create a script, save it to a location accessible to the calling server and include that script in the report.
  • -JavaScript could be turned off in browsers because of security reasons.
  • Heavily used code should be consolidated in one location via a script or layout comp
    Consider if scripts can be put on the servers
    Prompt API provides cleaner way to manipulate/interact with prompts
  • Advanced Javascripting in Cognos

    1. 1. www.OurStudentsOurFuture.org Building a Foundation of Strong Leaders
    2. 2. www.OurStudentsOurFuture.org Supporting & Developing Future Leaders The Hillsborough Principal Pipeline consists of four integrated components: 6/9/20142
    3. 3. www.OurStudentsOurFuture.org Leader Selection Tool Focused on Component 3 (Selective Hiring) • Used for making data driven hiring decisions. • Used to match the right leader to the right school vacancy. 6/9/20143
    4. 4. www.OurStudentsOurFuture.org Cognos Leader Selection Tool
    5. 5. www.OurStudentsOurFuture.org Business Requirements • Need a solution to filter many different attributes and interact within list • Select rows within the candidates list and be able to do side-by-side comparisons • View detailed resume style report for selected candidates after analysis • Consume different reports in specified formats only (pdf, excel, html)
    6. 6. www.OurStudentsOurFuture.org Overall Solution Design • Set of three reports • Main report needed extended functionality • Turn off Cognos Toolbar • Hide Multiselect prompt choice lists until clicked • Reset report button • Add checkboxes to list object • Pass checked row values to drill-through reports
    7. 7. www.OurStudentsOurFuture.org Cognos Leader Selection Tool
    8. 8. www.OurStudentsOurFuture.org Using JavaScript in Cognos Some examples of common uses: • Hide Cognos toolbars • Validate input boxes • Manipulate default prompt selections • Automatically reprompt • Mimic built in Cognos capabilities (button for pdf, excel, drill up , drill down) • Passing data values • Changing default behavior of Cognos elements
    9. 9. www.OurStudentsOurFuture.org Considerations for using JavaScript • Extra testing will be needed when migrating reports to another environment • Extra regression testing will be needed should there be an upgrade, patch • Know what browsers you support and Cognos is compatible with based on version. Make sure you test compatibility between browsers
    10. 10. www.OurStudentsOurFuture.org • Typing in parameter names and arguments • Standard debug tools/techniques • Parameter/list names don’t propagate • Code may behave differently in Cognos viewer versus Report Studio Considerations for using JavaScript
    11. 11. www.OurStudentsOurFuture.org Tips / Best Practices • Using tags • Layout component references for html items that are used across multiple reports • Place .js file on gateway servers and call script • Utilize Prompt API
    12. 12. www.OurStudentsOurFuture.org Cognos Prompt API

    ×