Download presentation
Presentation is loading. Please wait.
Published byLaura Griffin Modified over 9 years ago
1
© 2015 Jenzabar, Inc. James Mueller Graceland University Saturday May 30 th, 11:00am – 12:00pm 447: Cognos Customization Showcase ( and CX/JX II Track Closing ) Jenzabar’s Annual Meeting May 27 - 30, 2015 Gaylord Opryland Resort & Convention Center Nashville, TN
2
© 2015 Jenzabar, Inc. Performance User Experience Appearance Author Assistance Why did we Customize?
3
© 2015 Jenzabar, Inc. \bin\cogdmif.ini Controls the way in which Cognos works with Informix for SQL generation Note: Problem 1 should be done by your school
4
© 2015 Jenzabar, Inc. Caused When 3 or more tables are needed for your query 1 or more tables are outer joined in model Symptom Generated SQL shows all fields from table in the SELECT clause Report fails when field level security is on table and user has no SELECT permissions to a field Report fails because SQL statement is too long Example to Reproduce Problem 1: Entire Table pulled in SELECT
5
© 2015 Jenzabar, Inc. Solution Problem 1: Entire Table pulled in SELECT FIND Nested_Inner_To_Product=T REPLACE Nested_Inner_To_Product=F
6
© 2015 Jenzabar, Inc. Caused When Any outer joined table is filtered on Symptom If field in outer table is filtered on result set is limited to rows that meet that filter (essentially making it inner joined) Think aa_rec and cell phones, you likely want all people on the report and their cell phone if they have one. Solution and Discussion http://lists.jenzabar.net/cgi-bin/wa.exe?A2=JENZA-COGNOS- L;c2b680b6.1212 http://lists.jenzabar.net/cgi-bin/wa.exe?A2=JENZA-COGNOS- L;c2b680b6.1212 Problem 2: Need Informix Extension Outer Join
7
© 2015 Jenzabar, Inc. MOVE THE HOURGLASS Hourglass indicator defaults to middle of page, this moves it up Useful when embedding reports in JICS so users know it is working File QSRVCommonUI.css Location \webcontent\skins\ There will be multiple subfolders that contain these files Search for name:QSRVCommonUI.css contents: modalwaitpage
8
© 2015 Jenzabar, Inc. Example Before After
9
© 2015 Jenzabar, Inc. Do a find and replace in a text editor that support REGEX Such as Notepad++ Make sure you have “.” matches new line selected CSS Change FIND \.modalWaitPage\s\{.*?(?=\})(?<=\n) REPLACE.modalWaitPage\n{\n\tdisplay: block;\n\ttext-align: center;\n\tz-index: 100;\n\tposition: absolute;\n\ttop: 150px;\n\tleft: 150px;\n
10
© 2015 Jenzabar, Inc. CUSTOM CSS STYLES IN REPORT STUDIO Quick way to add school colors and styling to reports XML File Changes \msgsdk\reportstudio_en.xml \webcontent\pat\res\reportstudio_en.xml CSS File Changes \webcontent\schemas\GlobalReportStyles_10.css \webcontent\reportstyles\GlobalReportStyles_10.css \bin\GlobalReportStyles_10.css \reportstyles\GlobalReportStyles_10.css
11
© 2015 Jenzabar, Inc. Example IE in Compatibility, OutlookIE in Edge, Chrome, Safari, Etc
12
© 2015 Jenzabar, Inc. Example In Report Studio
13
© 2015 Jenzabar, Inc. Not fully CSS 3 compliant for PDF output Report will fail if it doesn’t know how to handle the CSS this is Adobe’s code issue Important Note
14
© 2015 Jenzabar, Inc. Add below all other IDS_CLASS_* xml string in file (~line 1992*) [Report Studio Class Name] Example: Glass: Black Our Changes: XML File Changes * As of version 10.2.2, this changes with versions
15
© 2015 Jenzabar, Inc. ! Must add directly to files, will not work with @import Add below @charset "UTF-8" and above IBM CSS Example:.gulb{ /* Light Blue with Dark Blue Lettering */ padding: 4px 5px 4px 6px; color: #050505; background-image: url('https://cognos.graceland.edu/bi/images/system/gulb.svg'); background-color: #5DB7F4; } Our Changes: CSS File Changes
16
© 2015 Jenzabar, Inc. COMMENT SYNTAX IN REPORT STUDIO Adds a drag and drop Cognos Comment syntax to Report Studio Allows authors to not have to remember the syntax Files \Configuration\Functions\ExpStrings_en.xml \Configuration\Functions\ExpTree.xml
17
© 2015 Jenzabar, Inc. Example
18
© 2015 Jenzabar, Inc. Add below (~line 106*) Adds a comment to your Report Studio Expression #/* Comment Goes Here */# XML File Changes – ExpStrings_en.xml * As of version 10.2.2, this changes with versions
19
© 2015 Jenzabar, Inc. Add below (~line 16*) ces_comment #/* Comment */# #/* Comment Goes Here */# XML File Changes – ExpTree.xml * As of version 10.2.2, this changes with versions
20
© 2015 Jenzabar, Inc. DEFAULT QUERY STUDIO TO NO-DATA MODE Speeds authoring in Query Studio File to change \templates\ps\async\system.xml.sample Instructions http://www-01.ibm.com/support/docview.wss?uid=swg21344995
21
© 2015 Jenzabar, Inc. TURN OFF QUERY RESULT CACHING Allows database changes to be seen immediately Does slow down reports when used in rapid succession (re-runs query every time) Template file location \configuration\CQEConfig.xml.sample Save as \bin\CQEConfig.xml\configuration\CQEConfig.xml.sample Same file as used for Commenting SQL Sent to Informix
22
© 2015 Jenzabar, Inc. Find and Replace Changes FIND REPLACE
23
© 2015 Jenzabar, Inc. COMMENT SQL SENT TO INFORMIX See from Informix side who is running the SQL from Cognos Helpful when trying to find out who is bogging down the system (onstat –g sql SESSID) Template file location \configuration\CQEConfig.xml.sample Save as \bin\CQEConfig.xml\configuration\CQEConfig.xml.sample Same file as used for Turning Off Query Result Caching
24
© 2015 Jenzabar, Inc. Example User Folder Report SQL
25
© 2015 Jenzabar, Inc. Find and Replace Changes FIND REPLACE FIND REPLACE
26
© 2015 Jenzabar, Inc. CX/JX II TRACK CLOSING
27
© 2015 Jenzabar, Inc. Enhancement Requests “…to inform Jenzabar Corporation of the needed and desired product enhancements.” First year for Institutional Intelligence ehancement requests Already have: Faster model updates for SMOs Blank Form: https://cognos.graceland.edu/public/ERF.docx Return To: jmueller@sting.graceland.edu By first week of June
28
© 2015 Jenzabar, Inc. Session Requests Sessions you want to see repeated (any JAM years) Sessions you want to see that haven’t been presented
29
© 2015 Jenzabar, Inc. Track Opinions / Feedback Second year we’ve had the II Track First year we had a track coordinator Send me feedback you want sent on to NACU Have feedback you don’t want me to know about? Send to: mgower@springfieldcollege.edu
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.