Professional Documents
Culture Documents
Agenda
Module 1 Introduction Module 2 Active Report Basics Module 3 Active Report in Business Insight and on the iPad Module 4 Dos and Donts Module 5 Troubleshooting Module 6 Common Techniques Module 7 Build a PoC Quality Active Report
Module 1 Introduction
Course objectives Resources available
Participant experience
Additional Material
IBM Cognos Active Report 10.1.1 Cookbook
Available for download on IBM developerWorks site https://ltsbwass001.sby.ibm.com/cms/developerworks/data/library/cognos/reporting/ advanced_report_design/page593.html
Disconnected Portable Highly Interactive Details on Demand Broad Distribution Cognos Platform Integration
9
10
11
Charts, Lists, Crosstabs, etc Prompt Pages Drill-Through HTML Item* Query Functionality Classes Layout Component References* Scheduling & Bursting
12
Organization
Deck Tab Control
Sliders
Discrete Values Continuous Values
Decks have a manually controlled number of cards and different layouts can be built on each card
Data Decks have a number of cards equal to the number of records in the query and each card has the same layout each card is filtered in a different way according to the Master Detail Relationship
15
Using a Deck
16
Data Deck has Container Select for Active Report Variable Master Detail Relationship between the Data Deck and the objects inside the Data Deck
17
Deck Selection
Single Selection Controls are used to select the card to display in the Deck or Data Deck multiple controls are needed if a Data Deck is driven by multiple query items
Default Card is displayed if a valid selection condition does not exist for the Deck useful for displaying summary level data or providing the user with instructions No Value List Item is an effective way to give a user access to the default card clears the variable driven by control when selected
18
Making Connections
Create a New Connection Wizard provides an interface with everything in one flow including setting a default value based on the controls being connected
19
Making Connections
Interactive Behavior Menu provides a manual interface for configuring connections between controls more granular control & the ability to work with multiple variables also accessible through the Properties menu
20
Clickable Regions
Active Areas are defined by the Clickable Region property the options available in this dialog box change depending on what object is selected
21
22
Calculated Summaries ensure that output calculations are always correct as a user interacts with the Active Report
Row Numbers ensure that a list is sequentially numbered as a user sorts and filters Sorting can be enabled on lists and crosstabs with a single property Column / Row Visibility is used to show or hide columns based on a condition in an Active Report variable
23
Plan the report before beginning to author ensure the targeted form factor & layout standard (fix vs. flow) is understood
Map Interactivity to understand where Decks are needed and whether data or static controls are required users most often begin looking for interactivity in the top left Consider Animation as it will impact the layout of the decks
24
Seek Requirements from the customer before styling preferences are very subjective and the styling choices have a large impact on a users first impression
Pick a Style Theme for the report and ensure that the background, palettes, font, etc.. are consistent if you are not graphically inclined use examples for ideas Background Styling provides a large portion of the look-and-feel of a report solid colors work but often times subtle linear or radial gradients are used Use Custom Buttons to increase the visual appeal clipart icons or custom background effects in a block can be used Chart Palettes can be difficult to design but impact the overall appeal of the Active Report try using tools like http://kuler.adobe.com/ to help match with theme
25
26
27
28
29
Control Shift D on an Active Report will enable the right-click debug menu
Variable names and values and be confirmed Debugging can be done by interacting with the different reports or by manually setting variables to ensure proper reaction
30
Benefits
Caching No requirements to connect
Considerations
Do More option not available Only connect to Active Reports Pre-run saved output Business Insight must be connected to the server
31
Any Active Report can be consumed on the desktop, Business Insight and the iPad
Existing re-run Active Reports can be consumed as-is on the iPad in IBM Cognos BI 10.1.1
32
iOS Look and Feel controls are automatically generated when an Active Report is consumed on the iPad optimized for touch and styled to fit the iPad environment
33
iPad Considerations
pixels
704
1024
35
pixels
Page Padding
Set Page Body padding to 0 0 0 0 to prevent it defaulting to 2 Scrollable regions within a report may be difficult to discover iOS 4 and earlier require a 2 finger scroll List box is replaced with drop-down list on the iPad Clickable lists and crosstabs should have rows of a minimum comfortable height to press (Apple HIG recommends 44 px) Chart areas may be too small to touch (eg: small bubbles or maps)
Scrollable Regions
List Box
Use a secondary control to select cards from those decks Iterator dots are clickable on the desktop
Not all fonts are supported use http://iosfonts.com/ to cross reference conformance
Fonts
Standalone fonts are clearer and sharper on the iPad 3 Both fonts and images are resized to fit the retinal display as a results fonts in images are less sharp There is a trade off between image size and image quality which affects the size of the Active Report Swiping on an iPad 3 is faster and smoother Loading an Active Report is approximately the same time as loading with an iPad 2
Fonts in images
Swipe Area
37
Disconnected Links can be built between Active Reports on the iPad to create an application of Active Reports February 2012: Cognos Mobile 10.1.1 FP3 release
Public Variables can be passed between the reports to share context variables in source and target both need to be Public and share the same name and type Application Drill-Through is used to author the link the method & parameter names must match example Store ID & CM Search Path of target report required Set Variable Value Condition is required on the control that has the Application DrillThrough needed to trigger the drill even if the control is just setting a dummy variable
38
Schedule the group of reports as a job so that they arrive on the iPad together and have equally fresh data
DrillTarget.AgeDifferenceReRunThresholdHours is a new Mobile Service advanced setting that controls the maximum allowable age difference between Active Reports for offline linking
Reports on My iPad section will display all of the Active Reports in the group
Back Button within the iPad application is used to navigate back to the source report
39
40
Simple Decks
Keep decks as simple as possible by having them only contain data that you need to be unique on a card. Push as much of the additional layout, styling, static content outside of the deck to avoid it being duplicated unnecessarily.
41
Use Classes
Using classes to style is even more important in an Active Report as many copies of things can be created (for example in decks) that may not be visible all at once, but can really start bloat the size of a report
43
Set Sizes
If trying to constrain built a fixed size dashboard, ensure to put sizes on charts and section charts or xtabs (using decks or filtering)
150
pixels
115
pixels
100
pixels
Avoid nesting a data container within a data container. e.g. don't create a deck for products and then nest a deck for years inside. Create a single deck on Products, Years.
46
Segment Decks
Segment data using decks instead of filtering when possible. The performance will be much better and the users will not know the difference.
Multilingual
For multilingual support use a code or id that can be associated 1:1 to the label that is not localized.
48
Name all controls Queries for function and maintenance Name all queries
Name Variables
51
Reuse Queries
Re-use queries as much as possible to reduce complexity (right mouse button drag from the toolbox makes this a little easier)
Data Button Bar and Data Deck share the same Query
52
Alignment
53
Chart Hotspots
54
Test Queries
Test queries to ensure you are getting the number of records/charts/crosstabs you expect (debug options will also help Control Shift D then right click
55
A block will expand if the contents are greater than a fixed size
56
Select * From ( values ( ( ) ButtonImages (imageName, buttonValue ) cast('regionbutton_mid.png' as varchar(25) ), cast('region' as varchar(25) ) ), 'ombutton_mid.png', 'ordermethod' )
57
This report has three methods of filtering the list. Please correct the report to use only the one correct method.
Open the report Module 4 Part 1 Fix This Report.txt in Report Studio
Correct the errors in the report. Indicate what was wrong and what you did to correct the report.
58
This report has 12 mistakes that can be corrected by applying the Dos & Donts covered in this module.
59
Open the report Module 4 Part 2 Fix This Report.txt in Report Studio Correct the errors in the report. Indicate what was wrong and what you did to correct the report.
Module 5 Troubleshooting
Connections Sizing Variables Record Sets
60
Connections
61
Sizing
Use the Properties Ancestor button to check other objects size properties
62
Variables
63
Information
64
Record Sets
65
Open the Active Report in the browser and determine how many of the following items there should be in the Active Report: Button Bars Charts Lists Entries in Records Sets
Using troubleshooting techniques, determine how many of these items there are in the Active Report. Open Module 5 Fix This Report.txt in Report Studio; correct the errors in the report Indicate what was wrong and what you did to correct the report. Note: you should be able to find 7 mistakes in the report
66
67
EXAMPLE
IMPLEMENTATION
68
Use a static deck or a static tab control to provide multiple cards (or tabs) with the same data in renderings
EXAMPLE
IMPLEMENTATION
Mirrored controls and decks leveraging a layout component reference of the data content in the second deck
Use a separate variable for each item (ex: 2 city variables are used in the example 69 above)
IMPLEMENTATION
70
Use decks and data decks organized in a horizontal table to define a drill path
IMPLEMENTATION
71
Use a static check box control to drive the visibility of associated columns
Keep a part of a report disabled until other conditions are met through user interaction
EXAMPLE Showing a default card and disabling another control until a value is chosen from another control
IMPLEMENTATION
Create a default card to be shown when no value is set and/or setup a control enabled expression requiring the variable to not be empty
72
6. Cascading Prompts
TECHNIQUE
Choices available in the next control depend on the value selected in the previous control
IMPLEMENTATION
Disable next control(s) until variable set by previous control has a value Filter next control(s) by the value of the previous controls variable
73
Show a second prompt control only after a selection from the first has been made
IMPLEMENTATION
Put the secondary control(s) in an animated deck and show the card only when the previous prompt has been answered
74
IMPLEMENTATION
75
Put a two-card static deck into a collapsing 2 column (or row) table
IMPLEMENTATION
Using a table in a data deck, add measures to each column cell in the first row of the table, and labels for the corresponding measures in the second row
76
EXAMPLE
IMPLEMENTATION
77
Create a pie chart in a data deck and use an expression on the chart to identify the pie slice to explode
IMPLEMENTATION
78
Use a list for vertical or a crosstab for horizontal orientation content Augment or override the default contents of the cells
IMPLEMENTATION
79
Create a static deck with duplicated contents on each card Apply a different conditional style on each cards content
EXAMPLE Sliding through years to see heat map data on map change over time
IMPLEMENTATION
80
Scroll data (to be passively consumed) across the screen A scrolling marquee of related measures to the reports primary content
EXAMPLE
IMPLEMENTATION
Wrap data in a repeater element between two HTML items containing opening and closing marquee tags (<marquee> and </marquee>)
81
Include a link to a video form an external source (ex: from YouTube or a corporate internal or external web site)
EXAMPLE
IMPLEMENTATION
82
Put well formed HTML video code into an HTML item in the report Note: video will only be available when user is connected
EXAMPLE
IMPLEMENTATION
Before content:
<div style=position: absolute; left: ?px; top: ?px; width: ?px; height: ?px;>
After content:
83 </div>
A tree control to more easily navigate and find data in a hierarchical structure
EXAMPLE
A hierarchical tree of Product line > Product type > Product name
IMPLEMENTATION Use decks inside of lists to build up a structure based on the data hierarchy
84
EXAMPLE
IMPLEMENTATION Use a background image the resembles the originating deck card
85
Control the location of the deck card to enable cards to pop up over existing controls
EXAMPLE
A card containing a crosstab pops up on a chart Use divs inside a card to control positioning and size of the card
IMPLEMENTATION
86
20. Menus
TECHNIQUE
EXAMPLE
IMPLEMENTATION Use decks, absolute positioning and list to create menu and menu options
87
A list report in a repeater table enables the user to create custom button both vertical and horizontally
EXAMPLE Three styles or custom buttons Text Horizontal images Vertical images IMPLEMENTATION Use lists with no column headers in a repeater tableof lists to build up a structure based on the data hierarchy
88
89
1. 2. 3.
Plan the report Build the content Size, style and lay out the content
4.
5. 6.
90
91
92
93
94