IBM Cognos Analytics … · v 3: [email protected],Kirsten Vaughan,Kirsten,Vaughan ... 4.0...
Transcript of IBM Cognos Analytics … · v 3: [email protected],Kirsten Vaughan,Kirsten,Vaughan ... 4.0...
IBM Cognos Analytics�������� 11.0
������������������������
IBM
©
���������������
��������������� IBM Cognos Analytics �������� 11.0.0 ��� �������������������������������
���������
����������������� - ������������ IBM
© ��������� IBM Corp. 2015, 2018
������������������������ ������������������������������ – ������ �������� ����������������������� ��� GSA ADP Schedule Contract��� IBM Corp
IBM, ������������ IBM ��� ibm.com ��������������������������������������������������������� International BusinessMachines Corp. ������������������������������������� ������������� ������������������������������������������� IBM �������������� �������������� �������������������� IBM ��������������� “��������������� ��������������������” ��� www.ibm.com/legal/copytrade.shtml
������������������������������� ������������������������������������������� �:
v Adobe, ������������ Adobe, PostScript ��������������� PostScript ������������������������������������������������������
������ Adobe Systems Incorporated �������������� ���/�������������� �
v Microsoft, Windows, Windows NT ��������������� Windows ����������������������� Microsoft Corporation ��������������
���������� � ��������������
v Intel, ������������ Intel, Intel Inside, ������������ Intel Inside, Intel Centrino, ������������ Intel Centrino, Celeron, Intel Xeon,
Intel SpeedStep, Itanium ��� Pentium ��������������������� ��������������������������������� Intel Corporation ����������
������������������������ ��������������� �
v Linux ��������������������������������� Linus Torvalds �������������� ���������� ���������������
v UNIX ��������������������������������� The Open Group �������������������������������
v Java ����������������������������������������� Java �������������������������������������������������������������
Oracle ���/�����������������
������������������ Microsoft ������������������������ Microsoft
������
����� 1. ����������������� . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1������� Cognos . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
���������������������������������. . . . . . . . . . . . . . . . . . . . . . . . . . . 5�������������������������� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6���������������� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
��������������������������� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8���������������� OpenID Connect . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
�������������� ����� �������� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
����� 2. ������������������� . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
����� 3. ����������������������������� . . . . . . . . . . . . . . . . . . . . . . . . 15������������������������������������� . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
����������������������������������� Cognos . . . . . . . . . . . . . . . . . . . . . . . . . 17��������������������������������������������������������� . . . . . . . . . . . . . . . . . . . . . 20����������������������� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
�������� Cloudera Impala JDBC . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20���������������������������� Pivotal HDB. . . . . . . . . . . . . . . . . . . . . . . . . . 21����������������� Denodo 5.5 ��� 6.0 . . . . . . . . . . . . . . . . . . . . . . . . . . . 21��������������������������������� Cognos Analytics �������� . . . . . . . . . . . . . . . . . . . 21
�������������� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24Cognos Analytics 11.0.9 - ����������������������� . . . . . . . . . . . . . . . . . . . . . . 24Cognos Analytics 11.0.8 - ������������� . . . . . . . . . . . . . . . . . . . . . . . . . 25Cognos Analytics 11.0.7 - ��������������������������������������� . . . . . . . . . . . . . . . . 26
����� 4. ��������������������������. . . . . . . . . . . . . . . . . . . . . . . . 29�������������������������������� . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29������������ HTTP Strict Transport Security . . . . . . . . . . . . . . . . . . . . . . . . . . 29����������������������������� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
�������������������� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30������������������������� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
���������������������������������������������� . . . . . . . . . . . . . . . . . . . . . . . 33
����� 5. ��������� ���������������������� . . . . . . . . . . . . . . . . . . . . . 35������������������������ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35���������������������� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36������������������������������������������������� . . . . . . . . . . . . . . . . . . . . . . . . 37���������������������������������������� . . . . . . . . . . . . . . . . . . . . . . . . . 37����������������������������������� . . . . . . . . . . . . . . . . . . . . . . . . . . 39
����� 6. ���������������� . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41������������ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42������������������������������ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
iii
������������������������������������������� . . . . . . . . . . . . . . . . . . . . . . . 50������������������������: ����������������������������������������������������������� Cognos ����������� . . . . . 51
����� 7. ������������������. . . . . . . . . . . . . . . . . . . . . . . . . . . . 53����������������������������� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53��������������� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54�������� ID ����������������������������� . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54���������� ID ����������������������������� . . . . . . . . . . . . . . . . . . . . . . . . . . . 55���������������������������� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
��������������������������������� . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56�������������������������������������������������������������� �������. . . . . . . . . . . . . . . . . . . . 57������������������ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58����������������������������������� . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59����������������������������������� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60������������������������������������������ . . . . . . . . . . . . . . . . . . . . . . . . . . . 61����������������������������������� . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61������������ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
����� 8. �������� Cognos Analytics ������������������ . . . . . . . . . . . . . . . 63������������������� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64����������� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
��������. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67���������������� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
��������������������� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68������������ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74������������������������������ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75���������������������������� . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75���������������������� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77�����������������������. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80���������������� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
�������������� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85�������������� (�����������������������������������) . . . . . . . . . . . . . . . . . . . . . . . 86������������������������������ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89���������������������������������������������� . . . . . . . . . . . . . . . . . . . . . . . . 92�������������� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
������������ �������� ������ �������������� . . . . . . . . . . . . . . . . . . . . . . . . . 96������ Cognos Analytics �������������������������������������������� . . . . . . . . . . . . . . . 97
�������� spec.json. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98�������������������������� JSON . . . . . . . . . . . . . . . . . . . . . . . . . . 101����� id����������������������������� . . . . . . . . . . . . . . . . . . . . . . . . . . 106
����� 9. �������������������������������������� . . . . . . . . . . . . . . . . . 109
������������������ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
����� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
iv IBM Cognos Analytics �������� 11.0: ������������������������
����� 1. �����������������
�� IBM® Cognos® Analytics ��� ������������������������������������ �������������������������������������
������������������������������������� Cognos Analytics ����������������������������������������� ��������������������������������������������������������� ��������������������������������������������������������������������� ������������ ���������������������������������������������������� Cognos Analytics ��� ������������������ �����������������
�������������������������������������������������������������� IBM Cognos Analytics����������������� ������������ Cognos ������� Cognos�������������������������������������������� �����������������������
Cognos Analytics ���������������������������������������������������������������������������� ID ������ ����������������������������������� ������������������������������������������������������� ��������� IBM Cognos Analytics �������������������������������
�����: ������������������������������������� ��������������������������������� ��� �������������������������������� ��������������������������������� 1000 ���
������������������������� ������ ����� �������� ������������ ����������������������������������������� ���������������������������������������������������������� IBMCognos Analytics Administration and Security Guide
������� Cognos
������� Cognos������������������������������������������������ �����������������������������������������
����������������������������������� ���������������� � ���������� Cognos �������������������������� ����������������
������� Cognos�������������� ����� �������� �������� ������������������� ������������������������������������������� � ������������������������������� ���������������������������������������� ������������������������������ ����� ������������ � ����������������������������������������� � ��� �������������������������������������� ����������������� ���������������
��������������������������������������������� ������� Cognos
1
������������������������������������ Cognos��������������� ��������������������Cognos ������������������������ ������� ������� ������������ IBM Cognos Analytics
���������������������������������������������� Cognos
������������������������ ��������������������������������������������� ������������������������������������������
����������������������������������������������������������������������������������������� ���������������������������������������������������� ����������������������������������������Cognos Configuration ������������������������������������������
��������������������������������������������������������������������������������������������������������� ������������������������� ������������������������������������������������������
����� ��������������������������������������������������������������������������� ������������������������� ������������������������������������������������������ ����������������� ����� ��������������������������������������������� ��������������������������������������� ����������������������� ����� �������������� ����������������� ����� ���������������������������������� ��������������������������������������� ����� ��������� ���������� ����� ��������������������������������������
��������������������������������������������������������������������������� ������������������ IBMCognos Analysis Studio ��������������
Analytics Administrators
������������������������������������ Analytics Explorers �����������������������:
v ������ > ������������������������
v ����������������������� ���������������������
v IBM Cognos Software Development Kit
�����������������������������������������������
������ 1. �������������������������
2 IBM Cognos Analytics �������� 11.0: ������������������������
Analytics Explorers
����������������������������������� Analytics Users ���������������������� CognosAnalysis For Microsoft Excel, Cognos Framework Manager, Cognos Cube Designer��� Dynamic Query Analyzer Transformer ��� TM1 Writeback �����������������������FLBI TM1
�����������������������������������������������
Analytics Users
������������������������������������������ Information Distribution ����������������� ���������� �������� ��������� ������� ����������������������������� ��������������� ���������� �������������� ����������������� ����������� ���������������������� Cognos for Microsoft Office, Cognos Workspace, Cognos Insight, Cognos EventStudio, Cognos Query Studio ��� Cognos Analysis Studio
�����������������������������������������������
�������� ������������������������������������������������������������������������������������������������� Reporting, Query Studio ��� Analysis Studio ���������������������������� ���� ������ ��������������������
�������������������������������������������������������������������� ���� ������
�������������������������������������������������������������������������� ��������� Cognos��������������������� �������� ��������� ������������ ����������� ���������������
Information Distribution
������������������������������������ Query Users and Analysis Users ���������������Reporting, Query Studio ��� Analysis Studio ����������������� ���� ��������������������������
�����������������������������������������������
������������������������������������������������ �������� ��������������������������� ��������� IBM Cognos Administration
��������������������������������������������������������������� IBM Cognos Mobile ���
�������������������������������������������������� IBM Cognos ��� ���� ������ ������������������� IBM Cognos Mobile
����� 1. ����������������� 3
���������������������������������������������������������������������������
������������������������������������������������������������ Cognos ���������������� � ��� ������������������������������ ���������������������� ���������������������������������������������
PowerPlay Administrators������������������������������������������������������������������������������� ������ ��������������������� IBM Cognos PowerPlay
PowerPlay Users��������������������������������������������������������� ������������������ IBMCognos PowerPlay
���������������������������������������������������������������������� ������������������ IBMCognos Query Studio ���
������� ��������������������������������������������������������� IBM Cognos ��������������������������������������������� ���������������������������� ����������������������������� ���� ����������������������
������������������������������������������������������������������������������������������������ ������������������ IBM Cognos Analysis Reporting ��� IBM Cognos QueryStudio ���
������������������������������������������������������������������ ���������� ���������
�����������
������������������������������������������������������������� ������������������������������ ������������ � ���������������� �������������������������������������������������������������� ������������������� ����������� �����������������������������������������������������
������������������������������������������������� ����� ���������������������������� ��������������������������������� ���������� ����� ��������������������������������������� �������������������� ������������������������������������������������������
���������������������������������������������������������������������������������� ���������������������������� IBM Cognos ���������������� ���������������������� ��������
4 IBM Cognos Analytics �������� 11.0: ������������������������
�������������������������������� ��������������������������������������������������������������������� ������������������������������
���������������������������������
���������������������������������������� Cognos������������� ����������������������������������������� �������������������� IBM Cognos Analytics ��������
�������������������� ����� ������������������������������������ �������������Cognos ������������������������������� Cognos
������������������
�������������������������������������������������������������������� Cognos �������������������������������������������������
������������������
������������������������ Cognos ����������������������������������������������������� �������� �����������������������������������������������������������������������������
�������������������������������� ������ ������������� ����������� �������� ��������������������� �������������������������������������������������������������������� IBMCognos Analytics Administration and Security Guide
���������1. ���� ������ > ��������
2. ����������� Cognos ���������
3. ������������������
�������������
����������������������� ��������������� ��������� enter �������������������������������������� ��������� Cognos
�������: ������������������������������������������� ���������������������
����������������������
4. �����������������������������������������������:
a. �������������������������������� Cognos �����������������������������������
������� ����������
��������������������
�����������������������������������
b. �����������������������������
���� �������������������������������
����� 1. ����������������� 5
c. ������� ���������������������������������������� ������ ����� ��������������������������� �������������������������������� � �������� �������������������������� ��������� ���������������������������������������� ������ ����� �������������������
d. ����������� ����� ������������������� ��������������������������������� �������� ������������������������ ������
e. ������������������������������������������������� ����������������������������� ��������������������� c ��� d �������������������� ��������������������� ����
�������������
f. �����������������
������������������������������� ��������������������������������������
������������������
�������������������������
���������������������������������������� �� ��������������� ��������������������������������������������������������� ������� �������� ������������������������������������������� ���������� ������� ���������������������������������������� ����������������� ���������������������������� ������������� ��
��������������������������
����������������������������� Cognos���������������� ���������������� ������������ IBMCognos Analytics
���������1. ���� ������ > ��������
2. ����������� Cognos ���������
3. �������������������
������������������� ��������������� ��������������� ���������� ID ����������������� ���� ����
������������������������������������������� Cognos ���������������������������� ���������� ����� ��������� �������������������������� IBM Cognos Analytics ���� ID ������ ���������������������� ���
������������������
������������������menu
�������������������� ������������ �� ��������������� ������ ��������������� ����������������������������������������� ��������� ��������������� ���������������������������� ���������������������� ������� ������� ������������������� ����� ����������������� �������������������� ������������� ��
6 IBM Cognos Analytics �������� 11.0: ������������������������
����������������
��������� �������������������������������� Cognos �������������� ��� ��������������������������������������������������������� Cognos
��������: ���������� Cognos ��� ����������� ���������������������������� ������������������������� Cognos - ������� ����� Cognos ���������������������������������������������� ����������������������������������� Cognos ��������� IBM Cognos Analytics�����������������������������������������
���������������������������������� ��������������������� ������������� ��������������������� Cognos ����� ���� IBM Cognos Analytics ��� ������������������������������������������������������������� ��������� ������������������������������������� �������������������������������������������������������
������������������������������������������� (���������������������������) ����������������������������������������������������� ��������������������� ��������� ����� 8, “�������� Cognos Analytics ������������������”, ������ 63
������������������������������ ��� ������ > �������������������������������������������������������� ��������������� ����� slide-out ��������������������������������������
��������: ���������������������������������������������� �������������������������������� > �������������������������������� ��������� “������������ �������� ��������������������” ������ 96
�����������������������
����
�������������������������� ������������������������������ �������������������������������� ����������������������������������������� ���������������������������������������������������
��������������
������������������������������������������������������������������������� ����
������ ��������� ������������������������ ������������������������� built-in ����������� � ������������������������ ������������� ��������������������������������������������
������ ����
������������������������������������������������������������������� ���������������������������������� � ����������� ����������������������������������������������������������� ���� ��� ������������������������������� ������������������
����� 1. ����������������� 7
������������������������������ ��������������������
��������������������
����
����������������������� ������������������� ������������������������������������������������������������
���������������������������
����
������ ������������������� ������������ ��������������������������������������������������� ������������������������������������� �������� �������������������������������������� ����������
���������������������������������������
���� ���������������� ����������� ������������ ����������� ������ ����������� ��������������������������������������������������� ������������ ������������������������������������������������������������ ���� ���������� ���� ��������������
��������������������� ��������� ���������������������������� �� ���������
�����������������������������������������
����������������������������������������������������������������� ������������������������� ���������������������������������� ������� ����������������� ������������������������ 0��� 10 ������������������������ ���������������������� ����������������������������������� System Administrators���������������� ������������������� 1000
���������������������������
����������������������� IBM Cognos Analytics ��� ������������������������������������� �������������������������������������� ������������� ��������������������������� ����������, ID, ��������, �����������������, ��������������������� ���������������������������������������������������������
������������������ Cognos Analytics ���������������������������������������������
Cognos Analytics ��������������������������������������������������:
v Active Directory
8 IBM Cognos Analytics �������� 11.0: ������������������������
v OpenID Connect
v Custom Java Provider
v OpenID Connect Authentication Proxy
v IBM Cognos Series 7
v LDAP
v SAP
v SiteMinder
������������������������������������������� IBM Cognos Configuration ������������������������� > ��������������� �������������������������������������� ��������� IBMCognos �������� ������������������� ������ > ����������� ��������������������������Cognos Analytics ����������������� ����������������������������������������������������������������������� ��������� IBM Cognos Analytics ���������������������������������
����������������������� ����� ��������������������������������������������������� CognosAnalytics ������������ �������������������� ����� ���������������������������������������������� ������� Cognos
�����������
������������������������������������ Cognos Analytics ������������������� ������������������������ ������������ ������������������������� ������������������������� � ����������������� ������������ ����������������������������� ��� ��������������������������� � ����������������������� ������������������������������������� ��� ��������������������������������������������������� ��������������������������� ������������������������
������������������������������ ���������������������������������������������� ��������� ����������������������������������������� ����������������������� ����������������������������������������
������������������������ ��������������������������������� ��������������� �������������������� Cognos �������������� ������������������ ���������������������������������������������������������������������� ������������ ���������������������������������������� ���������������������������������� �������������� ��� Cognos Configuration ������������������������������������
���������������� OpenID Connect
�������������� OpenID Connect ����������������������� OpenID Connect ������ IBM CognosAnalytics
Cognos Analytics ����������������������������� OpenID Connect �������� ������������������������������������:
����� 1. ����������������� 9
11.0.6 �����������IBMid
11.0.7 �����������Okta
ADFS (Active Directory Federation Services)
Azure AD (Active Directory)
Salesforce
PingFederate
Site Minder
IBMid ��� IBM Identity Service ���������������������������������������������� �������������������������������������������� single sign-on ������������������ IBM
���������������������� OpenID Connect �� IBM Cognos Configuration ���� ������ OpenIDConnect ������������������������ Cognos Analytics ������������������ ������������� ���������������������������
����������������� ���������� ��������������������������������������������������������������������� ���� � ���������������������� ��������������������������������:
v �������������������������������������� OpenID Connect
��������� ��������������������� ���������������������� � ��������� .csv ��������������������� ��������� “������������ .csv” ������ 11
v ����������� OpenID Connect ��������������������� ������� Cognos
���������������������� Cognos���� �������������������������������������������������������������������������
v IBM Cognos Configuration ������ ������������������� > ��������������� ������������������� ������������������������������������������������������� ���� true
������ ��������������������� Cognos�������������������������� ���������������� CognosAnalytics ���
���������1. �������������� IBM Cognos Analytics ����������
2. ��������������������� OpenID Connect
3. ���������� ������ > ���������������������� OpenID Connect
4. ���������������������
�������������������������
v ������������������������������ ����������������� �������������� ������� �����
10 IBM Cognos Analytics �������� 11.0: ������������������������
v ��������������������������������� .csv ���� �������������������� ��������������������� ��������� “������������ .csv”
���� .csv �������������� �������������������� ������������������������������������������������������� ��� ������������������������������������������������������������������
��������������� �������������� � ����������������
5. ����������� OpenID Connect ��������������������� ������� Cognos
a. ����������� Cognos���������������������������������������� ����������������OpenID Connect
b. ��������������������������
����� ���������������������������� ������
c. ��������������������
d. ������� ����������� ������������ OpenID Connect������ ������������������������� ��������������������������� ���� � ��
e. ���� Add����������������������� ���� ������
f. ���������������������������� OpenID Connect ��������������������� Cognos����
6. ������������������ �� �����������
����������� ����� ���� �������������
�������
������������������� OpenID Connect ������������������� Cognos Analytics ���������������������������������������������������������������������������������� ����������������� ��������������� ��������������������� Cognos Analytics
������������ .csv
���� .csv ������������������������������������������ OpenID Connect ��������������������������������������������������������
���������������������� ������������������� email����������������������������������:defaultName, businessPhone, faxPhone, givenName, homePhone, mobilePhone,pagerPhone, postalAddress, surname, userName
�������: ����������������������������������������������� IBM Cognos Analytics ������������������������ ��������������������������� ���������
������������������������������������������������������� ������
��������������������������� .csv ����������������:
v ��� 1: email,defaultName,givenName,surname
v ��� 2: [email protected],Andy Bergin,Andy,Bergin
����� 1. ����������������� 11
v ��� 3: [email protected],Kirsten Vaughan,Kirsten,Vaughan
�������������������������������������������� .csv ������������������������������������������� ���������
���������������������� defaultName������������������������������ ��������:
v ������� defaultName ��������� .csv ������������
v ������������� defaultName ��������� .csv ��� ���� givenName��� surname��������������������������� givenName surname
v ������������� defaultName, givenName��� surname email�����������������������
������������������������������������������� ������������������������������������������������������ defaultName������������������� ����������� surname��� givenName������������ ����������������� surname �������������� ������������������������ ���� Simpson1���� Simpson2
�������������� ����� ��������
����������������� ��������������������� ����� ��������������������� ���������
�������� ������� �� ����������������� �������������������������������������������IBM Cognos Analytics, ��� ������� Cognos��������� ������������������������������������� ���������� Cognos
��������������
������������������������ � �� �������� ����� ������������������� ������������������������������������������������������������������������������� ������������������
��������������������������� ������������������������������ ��������������������� ����������� ��������������������������������� �������� �������������������� ������� �
�������������
������������������� ����� �������������������������������������������� ����������� ���
����� ������������������������������������������������ �����������
����������������������������
12 IBM Cognos Analytics �������� 11.0: ������������������������
����� 2. �������������������
��������������������������������������������������������������� ������������������������������������������������������������������������������������� ���������������������������������������������� ������������������������������������������������������������
������������������������� ��������������������������������� ����������������������
�������������������
������������������������������������������������� ���������� ������������������������������������� ���������������������� �������������������������������������������������������������������� ������ ������ ����� �������� ���������������������������� �������Cognos ��������������������������������������� ������������������� ����������� � �������������������������������������������������� ������������������������
��������������������������������������� ������������������������������� ������������������������������������ ������������������������������������������������������� ������������������������� ���������������� ������������������������������������� ������������������� > ������������ > �������������������� > ��������������������������
���������������������
�������������������������������� ������������������������������������� ������������������������������������������������������������������������������
�������������������������������������������� (.zip) �� ������������������������������������������ Cognos ����������������� install_location\deployment ������������������������������������������������ � ��� IBM Cognos Analytics ���� ������������������������������������������������ �������������������������������������������� ���������������������������������������������������������
���������������������������������������
v ��������������
v �������
v ������
v �����������
v ������������������������
13
v ������������������������
v ���������������������������������
v ������� Cognos
v ����������������������
�������������������������������� ���� �������������������� ���������������������� ����������������������������
������������������
��������������������������� ����������������������������������������� ������������������������������������������ Cognos ����������������� install_location\deployment ���������������������������������������������������������������� ����
����������������������� ������������������������������������������������������� ������������������������������
14 IBM Cognos Analytics �������� 11.0: ������������������������
����� 3. �����������������������������
����������������������������������������������������������
����������������������������������������������� �������������������������������� ����������������������� ����������� ���������������� ����������������������������������������������������������
IBM Cognos Analytics ���������������������������������� OLAP ������� ������������������������ ������������������������������������ ����������������������������������������������������� ��������� ����������������������������������� (www.ibm.com/support/docview.wss?uid=swg27047186) ��������
��������������������������������������� ���� �������������� Cognos Analytics ������������������������������������ ����������������������������������������������� ������������������������������ �������������������������������������������������������������������� ������������������������������������ Everyone�������������������� ����������������������������������������������������������
�������������������������������������
���������������������������������������������������������������������� ���������������������������
������������������������������������������������������������������������ ���������������������������������
������������������
������������������������������������������������������� JDBC ���������������������������������������������������� JDBC ��������������������� Java™ Runtime Environment �������� 8 ����������������������������� Cognos Analytics installation_location\drivers������������������� ������� ������������������� IBM Cognos���������� �������������
���������������������������������������������� ���������������������������������� �������������������������������������������� ������ ������������������������������������IBM Cognos Analytics Administration
������������������
���������������� ������ > ����������������������������� ������������������������������������������������������� ��������:
15
v �����������������������
v �������������������������� Db2 LUW, Db2 ������ z/OS, dashDB, IBM Big SQL
v ���������������������� Db2 ������ z/OS
v ��������������� lightweight ��� ORACLE (������������������)
�������������������������������������������������������� ������ ������ ���������������������������������� ������ ������������������������������������ IBM Cognos AnalyticsAdministration
���������1. ���� ������ > �����������������������������
2. ������������� ����������������������������� ������������ ���������������������� .
3. �����������������������������������������������������
4. ������� ���������������������������������� ����������������������� ������������
5. ����������� ���������������������� ������� ���������������������������������������������������������������
�������������������������� ����������� JDBC URL ������������������������������URL ������������������������������� ������������������������������������������������� ���� ��������������������������������������
������� ��������������������� �������������������������������� ������������������������������ JDBC ����������� ������ “����������������������������������� Cognos” ������17 ������������������ ������������������ ��������������������� TM1 ��������������� HTTP ��������������������������� SSL ������������������ ��� SSL
6. ������ ������������������� ��������������������� ����������������� ������������������������������������
������������������������������������������������������������� ����������������������� ����������������������������������������� ��������������
������������ ���������������������� �������������� TM1 ������������������������������������������������� 4 ���� 5 ������������������������������������������� ��������� ������������ ��������
������������� ID ����������������������������������������������������������������������������������������������������������
����������������� IBM Cognos Analytics���������������������������������������������������������������������������������������������������� Cognos Analytics
16 IBM Cognos Analytics �������� 11.0: ������������������������
���������������������������������������������������������������������������������� ���������������������
���������������� ����������������������������������������������
���������� ��������������������������������� ������ ������������� �������� ID ����������������� �����������������������������������������������������������������
������ ������ ������� ���������������������������������������������
7. ���� ����� ������������������������������������������������� �������� ������ ����������������������������������������
�������
��������������������������������������� ����������������������������� ���������������������������������������������� �������������������������������������������������������� ������� ����������������
����������������������������������� Cognos
����������������������������������������� Cognos ������������������ JDBC
������������������������������������������������������������������� JDBC ������������������� IBM Cognos Administration ���� IBM Cognos Framework Manager ����������������������������������������������������� �������������������������� ������ > ����������������������������� �� IBM Cognos Analytics �������� 11.0.x
������������������������������������ ��������������������������������� ������������������������� ����������������������� JDBC
ibmcognos.fetchBufferSize
�������������������������������������������������������� JDBC �������������������������������IBM Cognos Analytics
���������������������������� IBM Cognos Analytics ������������������������ JDBC ��������������������������������������������� JDBC ���������� ���������� ���������������������������������������������������������������� ������������������������ ��������������������������� �������������������������� ���������������������������������������������������������� ������������������������� ����������������������� JDBC �������������������
��������������������������������������������������������������: maximum( (bufferSize/ 'row-size'), 10)
����� 3. ����������������������������� 17
������������������������������� 100 �������� (KB) ���������������������������������� ����������������������������������� ��������������������������������������������������� �����������������������������������������������������������������������������������������������������������������
���������������������������������������������������������������������������������������������� ����������� Cognos ������������������������������� ibmcognos.fetchBufferSize��������������������������������� ��������������� 10 ������������������� 10 ��������
If ibmcognos.fetchBufferSize > 1024 * 10240 then bufferSize = 1024 * 10240
If ibmcognos.fetchBufferSize < 10240 then bufferSize = 10240
��������������������������������������������� ������������������������� JDBC ��������������������������������� ���������������������������������������� ������������������������������������������� ������������������������������������������������������������������� ibmcognos.fetchBufferSize
ibmcognos.decfloat
����������������������� ���������������������������������������� decimal float �������DECFLOAT 128 ��������������������������������� 34 ���� ������������������� ������������������ �������������������������� DECFLOAT �������������������� ����������������������� DECIMAL(0,0)
��������������������������� ������������������������������ ibmcognos.decfloat=true������������������������������������ ��������������������� �������������������� ������������������� DECIMAL(0,0) ������������������������������
����������������������������������������������������������� �������� JDBC ������������������������������������ Java ������������ ������������������ ���������������������������������� ORACLE ����������������������������������������������������������������������������������� ���������������������������������������������� 16 ���� ������������������������������
������������ ��������������� ORACLE ������� NUMBER (��������������������) ���������� ���� SUM ����������������� ORACLE ���� NUMBER ������������ �������1234567890123456789 ����������������� 1.23456789012345677E18 ���������������������������
������������������������������������� ��������������������� ���������������� ���������������������������������������� DECIMAL(0,0) ���������������������������������� ������������������������������������������������� DECFLOAT ���
18 IBM Cognos Analytics �������� 11.0: ������������������������
ibmcognos.qualifier_list
������������������������������������������������������������������������������������ ��������� ��������� qualifiers ������������������������������������������������������� IBMCognos Analytics
���������������������������������������������������������� ibmcognos.qualifier_list������������������������������������� ���:
v ibmcognos.qualifier_list=CATALOG1.SCHEMA1, CATALOG2.SCHEMA2
v ibmcognos.qualifier_list=SCHEMA1, SCHEMA2
v ibmcognos.qualifier_list=CATALOG1.SCHEMA1, SCHEMA2
v ibmcognos.qualifier_list=CATALOG1, CATALOG2
���������� qualifier ���������������������������������������������������� ����������������������� �������������������������� �������������������� ����������� ������������������������� ������������������������������
���������������������������������������� ���������������������������������� qualifier ��������������� ����������������������� ����������������������������������� ���������
����������������������� ��������� qualifiers ����������������������������������� ������������������������������������������������������������������������� �������� ���������qualifier ������������������������������������������������������������ �������������������������� JDBC ���������������������������������� SQL ��������������������������������������������������������������������������������������������������������������
ibmcognos.authentication
����������������������������������������������������������������������������������Kerberos
���������������������������������������������� ������� ibmcognos.authentication=java_krb5�������������������������������� JDBC ������������������������������� Kerberos ��������� ���������������� �����������������������������������������������������������������:
v ������������������ Teradata ������� ibmcognos.authentication=java_krb5;LOGMECH=KRB5;
v ������������������ SAP-HANA ������� ibmcognos.authentication=java_krb5;
v ������������������ Microsoft SQL Server ������� ibmcognos.authentication=java_krb5;authenticationScheme=JavaKerberos;
����� 3. ����������������������������� 19
���������������������������������������������������������
���������������������������������������������������������� ���������������������� ������������������������������������ ������������������������� ������������������������������ �����������������������������������������������
�������������������������������������������������������������������������������������������������������� ��������������� ���� ������������ ���������������������������������
���������1. ���� ������ > ���������������������������������������������������������������������
����������������
2. ������� �������������������������������������������������������������� ���������������������������������������������
3. ������ ����� ������������ ��������� ��������������������������������������������������������������������
4. ���� �������������� ����������������������������������
������ ������������������������������������������������
5. ���� �������������� �������������������
6. ������������������������������������������ ������� ����������������� �������������������������������������
�����������������������
����������������������������������������������������� IBM Cognos Analytics ������������������������������ JDBC ������������������������������������� ��������������� �������
��������������������������������������������������������������� ��������������������� ������ �������������������������������
�������� Cloudera Impala JDBC
IBM Cognos Analytics ���������������������������������������� Cloudera Impala ��������������JDBC �������� 2.5.34 ���������������� ������������������� JDBC ����������������������� 2.5.34
����������������������� Cloudera Impala ��������������������������������������� JDBC ����������������������������������� 2.5.34 ���������������������������������
����������������������������������������� ��������������������������������������� JDBC ������Impala �������������� Cognos Analytics ����������������������� �����������������������
20 IBM Cognos Analytics �������� 11.0: ������������������������
������ �������� Cloudera (www.cloudera.com/downloads/connectors/impala/jdbc/2-5-34.html) ��������������������� ������������������ Cloudera
���������������������������� Pivotal HDB
���������������������������� Pivotal HDB ����������������������������������������Pivotal
���������������������� ����������� Pivotal ������������������������������������� ������������������������������������������������ IBM Cognos Administration
<commandBlock><commands><sqlCommand><sql>select disable_xform(’CXformExpandNAryJoinDP’)</sql></sqlCommand></commands>
</commandBlock>
��������������� HDB �������������������� �������� Pivotal JDBC ���������������������������������������������� ���������� ���������������������� Pivotal ������������������� ������������������������ ������������ IBM Cognos Analytics ��������������������������������������������������������������
����������������� Denodo 5.5 ��� 6.0
��������������������� Denodo 5.5 ��� 6.0 ������������������������������ Denodo JDBC
���������������������������� Denodo 5.5 ��� ������ 20160322 ���������� Denodo hot fix#26682 ����������������� ���������������������� Denodo 5.5 ��������������������
���������������� Denodo 6.0 GA ������������� Denodo hot fix #26681
Denodo ��������������� 6.0 JDBC ����������������������� 6.0 ����������� 5.5 JDBC ����������������������� 5.5
�������� Denodo 5.5 JDBC ��������������������������������������� 6.0 ���������������������������������� 6.0 ���������������������������������������������������� ����������
��������������������������������� Cognos Analytics ��������
������������������������������������ IBM Cognos Analytics ��������
�������������������������������������������������������������� Cognos Analytics ������������������������������������������������������������������������������ ����������������������������������������������������������������������������������������������� ������������������������ ���������� IBM Cognos Administration �������������������������������������������
����� 3. ����������������������������� 21
������������������� �������� ����������������������������������������������������������� ��������������������� ����������������������������������������������
�������������������������������������������������������������������������������������������� ����������� ������������������������������������������������� Cognos Analytics ������������ ���������������������� ����������������������������������:
^User ID:^?Password:;LOCAL;PG;DSN=MyDataSourceName;UID=%s;PWD=%s;MyODBCDSN@ASYNC=0@0/0@COLSEQ=
��������������������������������������� LOCAL ����������������� ������������������� PG
���������������������������� Cognos Analytics ����������������������������������������������������������������� ��������� �������������������������������� �������� � ��������������
Cognos Analytics 11.0.8
��������������������������������������������������� 11.0.8:
v Hitachi Advanced Data Binder Platform (JDBC)
v IBM Domino (JDBC)
v MongoDB Connector for BI �������� 1
�������������������������� 1 �� � �������� MongoDB Connector for BI �������� 2.2.1 �������������� Cognos ����������������������������������� 2.2.1 ������� ������������� ���������������������������������������������������������� ���������������� MongoDBConnector ������ BI 2.2.1
Cognos Analytics 11.0.6
��������������������������������������������������� 11.0.6:
v Actian Matrix (ODBC ��� JDBC)
���������������� ODBC ������������������������������ ODBC DSN �������������� ODBC���������������� Microsoft Windows ����������������������� Actian Matrix ����������������������������� JDBC ������������
v Actian Vector (ODBC)
���������������� ODBC ������������������������������ ODBC DSN �������������� ODBC���������������� Microsoft Windows ����������������������� Actian Vector
v IBM® IMS™ (JDBC)
Cognos Analytics 11.0.3
��������������������������������������������������� 11.0.3:
v IBM Cognos Finance - ���������������� CL
22 IBM Cognos Analytics �������� 11.0: ������������������������
v Microsoft SQL Server Analysis Services 2005 ��� 2008 (ODBO) - ���������������� YK��� M8
���������������������������� Windows ��������������� ODBO ����������������������������� Microsoft Analysis Services ����������� ������������������������������� Windows��������������������� XMLA (���������������� X8) ��������� ODBO ������������������SQL Server Analysis Services 2005, 2008 ��� 2008 R2 ��������������������������������������������������� 2012 (���������������� M12) ��� 2014 (���������������� M14)������������������������ ����������������������������������� 2012 ���� 2014 ������������������������ 2012 ��� 2014 �������������� SQL Server Analysis Services ��������������
������� Cognos Analytics 11.0.0 ��������������������������������������������������������SQL Server Analysis Services ����������������������������������������� SQL ServerAnalysis Services
v Microsoft SQL Server 2005 ��� 2008 Native Clients ��� OLE DB (���������������� OL��� Provider=SQLNCLI or SQLNCLI10)
�������������������������������������� Microsoft SQL Server �������������������� ( https://msdn.microsoft.com/en-us/library/cc280510.aspx) ������������������ ��������������SQL Server ���� OLE DB ������������������������ Native Client �������������Provider=SQLNCLI11��������������������������� SQL Server Native Client �������� 11����������� SQL Server 2016, 2014 ��� 2012 ��������������� ������������������ ��������Microsoft ODBC ������ SQL Server ������������
v SAP ECC
Cognos Analytics 11.0.2
��������������������������������������������������� 11.0.2:
v Composite (ODBC)
Composite (���������������� CS): ���������������� ODBC (OD) ��������� ������������������������ ODBC DSN ���������������������� ODBC ���������������� Window ����������������������� Siebel ������������������������������������������ � �������������� CiscoInformation Server ��� Denodo ���� JDBC ������������������������������������������������� Siebel
v IBM Cognos Now! - Real-time Monitoring Cube (���������������� LA)
����������������� ��������
v IBM Cognos Planning - ������� 7 (���������������� CR)
�������������������������
v IBM Cognos Virtual View Manager (ODBC)
v IBM Red Brick® (ODBC)
v Progress OpenEdge (ODBC)
v Siebel
v Sybase Adaptive Server Enterprise (CT-Lib)
����� 3. ����������������������������� 23
��������������
Cognos Analytics ���������������������������������������������� ���������������������� ��������������������������� ������� ����������
��������������������������������������������������������������������������������� CognosAnalytics ����������� IBM Cognos Analytics 11.0.0 Supported Software Environments �������������� ������������ 11.0.8 ��������������������������� ������������������������������������������������������:
v ������ ��������������� ������������ ��������������� �������������������� ��������������� ����������������������������������������������������������
v ������ ��������������������� ������������������������� ���� Linux������ �������������������� ��������������� ����������������������������������������������������������������������� ��������������������
Cognos Analytics 11.0.9 - �����������������������
��������������������������������������������������������� IBM Cognos Analytics ��������������������������������������������������������
������������ Teradata JDBC - ������������������������������������������
������������������������������������������������� ����������������������������������������������������������� Teradata JDBC ����������������������������������������������������������� ����������������������������������������� Teradata JDBC DriverReference
������������������������������������������������������������������������������ ���������������������������������������������������������������� Cognos Analytics
������������ Snowflake - ������������������������������
������������������ Cognos Analytics ����������������������������������������� Snowflake������� com.snowflake.client.jdbc.SnowflakeDriver ������������ Cognos Analytics �������� 11.0.9 ����������������������������������������� Snowflake ������� net.snowflake.client.jdbc.SnowflakeDriver
��������������������������������������������������� Snowflake com.snowflake.client.jdbc.SnowflakeDriver ����� Snowflake �������������������� �������� ������������������������������� ���������������� ���������������� net.snowflake.client.jdbc.SnowflakeDriver
24 IBM Cognos Analytics �������� 11.0: ������������������������
�������: ���������������������������������������������� �������� ������ > ���������������������� ������������ �������� ���������������������������������������������������������������� ����������������������������������������� ������ > �����������������������������
������������ Amazon Redshift - ������������������������������
��������������������� Cognos Analytics ����������������������������������������� AmazonRedshift ������� com.amazon.redshift.jdbc41.Driver��������������� RedshiftJDBC41.*.jar
������������ Cognos Analytics �������� 11.0.9 �����������������������������������������Amazon Redshift ������� com.amazon.redshift.jdbc.Driver��������������������������������� Amazon JDBC �������� 1.2.1 ����������� ��������������������������� RedshiftJDBC.jar
���������������������������������������������������������� ���������������� ������ com.amazon.redshift.jdbc.Driver
�������: ���������������������������������������������� �������� ������ > ������������������������� ������������ �������� ��������������������������������������������������������� ������� ����������������������������������������� ������ > �����������������������������
Cognos Analytics 11.0.8 - �������������
IBM Cognos Analytics �������� ���������������������������������: MongoDB Connector for BI2.2.1, Spark SQL 2.1 Thrift server, Azure SQL Data Warehouse, Amazon Redshift ���Amazon Athena
MongoDB Connector ������ BI 2.2.1
Cognos Analytics �������� MongoDB Connector for BI �������� 2.2.1 ������������ MySQLJDBC ������������� MongoDB ���� MongoDB Connector for BI 2.2.1 �������������� PostgresJDBC ����������������������� ����������������������� MongoDB 3.x
MongoDB Connector for BI �������� 1 ������������������� �������������������������� 1 �� ��������������������� ��� ����������� Cognos �������������������������������������� 2.2.1 �������������������� ��������������������������������������������������������������������������MongoDB Connector for BI 2.2.1
Spark SQL 2.1 Thrift server
Cognos Analytics �������� Spark SQL 2.1 Thrift server ������������ SIMBA (Magnitude)JDBC ������ Spark SQL
����� 3. ����������������������������� 25
Azure SQL Data Warehouse
��������������� Azure SQL Data Warehouse ������������������������������������������Microsoft SQL Server
Amazon Redshift
������������� ������ Amazon Redshift ������������������������� RedshiftJDBC41*.jar ��������������� Cognos Analytics install_location\drivers������������������� ���������������� 4.0 ���� 4.2 ��������������������������������������������������� ������������������������������ Amazon ������������ Amazon JDBC ����������������������� 1.2.1 ����������������com.amazon.redshift.jdbc������ ����������������������� ���������������������������
Amazon Athena
Cognos Analytics �������� Amazon Athena ������������ Amazon Athena JDBC �������������������� ������� Amazon S3 ������������������������������������� Amazon Athenas3_staging_dir �������������������������������
Cognos Analytics 11.0.7 - �����������������������������������
����
MemSQL ��� Presto ����������������������������������������������� ��� MariaDB ��������������������������������������
MemSQL
�������������������� ��������������������� MemSQL ����������������� ����������������������������� �������������������� ��������������������������� MySQL ����������� Connector/JJDBC
Presto
�������������������� ��������������������� Presto (�������� 0.167 ����������������) ����������������� ������������ Presto ��� Teradata Presto JDBC ���������������� ����������������������������������� ���������������������������������������������� Presto ���� Teradata Presto ������������������� JDBC ������
�������: ���������������� Presto �������������������������������������������������������(CHAR) ������������������������������������ �������������������������� ������������������������������������������������������
26 IBM Cognos Analytics �������� 11.0: ������������������������
MariaDB
������������ Cognos Analytics 11.0.7 ����������������� MariaDB ������������������������������� ������������������� MariaDB Connector/J JDBC
������������������ ��������������� MariaDB ���������������������������������������� MySQL����������� MySQL Connector/J JDBC
�������� MariaDB Connector/J ������������������������ ������������������������������������� ������������������������ SQL ������������� MariaDB 10.2.4 ������������������������������������������ MySQL JDBC ���������������������������������� ���������������������������������������� ���������������������
����� 3. ����������������������������� 27
28 IBM Cognos Analytics �������� 11.0: ������������������������
����� 4. ��������������������������
���������������������������������������������������������������������������������Cognos Analytics ������
��������������������������������
�������������������������������������������� IBM Cognos Analytics
���������1. ����� ������ > ������������ > ���������������� �����������
2. ������������� ����������������������������:
v ����������������
v ��������������������� (�����������)
v �����������������������������
v �����������������������������������������
�������: ��������������������������������������������������
3. ���� ����
������������ HTTP Strict Transport Security
������������������������ HTTP ������������������������������������������������������� �������� HTTPS �������������������������� HTTP Strict Transport Security (HSTS) ������������������� ������������������������������ Secure Sockets Layer (SSL)
���������1. ����� ������ > ������������ > ���������������� �������������������
2. ����������������� HTTP strict transport
3. ���� ����
�����������������������������
��������������������������������������������������������������������� �����������������������������������������������������������
29
IBM Cognos Analytics ���������������������������������� ����������������������� ��� ������������������� �������������������� ��������������������� �����������������������������
���������� �������� IBM Cognos �����������������������������������������������install_location/logs�������� ���������������������� �������������� cogaudit.log���������������������������������������� cognosserver.log��� dataset-service.log���������������������� ���������������������������� ���� ��������������������� IBM Cognos Configuration �������������������������� ��������������������������������������� Manage��� Cognos Analytics ��������������������������������������������install_location/logs ���� ������������������������� ����������������������������������� ������������������������� ������������������ ��������������������� ��������� “��������������������”
��������������������������������������������������������� Cognos Analytics �������������������������������������������������������������� ������������������ ���������������������������� install_location/logs : cognosserver-session-session_id.log���dataset-service-session-session_id.log��������������������� �������� “�������������������������” ������ 33
��������������������������
�������������������������� IBM Cognos Analytics - Reporting ����������������� ��������������������������������������������������������������������� ������������������������������������������������ ������������������ ������������������������������: ������������������������, ���������������������������� ������������������� ���������������������������������������������������� ������������������������������ ����������������
��������������������� ����������������������������������������������������������������������� IBM Cognos Analytics - Reporting
��������������������
���������������������������������������������������������������������������������������������� ������������������ �������������������������������������������������������������������������
������������������������������������������ cognosserver.log��� dataset-service.log������������ install_location/logs����������������� �������������������������������������������������������������������������������� ���������������������������������
30 IBM Cognos Analytics �������� 11.0: ������������������������
�������������������������������������� JAVA IPF (ipfclientconfig.xml) ��� CognosAnalytics ���������������� Cognos Analytics ������������������������������������������������������������������������ ���������������������������������������������������������������� ������������������������������� ������
�������������������������������������������������������������������������
�������: ��������������� ipfclientconfig.xml ���������������������������� ���� ReportServers ���� Framework Manager ipfclientconfig.xml ������������������������������������� ������������� ������������������
�������������������������������
������������������������������������������������������������������������� ��������������������
���������
1. ����� ������ > ������������ > ���������������� ��������������������
2. �����������������������������������������:
v ����������������������������������
v ��������������������������������������
3. ���� ����
�������������������������������� IBM Cognos ��������������������������������
����������������������������������������������������������
����������������������������������������������������������������� �������� ������������ ����������������������������
IBM Cognos Analytics ��������������������������������������������������������������������� ����������������� ����������������������������������� ������ DEFAULT LOGGING������������������� ����������������������������������������������������������������������������������������������� ���������������������������������������������������������������������
�������������������������������������������������������������������������������������� ���������������������������������� ������������������ JSON spec ������������������������������������������������������������� ����������������������� ������������������������������������� ��������������������������������������������������
���������
1. ����� ������ > ������������
2. ��������� ��������������������
3. �����������������������������������������������������������������������������������������
���� ������������������������������������������������������ �������������� AAA
����� 4. �������������������������� 31
4. ���� ���
�������������������� DEFAULT LOGGING ������� ������
�������������������������������� Cognos Analytics ������������������������������
�������
������������������������������ cognosserver.log��� dataset-service.log ������������ install_location/logs
���������������������������������������������������������������������
��� Cognos
������������������������������������ IBM Cognos ������������������������ ������������������������������������������������������������������������
����������� Cognos ���������������������������������������������������� ���������������������������������������������������������������������������������������� ������������������������������������� ������������� �������������������������������������������
���������
1. ������������� IBM Cognos Analytics installation_location/wlp/usr/servers/cognosserver ����������� bootstrap.properties
2. ��������� ������������������������ com.ibm.bi.logging.glug.hint.isready=false������������������������������������
3. ���������������� Cognos (��� Cognos Configuration ����������������������)
������������������� ���������������� com.ibm.bi.logging.glug.hint.isready=false����������������������������������������������������������� � ������������� ����������������������� ���������������������������������������������installation_location/logs/cognosserver.log ������������������������� ���������������
4. ������������������������ ��������������������� com.ibm.bi.logging.glug.hint.isready=false���������� bootstrap.properties ������������������������������������������� ������������������� Cognos ���������������������� ������������� �������������������������� �������������
�������: ����������������������������������������������������������� Cognos ������������������������� �������������������������������������������� ����������������������������������������������������������������� ���������������������������������������������������
32 IBM Cognos Analytics �������� 11.0: ������������������������
�������������������������
������������������������������������������������������������������������������ IBMCognos Analytics ��������������������������������
��������������������������������� �������� ������������������������������������� ����������������������������������������
��������� ��������������������������������������������������������� �����������������������������������������������������������������������������
��������������������������������������������������������������������������� ������������ ������������� ����������������������������������� ���������������
�������������������������������������������������� ����������������������������������������� �������������
���������1. ����� ������ > ������������ > ����
2. ��������� ��������������������
3. ����������������� �������������������������������
������������������������� ������� ������������������������������������� �����������������������������������������
4. �����������������������������������������:
v ����������������������������������� (���������)
v ��������������������������� (���������������)
5. ���� ���� ����������������������
�������������������������������� IBM Cognos Analytics
������������������
������ ������������������������������������������������������������� ������������������������ �������������������������������� ������������������������������ ���������������������������������������� ��������������������������������������� ���������������������������������������� �������������������� cognosserver-session-log_identifier.log���dataset-service-session-session_id.log ������������ install_location/logs
����������������������������������������������
�������������������������������� Cognos Business Intelligence �����������������Analysis Studio, Event Studio ��� Query Studio ���
����� 4. �������������������������� 33
���������1. ����������� Cognos Analytics ���������������������������
2. ������������������� �������� http://CA_server_name:port/bi/utils/ConfigSetter.html
3. ������� ���� �������� Configuration.LegacyLaunchable
4. ����������� ���
v ������������������ 0 ������� ���������������������������������
v ������������������ 1 ������� ���������������������������
5. ������������������������������� ���������������������������:
a. ����� 1 ������� ��� ��������������� ������������������
b. ����� 0 ������� ��� �������������� ������������������
6. ���� ���
��������: ��������������������������������������������������
�������
����������� Cognos Analytics ����� ����� > ���� ����������� Analysis Studio, Event Studio ���Query Studio ���������� ����������� ����������������������������������������
34 IBM Cognos Analytics �������� 11.0: ������������������������
����� 5. ��������� ����������������������
������������������������������������������������������������������ ���� �������������������������������
������������������������������������������������������� ����������������� ����������������������������������� ���������������������������������������������������� ����������������������� ������������������������������������������������ ��������������������������������������� ������������������������������������� ������������������������������
������������������������������������������������������������� ������������ ������������� ������������������������������������������������������������������ ��� ����������������������������������������������� ��������������������������������������������
���������������� ���������������������������������� ���� ������������� ����������������� ������� ������������������������������������������������������ �����������
����������������������������������������� ������ > ����������� IBM CognosAdministration ����� �����������������������������������������
������������������������
������������������������������������������������������������������ IBM Cognos
����������� �������������������������������������� ����� ��� ������������������������������������������������� ����������������������������� ��������� ��������������������������������� ��������������� ������� ����������� ��������������������������� �������������������������
��������������������������������������, �������� ����������������������������������� �����������������������������������������������������
���������������������������������������������������� ������������������������������������������������������������������� ��������������������������������
����������������������������� ������������������������ dispatcher ���������� ����������������������������������������������� ��������������������� �������������� ���������� ������������������, ��� ��������������������������
35
����������������������� dispatcher, ID ��������� ������������������������ ������������� ID������������ dispatcher �������������������������������������������� ���������������������� ���������������� ID ������������ dispatcher ���������
��������������������������������� ���� �������������� ���������������������������������������������� ������������ ��������������������������������� �������������������
��������������������������������������� ������������������
���������1. ������� ������ ������� �������
2. ����������������
�������������� ��������
3. ������ ������� ����������������������������������
�������: ������������������������������������� ������� ������� �������
4. ���� ���
�����������������������������
����������������������
���������������������������������������������������������� IBM Cognos
���������������������������������������������������������� �������������������������� ��������������� ���������������������� ��������������������� ����������� ���������������� ������������������� ����������������������� ����������������������������������
���������������������������������������������������� ������������������������������������� ���������������������������� ���� ������������������������������� ������������������������������������� ��������������������� ���� ��������� ���������������� ��������������������� �������������������������� ��� dispatcher ��� ����������
������������������������
���������1. ������� ������ ������� �������
2. ����������������
�������� ����
3. ����������������������������������������������������������������
36 IBM Cognos Analytics �������� 11.0: ������������������������
�������������������������������������������������
������������������������������������������������������� �������������������������������
����������� ����������������������������������������������������� ��������������������������������������������������������������� ������������������������ ������������������������������������������� ������������������������������������������������
�������������������������� ������������, �������� ����������������������������������� �����������������������������������������������������
���������������������������������������� ����������������������������
���������������������������������������������������� ��������������������������������� ���������������������������������� ��������������������� �������������� ���� ���������
������������������������������������������� �������������
��������������������������������������������
���������1. ������� ������ ������� �������
2. ����������������
�������������� ���������������
3. ������ �������������������������������������� ���
�������: ������������������������������������� ������� ������� ������� ������������������������������������������������������ ������� ������ ��������������
4. ���� ���
v �����������������������������
v ���������������������������������������������������
v �����������������������������������������������������������������������������
��������������� ��������������������� ��������������������������������������������� ������� ������� �������������������������������������������������������������������������������������
����������������������������������������
������������������������������������������������������������
����� 5. ��������� ���������������������� 37
����������� ����������������� ����� ����������������� ����������������� ����������������������������������������������������������
��������������������������������� ���������������������������� �������������
���������������������������������������������������� ������������������������������������������������������������������� �������������������������������� ���������������� ����������������������������������������������
������������������������� ���������������������� ������������������������������������������� ����������� ��������������������� ������������������ ����������������� ��������������������������������� ���� ��������������������������������
���������1. ������� ������ ������� �������
2. ����������������
�������������� ���������
3. ������ �������������������������������������� ���
�������: ������������������������������������� ������� ������� �������
4. ���� ���
�����������������������������
5. ����������������������������������������� ���� ��������� ( ) ������ ���������������������
����������������������������������������������������������������������:
�������� 1. �������������������������������������
������� �����
���������
�����������������������
����������
���������������������
��������������
���������������������
����������������������
38 IBM Cognos Analytics �������� 11.0: ������������������������
�������: �������������������������������������� ������������������������������
�����������������������������������
������������������������������� 1 ��� 5 ������ ���������������������
���� ������������������������� 1 ����� ����������������������������� 5 �������������������������������������� ������������������ ������������������������������ ��������������������� ��� 3
����������������������������� ����������������������������������������������������������
����������������������������������������������������������� ���������������������������� ��������������� ���������������� ���������������������������������
������������������������������������� ������������������������������������������������������������
�������������������� ���������������������������������������� ������������������������������� ������������� ��������������������������������������������������������������������������������
������������������������������������������ ����������� �������������������������������������������������� ���������������������� ��������������� �������������������������������������������������������� ������������������������������ �������������������������������������������� ������������������������������ ����������������������������������������������� ��������������� ������������
������������������������������������� ����������������������� ����������������������������� �����������������������������������������������������������������
������������������
������������������� ���������������������� ����������� �����������������������������
���������1. ������� ������ ������� �������
2. ����������������
�������������� ���������
����� 5. ��������� ���������������������� 39
3. �������������������������������������������������� ���� ��������� ( ) ������ ��������� ����� ���������������������
4. ������� ������������������������������� �������� ����
�������
���������������������������������� �������������������������������������
40 IBM Cognos Analytics �������� 11.0: ������������������������
����� 6. ����������������
������������������������������������� IBM Cognos Analytics
��������������� IBM Cognos Analytics ���� ���������������������������������������������������� ������������������������������������ ��������������������������������������������������������������� ������� ��������������������� ��������������������������������������������������������������������
��������������������������������������������������� ������ > ��������������������������������������� ������������� ����������������������������
��������������������������������������������������������� ���������������������� �������������������� ������������ �����������������������������������
IBM Cognos Analytics �� ������������������������ �������������������������������������������� ����� ������ ��� (www.ibm.com/support/docview.wss?uid=swg21684890) ������������������������� ������������������������ IBM Cognos Analytics �������
�������������������������������������������������������������������������������������������� ���������������������������������������� ��������� ����� 9, “��������������������������������������”, ������ 109
���������1. ������������������������������� IBM Cognos Analytics ���� ������ > �������
2. ������������������������������������������ ��������� ������������������������������������� ����������� ������� ��� ��������������
����������������������������������������������� ���������������������������������
3. ��������������������������������������� ���� ������
��������������������������������������������
4. ����������������������������������������������� �������������������
�����������������������������������������������
5. ���������������������������� ���� ����������� �������������������������� CSV �����������
�������: �������������������� ������� � ��������� ���������������� ������������������������ �����������:
41
����� ������������
3 Analytics Administrator2 Analytics Explorer1 Analytics User0 Information Distribution-1 ����������������������������������������������������
������������������
��������������������� ��������������������:
v �������������������������������
v �������������������������������������������
v ������������������������: ������������������������������������������� ����������������
������������
���������������������������������������������������������� Cognos Analytics ������������ ����������������������������������������������������������
������������������������������������������������
�������� 2. ������������ Cognos �������������������
������������ ����������
Analytics Administrators ������������������������������������ Analytics Explorers ���������������������� IBM Software Development Kit ���
Analytics Explorers ����������������������������������� Analytics Users ���������������������� Planning Analytics for Microsoft Excel, CognosFramework Manager, Cognos Cube Designer and Dynamic QueryAnalyzer ��� Transformer ���
Analytics Users ��������������������������� �������� ������ ������� �����������������/����������������������� ���� ����������� �������������������������� ����������������� ����������������� ���������������������� Cognos for Microsoft Office, Cognos Workspace,Cognos Event Studio, Cognos Query Studio ��� Cognos AnalysisStudio ���
�������������������������� ������������������������������������������� ���� ������
42 IBM Cognos Analytics �������� 11.0: ������������������������
������������������������������
�� IBM Cognos Analytics ������������ �� ������ > ����������������������������������������������������� ����� ���������
��������: ����������������������������������� ������������������������������������������������������������ ����������������������������������
������������������������������������������������������������ ���������� �������������������������� � ���������������� �������� X ��������� ������������������������ ����������������������������
�������� 3. ������������� Cognos Analytics 11 ���������������
����������
�������������������������
InformationDistribution
AnalyticsUser
AnalyticsExplorer
AnalyticsAdministrator ����������
AdaptiveAnalytics
���������������
���������������
���������������
���������������
�������������
X X X
AdaptiveAnalyticsAdministration
���������������
���������������
���������������
���������������
�������������������
X
���������������������������
X
�������������������������
���������������
���������������
���������������
���������������
�������������������������������
IBMConnections
�����������������������
X X X
������������������������
X
����� 6. ���������������� 43
�������� 3. ������������� Cognos Analytics 11 ��������������� (���)
����������
�������������������������
InformationDistribution
AnalyticsUser
AnalyticsExplorer
AnalyticsAdministrator ����������
MetricStudioAdministration
X
MobileAdministration
X
����������������������
���������������
���������������
���������������
���������������
�������������������������������
IBMPlanning
Contributor
�����������PowerPlay
X X X ������������������
�����PowerPlay
������������ X
������������� QueryService
X
���������������������������
X
������������������������������������ UI
X
�����������������
X
������ �������������
X
AnalysisStudio
X X X
CognosInsight
���������������
���������������
���������������
���������������
44 IBM Cognos Analytics �������� 11.0: ������������������������
�������� 3. ������������� Cognos Analytics 11 ��������������� (���)
����������
�������������������������
InformationDistribution
AnalyticsUser
AnalyticsExplorer
AnalyticsAdministrator ����������
��������Cognos
X X X X
��������� X X X X
��������������
X X X
�������� X X X X
�������������
X X X X
������������
X X X �������������������������������
IBMConnections
������������������������������������
X X X �������������������������������
IBMConnections
������������������������������������
X X X �������������������������������
IBMConnections
ControllerStudio
���������������
���������������
���������������
���������������
�������������������������������
IBMConnections
�������� X X X
�������������������
���������������
���������������
���������������
���������������
�������������������
X X
��������� X X X X
����� 6. ���������������� 45
�������� 3. ������������� Cognos Analytics 11 ��������������� (���)
����������
�������������������������
InformationDistribution
AnalyticsUser
AnalyticsExplorer
AnalyticsAdministrator ����������
��������������������
X X X X ����������������������������������
���������������������
�����������������
������� ����������������
������
�������������������������������
X X X ����������������������������������
�������������������������������������������������������������������������������������
��� �����������
������������������
�����������������
Event Studio X X X
���������������������������������
X X X X
����������������������
X X X
�������������������������������
X X X
46 IBM Cognos Analytics �������� 11.0: ������������������������
�������� 3. ������������� Cognos Analytics 11 ��������������� (���)
����������
�������������������������
InformationDistribution
AnalyticsUser
AnalyticsExplorer
AnalyticsAdministrator ����������
��������������������������������
X X X
�������������
X X X X �����������������������������������������������������������������������������
���
����������������������������
X
��������������
X X X X
�������������CSV
X X X X
X X X X
�������������XLS
X X X X
�������������XML
X X X X
����������� X X X X ������������������������ IBMInfoSphereBusiness�����������������������������
���������� X X X X
������������������������������
X
����� 6. ���������������� 47
�������� 3. ������������� Cognos Analytics 11 ��������������� (���)
����������
�������������������������
InformationDistribution
AnalyticsUser
AnalyticsExplorer
AnalyticsAdministrator ����������
������ X X X X ��������������� ������
����������������������
�����
����������������
X
��������������������������������������������
X X X
MetricStudio
X X
����������� X X
������� X X X X
��������������������
���������������
���������������
���������������
���������������
�������������������������������
IBMPlanning
Contributor
PowerPlayStudio
X X X ������������������
�����PowerPlay
Query Studio X X X
�������� X X X
����� X X X
ReportStudio
X X X
������������������������
X
��������� X X X
48 IBM Cognos Analytics �������� 11.0: ������������������������
�������� 3. ������������� Cognos Analytics 11 ��������������� (���)
����������
�������������������������
InformationDistribution
AnalyticsUser
AnalyticsExplorer
AnalyticsAdministrator ����������
�����/�� X X X
������HTML ��������
X X X
SQL �����������������
X X X
�����������������
X X X
��������������������
X X X
������������������������
X X X
���������������������
X X X
����������������������
X X X
��������������������������
X X X
������������������������
X X X
�������������������
X X X
�������������������������������
X
����� 6. ���������������� 49
�������� 3. ������������� Cognos Analytics 11 ��������������� (���)
����������
�������������������������
InformationDistribution
AnalyticsUser
AnalyticsExplorer
AnalyticsAdministrator ����������
������� SelfServicePackage
X
�����������������������������������
X
��������� X X X X
��������������������������
X
����������� X X X
����������� X X X
�����������������������
X X X
�������������������������������������������
������������������������������������������������������������������
v ����������������������������������� �������������������������������������������� ����������������� ������������������������������������������������������������������ CognosAnalytics (�������� 11.0.7 +)
v ���������������������������������������� ������������������� � �� �������������� ���������������������������������������������������� Cognos Analytics (�������� 11.0.0 ��� 11.0.6)
50 IBM Cognos Analytics �������� 11.0: ������������������������
������������������������: ��������������������������������������
��������������������� Cognos �����������
������������������������������������������������������������������ Cognos ����������������������������� ��������������������������������������������������� ��������������������
��������������������� ��������� “������������” ������ 42
v �������������������������������������������������������������������������������������� ������������������������� ��������������������������������������
v ������������ �������������������������������������������������� ������������������������ �������������������� ����������������������������
����� 6. ���������������� 51
52 IBM Cognos Analytics �������� 11.0: ������������������������
����� 7. ������������������
��������������������������������� ����������� �������������������������������������
������� �������������������������� ����������� ��������� Cognos����������� ������������������������������������������������� ������������� ��������������������������������������������������� � ��� ������������������ ������������������ ��������� Cognos
�������������� ���������������������������������� �������������� IBM CognosAnalytics ��������������:
v ����� ����������� ����������������������
v ����������������������������������������� � ����������������
v �����������
v �����������������������
���� ����������� �� �������������������� ������������������������ ��������� ������������������������������������ ���������������� ��������������������������������� CognosAnalytics �������� �������������� ����������� ������������������������ ���� �����������
�������: ���� ����������� �� IBM Cognos Administration ������������������ ������������������
�����������������������������
������������������������������������������������� ������������������������� ������������������������� �������������������������� ����������������������������������� ��� �������������������
���������������������������������� ID ����������������������������������������� �������������� ����������������������������� ID ������� ��������� “���������������” ������ 54
ID ��������������������������������� ID ���������� ������� ��������� ID ��������������������������� ��� ID ������� ����������������� ID ������������������������������������������ � ����� ��������������������� ��������� “���������� ID �����������������������������” ������ 55
������������������������������������������ ������� ID ���������������������������� ID ����������������
���������� Model ��� modelView ������ ID ����������������� ������������ ����������������������������������������������
53
���������������
���������������������������������������������������������������������������� ��������������� IBMCognos Analytics
������������������
����������������������������������� IBM Cognos Configuration
������������������
��������������������������������������������� Cognos Analytics ������������ ������������������� ID ����������������������������
ID �������������������������������������������� ���� LDAP, Active Directory ���� �������������������������������������� ��������������������� ��������� ���������������������������������
���������1. �� ������ ��������� �����������
2. ���������� ������������
3. ��������������� ������� ID �������
������������������������� ID �����������������������������������������������������������������������
��������������� � ��������������������
4. ����� �����
�������
��������������������� ����������� ���������� �������������������
��������� ����������������� ������� ������������������
�������� ID �����������������������������
���������������������������� ������������������ ID ������� ��������������������������������������� ���������������������������������������������� ID ��������
����������������������������������������� IBM Cognos Analytics, �������� ��� ID ���������������������
��������������������� �������������� ID ������������� Software Development Kit (SDK)
54 IBM Cognos Analytics �������� 11.0: ������������������������
������������������
������������������������� ���������������������������������������������� ������������������������� ����������������� �������������������������������������������������� ID ����������������� ����������������������� ������������ �������������� ID ��������������������������������� �����������������������������
����������������� ID ���������������������������� ���� ������ �������� ����������������������������� ������������������� ������� �
���������1. �������������� IBM Cognos Analytics ����������
2. �� ������������� ���������������������� ���� ������������������� ���������������������������������� ID �������
���������� ID ����������������������� ���� �������������������������������������������������������������� ���������������������������������������������
3. ��������� ������������������������������������������� ID �������
4. ������ ������ ������ ����������� ����������� �������
5. ����� ID ���������������� ID ����� ������� ���
�������
ID ������������������������� ����������������������� ���� ������������������� ID �������������������������������������
��������������������� ���������� ������� ������������������������
���������� ID �����������������������������
�������������� ID ��������������������������������������� ������
���������1. ��������� ������������������������� ���������������� ����������������� ������������������
ID �������
2. ������ ������ ������ ������� ����� ����������� �������
3. ����� ID ���������������� ID �����
4. ���� ���
����������������������������
�������������������������������������� ��������������������������� ������������������
����� 7. ������������������ 55
������������ �������������������������� ����������� ��������������������������������������������������������������������������� �������������� ������������������������������������� Cognos Analytics ����������������������������������� �������������� ��������������������� ����������������������������������
������������ ����������������������� ����������������� ������������������������ ����������������� ��������������������������������������� Cognos Analytics ������������������������������������������� �������������� ��������������������� ����������������������������������������
��������������������������������������� Tenant Bounding Set Mapping ������������ �������������������������������������� ��������������������������������������������IBMCognos Analytics
������������������������������������������������������ ������������������������
������������������ ��������������� �����������:
v ����������� ����������� �� ����������� IBM Cognos Administration
v ����� �� ������� �������������������
v ����������������� �������� ����������
v �����������������������������������������������
�������: ����� ������������������ ����������������� ������������ ������� Cognos
����������������������������� ����������� �� ����������������������� ��������� ����� 7,“������������������”, ������ 53
���������������������������������
������������������������ ����� ������������������ ����������� ��� ����������� ����������� ����������������������������� �������������������������� ������������������������������������������������������ ����������������������������������
������������������
�������������������������� ������������������ ����������� ����� ����������������������������
���������
������������������������������������������� �������� ������������������
1. �������������� IBM Cognos Analytics ����������������� ��������������������� �����������
2. �� ������ > �������� > ������� ������������ Cognos
56 IBM Cognos Analytics �������� 11.0: ������������������������
3. ���������������� ���������� ������������������������ ���������
���� �� ������
4. ������ ������ ���������������������
��� ������������������������������������������������������������� ������ ����� �������������������������������������������
�������
��������������������� ����� �������������������������� ���������������������� ��������������������������������������������������������� ������������� ��������������������������������
�������������������������������������������������������������� �������
���������������������������� ������������������������������������������������ �������������������������������
������������������������������������������������������������ Cognos Analytics
������������������
������������������������������������ IBM Cognos Analytics ��� ��������������������� ������ >�������������������������������� ��������� “���������������” ������ 54
������������������
������������� ����������� ���������������������������� ���������������������� ���������������������������������������� ����������������������� ����������������������� ���������������
�������� ���� ���������������������������������������������������������� ������� �����,����������� ������������� ��������������� ���������� ������� ������������������������������ �������������������������������������������������������� ������������ ����������������������� �����������������
��� ������������������ ������������������������������������ ���������������������
��������������������� ��������� ��������������������������� (www.ibm.com/support/knowledgecenter/SSEP7J_11.0.0/com.ibm.swg.ba.cognos.ug_cra.doc/c_config_mt_advanced.html)
���������
�������������������������������������������� �������������������������������������
1. �������������� IBM Cognos Analytics �������������������� �����������
2. �� ������ ��������� �����������
����� 7. ������������������ 57
3. ���������� ������������
4. ��������������� ������� ID �������
ID ��������������������������������������������� ������������������ �
�������������� ���������� ���� Virtual tenant��������� ���������������������������� � ��Cognos Analytics
5. ����� ����������������������������������������� ������������� ������������������� ��������������������������������������������������������
6. ������������������������������ ������������
����� �� ������
7. ������ ������ ���������������������
8. ��������������������������������������������� ������� �����
�������: ��������������������������������� ������������ ���������������������������������������� ��������������������������������������������
9. ����������������� ������������������������������������������������ �����������������
10. ���������������������� ������ ������ ������ ������ ���������� ID ������� ���� ID ���������������������������������� ID ��������� ID ��������� ������������ ��� ID ����������������������� ������� ����� ID �������������������� ���������������
������������������
��������������������������������� ��������������������������������� ���������������������������������������������������������� ID ������������������ ���� IBM Cognos Analytics �����������������������������������������������������������
������������������������������������������� (���������������������������) ����������������������������������������������������� ��������������������� ��������� ����� 8, “�������� Cognos Analytics ������������������”, ������ 63
�� ������ > ����������� ����������������� �������� slide-out ��������������������������� �������������������������������� ��������� “������������ �������� ������ ��������������”������ 96
�����������������������
���������
������������������������������� ��������������� ����������������������������������������������� ����������������������������������������� ������������������������������������������������������
58 IBM Cognos Analytics �������� 11.0: ������������������������
��������������
�������������������������������������������������������� ������������
����������� ��������� ������������������������ ������������������������� built-in ����������� ������������������������� ������������� ��������������������������������������������������
����
������������������������������������������������������������������� ���������������������������������� � ����������� ����������������������������������������������������������� ���� ��� ������������������������������� ������������������������������������������������ ��������������������
��������������������
����
����������������������� ������������������� �����������������������������������������������
���������������������������
����
������ ������������������� ������������ ���������������������������������������������������������� ID ����������������� ������������������� ������������������������� �������������
�����������
�����������������������������
�����������������������������������
���������������������������������������������������
��������������������������������������� IBM Cognos Analytics ������� ���� ��������� ���������������� ������������� ������������� ������� � ������������������������������������������� companion ���� IBM Cognos Analysis Studio, IBM Cognos Event Studio ������� �
�������������������������������:
Time zone�����������������������
Product language����������������������� IBM Cognos Analytics
Content language���������������������������������� IBM Cognos Analytics ���� �������������� �������� ��� ���������
����� 7. ������������������ 59
Bidirectional language support������������������������ ���� ���������� ��������� ��������� ���������� ������������������� ������������������������������������������� �������� �������������������������� ����������� ���������� ������������������������ ���� �������������������, breadcrumbs, URL ��� �������������������
������������������������������ ��������������� ������� ������ ���������, ���������, ��������� ����������������� ������������������������������������������������������������� ������������������������������������� ���������������������������������� ����������� ���������������������������������� ������ ���������������������������������������������� ���� ��������������������������� ���������������������� ��������������������������� ��������������������� ������������������������������ ���������������������������
���������1. �� ������ ��������� �����������
2. ���������������������� ������� ���������
3. �������� ������������������������
�������
���������� ���������������������������������������������� ������������������������������������������������������ ����������������������������������
�����������������������������������
����������������������������������������� ���������������������������� ���������������������������
������������������������������������������������������������������� ���������������������������� IBM Cognos Analytics
�������: �������������������������� IBM Cognos Configuration ������ ���������������� >������������
���������1. �� ������ ��������� �����������
2. ���������������������� ������� ���������
3. ������ ������������ �������� ���������������������������������������������� ���� ���
�������
����������������������������������������������������������������� IBM Cognos Analytics
60 IBM Cognos Analytics �������� 11.0: ������������������������
������������������������������������������
����������������������������������������������� ���������������������������������������������������
������������������
��������������������������������� �������������������������������������������������� ������������������������������� ��������� “�����������������������������������”
������������������
��������������������������������������������������� �������������������� ��������������������������� ����������
���������1. �� ������ > ���������������������������������
2. ����������������������
���� ����������
�������
������������������������������� �������������
�����������������������������������
������������������������������������������������������������������������������� IBM CognosAnalytics ��� ����������������������
������������������
���������� ��������������������������������� �����������������������������������������
����������������������������������������������������� ��������������������� ��������� ������������������������ (www.ibm.com/support/knowledgecenter/SSEP7J_11.0.0/com.ibm.swg.ba.cognos.ug_cra.doc/c_mt_deployment.html)
����������������������������������� ������������������������������������������������������� ��������������������� ��������� “������������������������������������������”
���������1. �� ������ > ���������������������������������
2. ����������������������
���� ���������
����� 7. ������������������ 61
��������������������������������������������������������
������������������������������������� ����������
������������
������������������������ IBM Cognos Analytics ��������������������������������������������������� IBM Cognos Analytics ���������
������������������
���������������� ���������������������������������������������� �������� ����� ��������������������� ��������������������� ��������� “������������������������������������������” ������ 61
������������������
����������������� ���������������������������������������������� ���������� ������������
���������1. �� ������ > ��������������������������������������
2. ����������������������
���� ��
62 IBM Cognos Analytics �������� 11.0: ������������������������
����� 8. �������� Cognos Analytics ������������������
���������������� IBM Cognos Analytics ����������������������������������������� ���������������������������������������� ���������� (���� ��� �������� �������� �����������������) ���������������������������������������������� ������������ �������������������������������������� ���� ����������� ������������������������ ������������������� ������ CognosAnalytics ��������������������������������������������������������������������������������������� (�� ������������ �������������������������) ���������������������������������������������
����������������������������������������������� compressed ��������� spec.json������������������� ����������������������������������� ����������� ������������������ ������������������������������������������
����������������������������������������������������������������� ������ > ���������������������������������������������������������������������� Cognos Analytics�������������������������������������
��������:
���������������� ������ > �������������� slide-out ��������������������������������������������������
���� ������������������������������������ SampleExtensionExcludeNotifications.zip �����
������������ ���������������������������������������������������������������������������� ����������������� �������������������������������������� ��������������������������������� ���������� ������������������� ��������� > ��� > ���������������
������� �������������������������������������������������������������������� Cognos ������ ������� ����������������� ������������������������������������������������������������������������������� ���������������� �����������
���������������������������������������������������������������������������������� �������������������������������� ���������������������������������� �������������
����������������������� ��������� ��� ������������������� ������������������������������������ ����������� slide-out ������ > �������� > ������������������������������������� “����������������” ������ 7
������������������������������������������������������������� ����������� slide-out ������ > �������������������������������������� ����� ���� ����������������������������������� ��������� “������������������” ������ 58
63
������������������������������������������ JavaScript ����������������������������������������������
v “�����������������������������������” ������ 72
v “�������������� (�����������������������������������)” ������ 86
v “������������������������������” ������ 89
����������������������� � �������������������������������
����� JSON �������������������������������������������� ����������������������Cognos Analytics ������������ ��������������������������������������
�������������������
����������������������������������������������������������������� �������� ��������� ���������������������������������������������������������������������
������������������������������������ ������������������� �������������������������������������������������������� ������������������������������������������installation_location/samples/
��������������������������������������������
v “��������” ������ 67
v “����������������” ������ 82
v “��������������” ������ 93
��������������
������������������������������������������������������������������������� ��������� �������������������������������������������������������������������������� ������������������������������������������������ ���������� .zip ��������������� ���� spec.json��������������������������� ��������������� �����������������������������������, ����JavaScript ������� HTML ����������������������
����������������������������������������������� ����������������� “������������ �������� ������ ��������������” ������ 96
�����������
�������������������� IBM Cognos Analytics ����������������������������� CognosAnalytics ����������������������������������������
64 IBM Cognos Analytics �������� 11.0: ������������������������
������������������� SampleTheme.zip������������������� ������������ .zip ������ spec.json���������������������� images�������������������������������� ������ ���������������������������������
��������: ����������������������������������� ���� “myTheme” ��������� .json ����������� images (����������������������) �������������� zip ��������������� (����“myTheme”) ������ zip Cognos Analytics ������������������������� ��������������� .json����������� images������������������������������������������ .zip ���������������� “����������������������” ��� Windows Explorer �������������� .zip ������������� ��������������������������
���� spec.json��������������
{"name": "Sample_Theme","schemaVersion": "2.0","brandText": "the Sample Outdoors Company","brandTextSmall": "Sample Outdoors Company","images": {"brandIcon": "images/logo_large.png","brandIconSmall": "images/logo_small.png","favicon": "images/logo_fav.png"
},"colors": {"appbarBackground": "#eeeeee","appbarForeground": "black","appbarSelectLine": "#033f38","appbarPushButtonBackground": "#c8d2d1","navbarBackground": "#1c96d4","navbarForeground": "white","navbarSelectLine": "#033f38","navbarPushButtonBackground": "#007670"
}}
���������������������� brandTextSmall������������ favicon����������������������������������������������
��������������������������������������������������� Cognos Analytics �������������������� �������������� � ��������������� ������� ���������������� Cognos Analytics ��������
����� 8. �������� Cognos Analytics ������������������ 65
����������������������������������������������������������� JSON
�������� 4. �������������
�������������������������� �������� JSON �����
1 brandText ��������������������� ���������������������������������������
2 brandTextSmall ����������������������������� ���������if brandText�������� ���������������������������������������
3 brandIcon �����������
4 brandIconSmall �������������������
5 appbarBackground ����������������������������
5 appbarForeground ����������������������������
5 appbarSelectLine ����������������������������������
5 appbarPushButtonBackground ����������������������������������
6 navbarBackground ������������������������
6 navbarForeground ������������������������
6 navbarSelectLine ������������������������������
6 navbarPushButtonBackground ������������������������������
favicon ��������������������������������������
66 IBM Cognos Analytics �������� 11.0: ������������������������
��������
���������������������������������������
���������������������������� �������� <installation_location>/samples/themes
SampleTheme.zip
���������������������������������������������������������������� Cognos Analytics
SampleThemeBlueGreen.zip
����������������������������������������������� Cognos Analytics
SampleThemeDarkBlue.zip
����������������������������������������������� Cognos Analytics
SampleThemeLight.zip
����������������������������������������������� Cognos Analytics
����������������
����������������������������������������������������������� IBM Cognos Analytics ������������������������������ ��������� ������������ ����������������� ��������������������������������������������������
����������������������������������� ��������������� Portal Administrator ���� SystemAdministrator
���������������������� spec.json����������������� ���� .zip �������� �����������������������������������������������, ���� HTML ������� JavaScript ��������� �����������������spec.json������������� “�������� spec.json” ������ 98 �������������������������������������
{"name":"...","schemaVersion": "1.0","extensions": [{"perspective": "common","features": [{"id": "...","toolItems": [<tool_item1>,<tool_item2>,...],"collectionItems": [<collection_item1>,<collection_item2>,...],"excludeFeatures": [<exclude_feature1>,<exclude_feature2>,...],"excludeItems": [<exclude_item1>,<exclude_item2>,...]}]}}
��������������� perspective ������������������ ����������� ������ common����������������������������������������� ������ ����������������� features���������������������������������������� ������������������������
����� 8. �������� Cognos Analytics ������������������ 67
������������������� ����������������������������������� ������������������ ���������� ������������������������������������ ���������������������������� ������������� �����������������������������������
v ��������������������������������������������������������� ���� ������� �������� ������������ ������������������� ��������� ������������
v ����������������������������������������������������� ��������������� ������������ ������������������� ��������� ������������
v ���������������������������
v ��������������������������������������������������
v �����������������������������������������
v ������������������������������������������
���������������������
�������������������������������������������������������� � ������������������� ������������ ��������������� ��������������������� ����������������� ������������������
���������������������������������� ��������������������� built-in 4 ��������������� ������������� ����������������������������
bi/glass/api/IFrameOpener
�����������
bi/glass/api/ReportOpener
���������
bi/glass/api/DashboardOpener
������������
bi/glass/api/FolderOpener
������������
�������������������������������������������������� JavaScript
�������������� json.spec�������������������������� ��� ���������������� ��������������������������������� type��� button������������� menuItem���������������� ��������������� � �����������������������
������������������������� built-in
��������������������� built-in 4 ��� ���������������������������������� ������� ��������������������� ���������������������������� ���������������� �����������������������
��������������
������������������� bi/glass/api/IFrameOpener ���������������� ������� �����������������
68 IBM Cognos Analytics �������� 11.0: ������������������������
url ���� URL ����������������
title �����������������������������
���������������� SampleExtensionButtonWebsite.zip������������� ���� spec.json��������������
{"name":"Sample_Button_Website","schemaVersion": "1.0","extensions": [{"perspective": "common","comment": "There is a special meta perspective called COMMON. Adding
contributions to this perspective will cause the extension to beapplied to All perspectives.",
"features": [{"id": "sample.common.button.openWebsite","toolItems": [{"comment": "This code will display a custom Website button that opens
the specified URL in an iFrame.","id": "sample.iframeOpener.website","containerId": "com.ibm.bi.glass.navbarTrailingGroup","label": "Website","type": "Button","icon": "images/web.png","weight": 100,"actionController": "bi/glass/api/IFrameOpener","options": {"url": "http://www.ibm.com/analytics/us/en/technology/products/cognos-analytics/","title": "Website"
}}]}]}]}
��������� ��� ������������������������������ web.png������������������ images������������������� bi/glass/api/IFrameOpener�������������������� URL ������� (url) ���������������������������������������� (title) ������������������� spec.json����������� “�������� spec.json” ������ 98
������������
������������������� bi/glass/api/ReportOpener �������������� ������� ������������������������� id���� path�����������������
id ���� storeID �����������������
path ������������������������
���������������� SampleExtensionButtonReport.zip����������� ���� spec.json��������������
����� 8. �������� Cognos Analytics ������������������ 69
{"name":"Sample_Button_Report","schemaVersion": "1.0","extensions": [{"perspective": "common","comment": "There is a special meta perspective called COMMON. Adding contributions
to this perspective will cause the extension to be applied to All perspectives.","features": [{"id": "sample.common.button.openReport","toolItems": [{"comment": "This adds a button to the navbar to directly open a popular report.","id": "sample.report.opener","containerId": "com.ibm.bi.glass.navbarLeadingGroup","label": "QTD revenue","type": "Button","icon": "common-report","weight": 800,"comment": "The greater the weight, the higher the item appears in the container.","actionController": "bi/glass/api/ReportOpener","options": {"path": ".public_folders/Samples/Extensions/QTD revenue"}}]}]}]}
���������������� ��� bi/glass/api/ReportOpener���������������������� ��� �������������� (path) .public_folders ��������������������� Team content��� .my_folders��������������������� My content������������������������������ (/) ���������������������������������� %2F������������������� spec.json����������� “�������� spec.json”������ 98
����������������������������
������������������� bi/glass/api/DashboardOpener ��������������������� ��������� ������������������������ �������� id���� path�����������������
id ���� storeID ���������������������������������
path ����������������������������������������
���������������� SampleExtensionButtonDashboard.zip�������������� ���� spec.json��������������
{"name":"Sample_Button_Dashboard","schemaVersion": "1.0","extensions": [{"perspective": "common","comment": "There is a special meta perspective called COMMON. Adding contributions
to this perspective will cause the extension to be applied to All perspectives.","features": [{"id": "sample.common.button.openDashboard",
70 IBM Cognos Analytics �������� 11.0: ������������������������
"toolItems": [{"comment": "This code adds a button to directly open a core dashboard.","id": "sample.dashboard.opener","containerId": "com.ibm.bi.glass.navbarLeadingGroup","label": "Line dashboard","type": "Button","icon": "common-dashboard","weight": 900,"comment": "The greater the weight, the higher the item appears in the container.","actionController": "bi/glass/api/DashboardOpener","options": {"path": ".public_folders/Samples/Extensions/Line dashboard"}}]}]}]}
���������������� ��� bi/glass/api/DashboardOpener���������������������� ��� ���������������� (path) �������������������������������� ������ ������������������� spec.json����������� “�������� spec.json” ������ 98
���������������
������������������� bi/glass/api/FolderOpener ����������������� ������� ������������������������� id���� path�����������������
id ���� storeID ��������������������
path ���������������������������
skipAncestors��������������� ancestor ������� (false) �������� (true) ����������������� ������������� false
���������������� SampleExtensionButtonFolder.zip�������������� ���� spec.json��������������
{"name":"Sample_Button_Folder","schemaVersion": "1.0","extensions": [{"perspective": "common","comment": "There is a special meta perspective called COMMON. Adding contributions
to this perspective will cause the extension to be applied to All perspectives.","features": [{"id": "sample.common.button.openFolder","toolItems": [{"comment": "This code adds a button to easily access an important folder.","id": "sample.folder.opener","containerId": "com.ibm.bi.glass.navbarLeadingGroup","label": "2016 reports","type": "Button",
����� 8. �������� Cognos Analytics ������������������ 71
"icon": "common-folder","weight": 700,"push": "true","comment": "The greater the weight, the higher the item appears in the container.","actionController": "bi/glass/api/FolderOpener","options": {"path": ".public_folders/Samples/Extensions"}}]}]}]}
���������������������� "push": "true" ��������������������� ����������������������������������������������� ��� ���� ������ (������������ ����������������������) ������������������������������� ������������� ���������������� ��� bi/glass/api/FolderOpener���������������������� ��� ���������������� (path) �������������������������������� ������������������������� spec.json����������� “�������� spec.json” ������ 98
�����������������������������������
����������������������������������������������������������������������������������������������������� built-in ������������������������������������� JavaScript ������Asynchronous module definition (AMD) API
���������������� SampleExtensionContextMenuItem.zip ��������������������������������������������������������������������������������������������� ���� spec.json��������������
{"name":"Sample_Context_Menu_Item","comment": "This extension will add a new menu item to the context menu for
all report objects.","comment": "The menu item will open an alert box that provides information
about the selected report.","schemaVersion": "1.0","extensions": [{"perspective": "common","comment": "There is a special meta perspective called COMMON. Adding contributions
to this perspective will cause the extension to be applied to All perspectives.","features": [{"id": "sample.home.context.item","toolItems": [{"id": "custom.context.menu.item1","containerId" : "com.ibm.bi.contentApps.listViewMenu","comment": "The containerId is the ID of the parent menu.","type": "MenuItem","actionController": "v1/ext/Sample_Context_Menu_Item/js/controllers/SampleContextMenuItem","label": "Sample menu item","icon": "common-properties","weight":950}]}]}]}
72 IBM Cognos Analytics �������� 11.0: ������������������������
���������������������������������� SampleContextMenuItem.js��������� �������� js/controllers ���������� �������������� ������
/*** Licensed Materials - Property of IBM** IBM Cognos Products: BI Glass** Copyright IBM Corp. 2015** US Government Users Restricted Rights - Use, duplication or disclosure restricted byGSA ADP Schedule Contract with IBM Corp.*/define([], function() {’use strict’;
var SampleAction = function(){
/*** Called by the AppController whenever this view is created** @public* @returns {Promise} promise resolved to the root DOM element for this view.*/this.isVisible = function(context, target) {return target.options[0].type === ’report’;},
/*** Called by the AppController whenever this view is destroyed** @public*/this.execute = function(context, target) {var info = ’This sample menu item extension opens an alert.\nThe alert contains information about the selected report.\n\nType: ’ + target.options[0].type + ’\nName: ’ + target.options[0].name+ ’\nID: ’ + target.options[0].id;alert(info);}
};
return SampleAction;
});
���� JavaScript ������ Action API ������� JavaScript AMD ���������������������������JavaScript Q Action API ) ������������������
void execute(context, target)
����� 8. �������� Cognos Analytics ������������������ 73
����� ���������������������������������������
target �������������������������������������������������������������������
v ��������������������������������������������� �������������������������������� �������������������������������
v �������������������������������������������� �������������������������������������� ���� ��� Store ID �������������
boolean isVisible(context, target)
�������������������������������������� ��������������������������������� true������������������������������
������������
����������������������������������������������������������������� ������������
���������������� SampleExtensionMenuQuicklinks.zip������������������� ����������������������� spec.json�������������
{"name":"Sample_Menu_Quicklinks","schemaVersion": "1.0","extensions": [{"perspective": "common","comment": "There is a special meta perspective called COMMON. Adding contributions
to this perspective will cause the extension to be applied to All perspectives.","features": [{"id": "sample.common.menu.openMulipleItems","toolItems": [{"comment": "This code adds a custom menu item to the App Bar in the trailing group.","id":"custom.appbar.trailingGroup.menu","containerId": "com.ibm.bi.glass.appbarTrailingGroup","type": "Menu","label": "Quick links","icon": "images/debug.svg","weight": 650},{"comment": "This code adds a submenu item to the custom menu created above.","id": "custom.appbar.trailingGroup.menuItem1","containerId" : "custom.appbar.trailingGroup.menu","comment": "The containerId is the ID of the parent menu.","type": "MenuItem","actionController": "v1/ext/Sample_Menu_Quicklinks/js/controllers/SampleMenuQuicklinks","comment": "The actionController determines the actions for the menu item.","label": "Home","icon": "common-home","weight":900},{"comment": "This code adds a submenu item to the custom menu created above.","id": "custom.appbar.trailingGroup.menuItem2",
74 IBM Cognos Analytics �������� 11.0: ������������������������
"containerId" : "custom.appbar.trailingGroup.menu","comment": "The containerId is the ID of the parent menu.","label": "Line dashboard","type": "MenuItem","icon": "common-dashboard","weight":800,"actionController": "bi/glass/api/DashboardOpener","comment": "The actionController determines the actions for the menu item.","options": {"path": ".public_folders/Samples/Extensions/Line dashboard"}},...]}]}]}
������������� ���������������������������������������
������������������������������
������������������������������������������������������������������
���������������� SampleExtensionExcludeNotifications.zip�������� Notifications����������������� ���� spec.json��������������
{"name":"Sample_Exclude_Notifications","schemaVersion": "1.0","extensions": [{"perspective": "home","comment": "This code will apply only to the HOME perspective.","features": [{"id": "sample.home.exclude.notifications","excludeItems":["com.ibm.bi.share.notifications"],"comment": "Above, EXCLUDEITEMS will remove the Notifications button from the
Nav Bar of the HOME perspective.","comment": "EXCLUDEITEMS must be applied at the individual perspective level.
It can not be used globally via the COMMON perspective."}]}]}
������������������������������������������������������ excludeItems ��������� “����� id�����������������������������” ������ 106
����������������������������
��������������������������������������������������
�������� SampleExtensionCustomShape.zip��������������������������� ���������������������������������������������������� � �������������� ������������������������������������� ������
����� 8. �������� Cognos Analytics ������������������ 75
��������: ��������� .svg ������������������������������������������
�������������� spec.json��������������
{"name":"Sample_Custom_Shape","comment":"This sample will add 3 custom images to the bottom of the Shape panel in Dashboarding.","schemaVersion": "2.0","extensions": [{"perspective": "dashboard","comment": "The custom shapes are for the dashboard perspective only.","features": [{"id": "com.ibm.bi.dashboard","collectionItems": [{"containerId": "com.ibm.bi.dashboard.shapes","id": "sample_custom_shape_music","name": "Music","options": {"templatePath": "v1/ext/Sample_Custom_Shape/images/music_32.svg"
}},{"containerId": "com.ibm.bi.dashboard.shapes","id": "sample_custom_shape_relationship","name": "Relationship","options": {"templatePath": "v1/ext/Sample_Custom_Shape/images/relationship_32.svg"
}},{"containerId": "com.ibm.bi.dashboard.shapes","id": "sample_custom_shape_traffic","name": "Traffic","options": {"templatePath": "v1/ext/Sample_Custom_Shape/images/traffic_32.svg"
}}]}]}]}
�������������������������������� images�����������
76 IBM Cognos Analytics �������� 11.0: ������������������������
����������������������
������������������������������������������������������������������������������
�������� SampleExtensionCustomMedia.zip��� SampleExtensionCustomMediaAll.zip���������������������������� ����������������� �������������������������������������� ������������
������������������������������������ ����������������������������������:
v ������������������������������� ������������� ������� ������������������������������������� ����������������� ���������
v ������������������������������ ��������������� ����� ��������������������� ���
��� ���������� ��������������������������� ��������������������� ��������� ���������������
�����������������������������������������������:
v ��������������������������
v �������������������������
v ����������������������
v ��������������������
v ���������������������
v �������������������������������
v �������������������������
v ��������������� Call Center
Sample_Custom_Media
�������������� spec.json������ Sample_Custom_Media����������
{"name": "Sample_Custom_Media","comment":"This sample extension will add custom images to the bottom of the MEDIA panel in Dashboarding.","comment":"We currently only support the addition of JPG and PNG files.","schemaVersion": "1.0","extensions": [{
"perspective": "dashboard","comment": "The custom images are for the DASHBOARD perspective only.","features": [{
"id": "com.ibm.bi.common.media","comment": "This is the ID for the MEDIA panel. It will be the container for the images below.","collectionItems": [{
"containerId": "com.ibm.bi.common.media",
����� 8. �������� Cognos Analytics ������������������ 77
"id": "customImage1","name": "Lightning above city",
"comment": "The NAME is the text of the tooltip for the image.","options": {
"altText": "Lightning strike above a city at night.","comment": "The ALTTEXT is shown as a Property for the selected image.",
"imageLink": "v1/ext/Sample_Custom_Media/images/SE_background.jpg"}
}, {"containerId": "com.ibm.bi.common.media","id": "customImage2","name": "Lightning in sky","options": {
"altText": "Lightning in a dark purple sky.","imageLink": "v1/ext/Sample_Custom_Media/images/weather_background3.jpg"}
}, {"containerId": "com.ibm.bi.common.media","id": "customImage3","name": "Night city traffic","options": {
"altText": "Heavy traffic in a city at night.","imageLink": "v1/ext/Sample_Custom_Media/images/story_scene1_background.jpg"}
}, {"containerId": "com.ibm.bi.common.media","id": "customImage4","name": "Hiker on hill","options": {
"altText": "Hiker on a hill in the forrest.","imageLink": "v1/ext/Sample_Custom_Media/images/login_background.jpg"}
}, {"containerId": "com.ibm.bi.common.media","id": "customImage5","name": "Tents on mountain","options": {
"altText": "Several tents on a mountain.","imageLink": "v1/ext/Sample_Custom_Media/images/welcome_background.jpg"}
}, {"containerId": "com.ibm.bi.common.media","id": "customImage6","name": "Increasing revenue highlighted","options": {
"altText": "Graph with increasing revenue highlighted.","imageLink": "v1/ext/Sample_Custom_Media/images/story_scene5_background2.jpg"}
}, {"containerId": "com.ibm.bi.common.media","id": "customImage7","name": "Increasing revenue","options": {
"altText": "Graph of increasing revenue.","imageLink": "v1/ext/Sample_Custom_Media/images/story_scene5_background.jpg"
78 IBM Cognos Analytics �������� 11.0: ������������������������
}}]
}]}]
}
Sample_Custom_Media_All
�������������� spec.json������ Sample_Custom_Media_All����������
{"name": "Sample_Custom_Media_All","comment":"This sample extension will add 8 custom images to the IMAGE LIBRARY tab in the WIDGETS panel in Dashboarding and Stories.",
"comment":"It will also add the same 8 custom images to the IMAGE PICKER dialog in Reporting under IMAGE GALLERY.","comment":"Only JPG and PNG files are supported at this time.","comment":"These types of extensions are not additive. You must specify all of the custom images you require in one extension.","comment":"Otherwise, the last uploaded extension (not UPDATED) will take precedence and become your final library of images.",
"schemaVersion": "1.0","extensions": [{
"perspective": "common","comment": "The custom images will apply to all perspectives - reporting, dashboarding, and stories.","features": [{
"id": "com.ibm.bi.common.media","comment": "This is the ID for the Widgets panel. It will be the container for the images below.",
"collectionItems": [{"containerId": "com.ibm.bi.common.media","id": "customImage1","name": "Lightning above city",
"comment": "The NAME is the text of the tooltip for the image within the Image Library tab.","options": {
"altText": "Lightning strike above a city at night.","comment": "The ALTTEXT is shown in the Description Property for the selected image once it is placed on the dashboard.",
"imageLink": "v1/ext/Sample_Custom_Media_All/images/SE_background.jpg"}
}, {"containerId": "com.ibm.bi.common.media","id": "customImage2","name": "Lightning in sky","options": {
"altText": "Lightning in a dark purple sky.","imageLink": "v1/ext/Sample_Custom_Media_All/images/weather_background3.jpg"
}}, {
"containerId": "com.ibm.bi.common.media","id": "customImage3","name": "Night city traffic","options": {
"altText": "Heavy traffic in a city at night.","imageLink": "v1/ext/Sample_Custom_Media_All/images/story_scene1_background.jpg"
}}, {
"containerId": "com.ibm.bi.common.media","id": "customImage4","name": "Hiker on hill","options": {
����� 8. �������� Cognos Analytics ������������������ 79
"altText": "Backpacker on a hill in the forest.","imageLink": "v1/ext/Sample_Custom_Media_All/images/login_background.jpg"
}}, {
"containerId": "com.ibm.bi.common.media","id": "customImage5","name": "Tents on mountain","options": {
"altText": "Several tents on a mountain.","imageLink": "v1/ext/Sample_Custom_Media_All/images/welcome_background.jpg"
}}, {
"containerId": "com.ibm.bi.common.media","id": "customImage6","name": "Call center","options": {
"altText": "Group of people in a Call Center.","imageLink": "v1/ext/Sample_Custom_Media_All/images/call_center.jpg"
}}, {
"containerId": "com.ibm.bi.common.media","id": "customImage7","name": "Increasing revenue highlighted","options": {
"altText": "Graph with increasing revenue highlighted.","imageLink": "v1/ext/Sample_Custom_Media_All/images/story_scene5_background2.jpg"
}}, {
"containerId": "com.ibm.bi.common.media","id": "customImage8","name": "Increasing revenue","options": {
"altText": "Graph of increasing revenue.","imageLink": "v1/ext/Sample_Custom_Media_All/images/story_scene5_background.jpg"
}}
]}
]}
]}
�����������������������
���������������������������������������������������
��������������������������������������������������� ������������������������������������ �������������������� ����������������������������� JavaScript ��������������������������� JavaScript �� � �����������������������
80 IBM Cognos Analytics �������� 11.0: ������������������������
������������������������������� spec.json, ���� JavaScript ��� �������������������������������� ���� spec.json��������������
{"name":"SampleWidgetExt_old","schemaVersion": "1.0","extensions": [{"perspective": "dashboard","comment": "Sample custom widgets for dashboard","features": [{"id": "com.ibm.bi.dashboard.widgets","collectionItems": [{"containerId": "com.ibm.bi.dashboard.widgets","id": "Hello","title": "Hello!","iconUrl": "v1/ext/SampleWidgetExt/images/ibm.png","widget": "v1/ext/SampleWidgetExt/helloParam.js","scroll": "scrollNone","disableTitle": true,"params" : {"name": "IBM"
}}]}]}]}
��������������������� helloParam.js JavaScript �������� ����������
define([’jquery’,’dashboard/widgets/CustomWidget’], function( $, Base) {
var Widget = Base.extend({onInit: function(params) {this.name = params.name;},onRender: function() {var root = this.getContentRootNode();$(root).append(’<h1 class="titleColor titleFontSize">Hello ’ + this.name + ’!</h1>’);}});
return Widget;});
�������� images�������������� ibm.png
������������������� ������������������������������������� ������������������( ) ����
������������� ������������������( ) �������������� ����������������������������
����� 8. �������� Cognos Analytics ������������������ 81
����������� �����������������������������������
����������������
�����������������������������������������
������������������������������������ ������������������� �������������������������������������������������������� ������������������������������������������installation_location/samples/extensions
SampleExtensionButtonDashboard.zip
����������������������������������������������������
SampleExtensionButtonFolder.zip
����������������������������������������������������
SampleExtensionButtonOpenPerspective.zip
��������������������������������������������� ( ) ������������������������������������������������������
SampleExtensionButtonReport.zip
��������������������������������������������������
SampleExtensionButtonWebsite.zip
����������������������������������������������������
SampleExtensionContextMenuItem.zip
�������������������������� ( ) ����������������� ��������������������������������������� ����������������������������������������� ���������������
SampleExtensionCustomMedia.zip
�������������������������������������������������������
82 IBM Cognos Analytics �������� 11.0: ������������������������
SampleExtensionCustomMediaAll.zip
���������������������������������������������������������������������
SampleExtensionCustomShape.zip
�������������������������������������������������������
SampleExtensionExcludeDelete.zip
����������������� ������������������������ �������������
SampleExtensionExcludeNotifications.zip
����������������� ������������������������
SampleExtensionMenuQuicklinks.zip
����������������������������������������
SampleExtensionMenuUrlLinks.zip
��������������������������������������������� AppBar ������������������� ������� URLs������
SampleExtensionOpenFolderShowHideParent.zip
���������������������������� skipAncestors ��������� ��������
SampleExtensionsAll.zip
���������������������� SampleExtensionButtonDashboard.zip,SampleExtensionButtonFolder.zip, SampleExtensionButtonWebsite.zip,SampleExtensionButtonReport.zip, SampleExtensionContextMenuItem.zip,SampleExtensionExcludeDelete.zip, SampleExtensionMenuQuicklinks.zip��� SampleExtensionExcludeNotifications.zip
SampleExtensionTabs.zip
��������������������������������������������������������������������������� �������������������������
����������������������������
�������������������� ���������������������������������������
������������������
�������������������������������������������������������������� IBM Cognos BusinessIntelligence ������������������� ������������������������������
����� 8. �������� Cognos Analytics ������������������ 83
������������������������������������ �������� ������ ����������������������������������� ����������� ���������� �������������� �������������� ��������������������������������������������
�������� ������ ����������������������������������� ��� �������� �����, �������� ������������ ����������� ��������� QTD
�������� ���������� �����������������
���������
������������������������� Samples_for_Install (������ ��������)
1. ��� ��������� > ������������������� ��������� IBM Cognos Administration
2. ������ ������������ ������� ��������������������
3. ��������������� �������� ������������
4. ����� Samples_for_Install ���������������������� �������� �����������������������������������������
��������������� SampleExtensionTabs.zip��������
5. ���������������� ������ > ����������� ��������� ������������
���������������( ) ������� �������� <installation_location>/samples/extensions��� ����� SampleExtensionTabs.zip
84 IBM Cognos Analytics �������� 11.0: ������������������������
�������
����������������������������������
��������������
���������������� IBM Cognos Analytics ���������������� ���� ��� ���������������� ���������������� ���������������� ��������� ����������������������������������������� built-in
����������������������� spec.json��������������� ���� .zip ������������ ������������������������������� HTML div��������� �������������������������������������� Cognos Analytics����������������������������������������������������������������������������������������������������������������� ��������� ����������������� spec.json�������������“�������� spec.json” ������ 98 �������������������������������������
{"name": "<name>","schemaVersion": "2.0","extensions": [{"perspective":"<view_name>","type":"<home_or_login>","features": [{"id": "<id>","toolItems": [<tool_item1>,<tool_item2>,...],"collectionItems": [<collection_item1>,<collection_item2>,...],"excludeFeatures": [<exclude_feature1>,<exclude_feature2>,...],"excludeItems": [<exclude_item1>,<exclude_item2>,...]"content": {"type":"<path_to_javascript_file>","options": {...}
}},"cssStyles": ["<path_to_css_file>"]
}]}]}
���������������������������������� ������� .zip ����������������������������������������� ���� SampleExtensionButtonOpenPerspective.zip���������������������������������������������������������������������������������� �����������������
��������� content������������������ �������������� JavaScript ����������������������������������������� ��������� options������������������� � ������� JavaScript ������� ����JavaScript ��� Asynchronous module definition (AMD) API
����� 8. �������� Cognos Analytics ������������������ 85
��������������� ��� ���������������������� ������������������������������������������������������������ ������ Cognos Analytics ��������������� type������������������������������������������ (������ login) ������� (������ home)
�������������������� ������������������������������������������������������������������������� �������������������
v �����������������������������������������������
v ���������������������� URL �����������
http://<server>:<port>/bi/?perspective=<view_name>
v ��������������������������������������������������� ��������������� ����������������������� ��������������������� ��������� “������������ �������� ������ ��������������”������ 96
�������������� (�����������������������������������)
SampleWelcome.zip�������������������������������������� �������������������������������������������������������������� Sample Outdoors Company
SampleWelcome.zip�������������� spec.json�������������� ��������������������
{"name": "Sample_Welcome","schemaVersion": "2.0","extensions": [{"perspective":"Sample welcome","type":"home","features": [{
"id": "com.sample.welcome","excludeItems": ["com.ibm.bi.glass.common.cognosLogo"],"toolItems": [{"id": "brandLogoHomePage","containerId" : "com.ibm.bi.glass.appbarLeadingGroup","type": "bi/glass/app/plugins/GlassPlugin","class": "cognosIcon cognosLogo","label":"theme.current.brandTextSmall","icon": "theme.current.images.brandIconSmall","weight": 995}],
"content": {"type":"v1/ext/Sample_Welcome/js/views/SampleWelcomeView","options": {
"info":{"title":"Sample welcome","icon":"v1/ext/Sample_Welcome/images/bee_blue.svg"
}}
},"cssStyles": ["v1/ext/Sample_Welcome/css/SampleWelcomeCSS.css"
86 IBM Cognos Analytics �������� 11.0: ������������������������
]}]
}]}
�������������������� Sample welcome ��������������������������� ���� spec.json �������������� SampleWelcomeView.js �������������� js/views��������� ������"type":"home" ���� ��������������������������������������������� ��������� cssStyles��������� .css ���������������������
���� SampleWelcomeView.js�������������
/*** Licensed Materials - Property of IBM** IBM Cognos Products: BI Glass** Copyright IBM Corp. 2015** US Government Users Restricted Rights - Use, duplication or disclosure restricted* by GSA ADP Schedule Contract with IBM Corp.*/define([’q’,
’text!./SampleWelcomeView.html’,], function(Q, html) {’use strict’;
var ContentView = function(){
/*** Called by the AppController whenever this view is created** @public* @returns {Promise} promise resolved to the root DOM element for this view.*/
this.open = function(context, options) {this.logger = context.logger;this.options = options;var deferred = Q.defer();
var root = document.createElement(’div’);root.setAttribute(’class’,’welcome’);
root.innerHTML = html;deferred.resolve(root);return deferred.promise;
};
/*** Called by the AppController whenever this view is destroyed** @public*/
this.close = function() {
����� 8. �������� Cognos Analytics ������������������ 87
this.logger.info(’close’);};
/*** Called by the AppController whenever this view is shown** @public*/
this.onShow = function() {this.logger.info(’onShow’);
};
/*** Called by the AppController whenever this view is hidden** @public*/
this.onHide = function() {this.logger.info(’onHide’);
};
/*** Called by the AppController whenever display Info is required for this view** @public* @returns {Object} displayInfo - The displayInfo for this view.* @returns {string} displayInfo.title - The title.* @returns {string} displayInfo.icon - The icon.*/
this.getDisplayInfo = function() {this.logger.info(’getDisplayInfo’);return {’title’:this.options.info.title,’icon’: this.options.info.icon
};};
};
return ContentView;
});
�������������� SampleWelcomeView.html������������ �����������������
���� JavaScript ������ View API ������� JavaScript AMD ���������� ������������� JavaScript QView API ���������� ������������� �����
promise open(content. options)
������������������������������������� ��������������������� Q promise��������������DOM �������������������������������
����� �������������������������
88 IBM Cognos Analytics �������� 11.0: ������������������������
options
�������������������������������� spec.json
void close()
������������������������
void onShow()
������������������������
void onHide()
�������������������������
getDisplayInfo()
��������������������������������������������
������������������������������
������������������������������� ���������������������������������� IBM Cognos Analytics������� ��������������������������� ���������������������������������������������
����������������������������� JavaScript �����������������������������������������
SampleLogin.zip ������������������������������������������������������� built-in ���������������� SampleWelcome.zip�������������� spec.json�������������� ��������������������
{"name": "Sample_Login","schemaVersion": "2.0","extensions": [{"perspective":"Sample login","type": "login","features": [{"id": "com.sample.login","excludeItems":["com.ibm.bi.glass.navbar","com.ibm.bi.glass.appbar"],"content": {"type":"v1/ext/Sample_Login/login/js/views/SampleLoginView","options": {"info":{"title":"Sample login"}
}},"cssStyles": ["v1/ext/Sample_Login/login/css/SampleLoginCSS.css"]}]}]}
���� spec.json����������������������������� SampleWelcome.zip����������������������������� type��� login������������������������������������������ ���������
����������������������������� JavaScript �����������������������������������������
����� 8. �������� Cognos Analytics ������������������ 89
/*** @typedef {Object} LoginError* @property {string} message - error message*//*** performs a login** @public* @param {Object[]} loginPrompts - object containing the login prompts* @param {string} loginPrompts[].name - name of the login prompt* @param {string} loginPrompts[].value - value of the login prompt* @return {Promise<undefined|LoginError} promise resolved with no object when* the login is successful, rejected with an error when it fails.**/signin: function(loginPrompts)
���� SampleLoginView.js�������������
/*** Licensed Materials - Property of IBM* IBM Cognos Products: BI Glass* Copyright IBM Corp. 2017* US Government Users Restricted Rights - Use, duplication or disclosure restricted* by GSA ADP Schedule Contract with IBM Corp.*/define([’q’,
’text!./SampleLoginView.html’,], function(Q, html) {’use strict’;
var ContentView = function(){
/*** Called by the AppController whenever this view is created** @public* @returns {Promise} promise resolved to the root DOM element for this view.*/
this.open = function(context, options) {this.logger = context.logger;this.options = options;var deferred = Q.defer();
var root = document.createElement(’div’);root.setAttribute(’class’,’welcome’);
root.innerHTML = html;
var loginBtn = root.getElementsByClassName(’sample.loginBtn’)[0];loginBtn.onclick = function() {document.getElementsByClassName(’sampleIncorrectLoginText’)[0].innerHTML=’’;var uid = document.getElementsByClassName(’sample.username’)[0].value;var pwd = document.getElementsByClassName(’sample.password’)[0].value;var loginPrompts = [
{name:’CAMNamespace’,value:’CognosEx’},
90 IBM Cognos Analytics �������� 11.0: ������������������������
{name:’h_CAM_action’,value:’logonAs’},{name:’CAMUsername’,value:uid},{name:’CAMPassword’,value:pwd}
];this.signin(loginPrompts).catch(this._loginError.bind(this));
}.bind(this);
deferred.resolve(root);return deferred.promise;
},
/*** Called by the AppController whenever this view is destroyed** @public*/
this.close = function() {this.logger.info(’close’);
},
/*** Called by the AppController whenever this view is shown** @public*/
this.onShow = function() {this.logger.info(’onShow’);
},
/**** The live code below retreives the product’s error message.* If you would like to include your own error message, use the following* commented code instead:** this._loginError = function() {* document.getElementsByClassName(’sampleIncorrectLoginText’)[0].innerHTML=* ’You have entered an invalid username/password combination.’;* this.logger.error(’loginError’,arguments);* },***/
this._loginError = function(error) {document.getElementsByClassName(’sampleIncorrectLoginText’)[0].innerHTML=error.message;this.logger.error(’loginError’,arguments);
},
/*** Called by the AppController whenever this view is hidden** @public*/
this.onHide = function() {
����� 8. �������� Cognos Analytics ������������������ 91
this.logger.info(’onHide’);},
/*** Called by the AppController whenever display Info is required for this view** @public* @returns {Object} displayInfo - The displayInfo for this view.* @returns {string} displayInfo.title - The title.* @returns {string} displayInfo.icon - The icon.*/
this.getDisplayInfo = function() {this.logger.info(’getDisplayInfo’);return {’title’:this.options.info.title,’icon’: this.options.info.icon
};}
};
return ContentView;
});
��������������������������������������������
promise login(credentials)
�������������������������������������������������������� promise�������������� ��������������������������������
credentials
���������� ����������������������
[{name:’CAMNamespace’,value:’<namespace>’},{name:’h_CAM_action’,value:’logonAs’},{name:’CAMUsername’,value:<username>},{name:’CAMPassword’,value:<password>}]
����������������������������������������������
�������������������������������������������������� �������������������������������� IBMCognos Analytics ������� �������������������������������������������������������������������� ������������������������������������������������������������� � �����������������������
����������������������������� JavaScript �����������������������������������������
SampleLoginMultiple.zip�������������������������������������� ��������������������������������������������� SampleLoginMultiple.zip�������� ������ spec.json����������������������������������
92 IBM Cognos Analytics �������� 11.0: ������������������������
{"name": "Sample_Login_Multiple","schemaVersion": "2.0","extensions": [{"perspective":"sampleLoginMultiple","type": "login","features": [{"id": "com.sample.login.multiple","excludeItems":["com.ibm.bi.glass.navbar","com.ibm.bi.glass.appbar"],"toolItems": [],"content": {"type":"v1/ext/Sample_Login_Multiple/login/js/views/SampleLoginView","options": {"info":{"title":"Sample login namespaces"}
}},"cssStyles": ["v1/ext/Sample_Login_Multiple/login/css/SampleLoginCSS.css"]}]}]}
���� spec.json�������������������������� SampleLogin.zip������������������������������������������������� ���������
��������������
���������������������������������������
������������������������������������ ������������������� �������������������������������������������������������� ������������������������������������������installation_location/samples/extensions
SampleLogin.zip
�������������������������������������������� Cognos Analytics
SampleLoginMultiple.zip
�������������������������� Cognos Analytics sign-in ������������������������������
SampleWelcome.zip
������������������������������������� Cognos Analytics
�����������������������������������
���������������������������������������������������������������������������
���������
������������������������� Samples_for_Install (������ ��������)
1. ��� ��������� > ������������������� ��������� IBM Cognos Administration
����� 8. �������� Cognos Analytics ������������������ 93
2. ������ ������������ ������� ��������������������
3. ��������������� �������� ������������
4. ����� Samples_for_Install ���������������������� �������� �����������������������������������������
�����������������������
5. ���������������� ������ > ����������� ��������� ������������
���������������( ) ������� �������� <installation_location>/samples/extensions��� ����� SampleWelcome.zip
6. ����������������������������� SampleExtensionsAll.zip
7. ����������������������� �������� <webserver_name>:<port_number>/bi/?perspective=sampleWelcome ����������������������������������������
�������
��������������������������������������������� �������������� (������������) ����������������������������������������� (����������������, QTD revenue, ������ 2016�����������) ���� ��������������������������� �������� ���������������������� ����������� �������������������
������������������������������������������
����������������������������������������������������������������������������������
���������
1. ��������� SampleLogin.zip
2. ����� login/js/views/SampleLoginView.js�������������������{name:’CAMNamespace’,value:’CognosEx’}
94 IBM Cognos Analytics �������� 11.0: ������������������������
3. ��� CognosEx���������������������������������������������� (��� ���������� IBMCognos Configuration)
4. ������ SampleLoginView.js������������ .zip ��������
5. ���������������� ������ > ����������� ��������� ������������
���������������( ) ������� �������� <installation_location>/samples/extensions��� ����� SampleLogin.zip
6. ������ ����������
������ ����������������������������� ����������� ��������������� �������������������������� �������
7. ������������ IBM Cognos Analytics
8. ������������������ Cognos Analytics ������
�������
��������������������������������������� ������������������������������������������������������������������������������
����� 8. �������� Cognos Analytics ������������������ 95
������������ �������� ������ ��������������
������������ �������� ������ ����������������������� slide-out ��������� > ��������������������������� �� ����������������� �������� ������ ��� ����������� ������������ ������������������������������������ ���������������������������������������������������
����� slide-out ��������� > �������������������� ��� ���, ��������, ��������� ������������������������������ ��������������������������������������� ��������
�������������
���������������������� ������ ��� ������� ������� ��� ( ) ��������������� �������������������������������������������� ���������������� ������������������������������ ����������� ���������������������������������������������� ������������� ��������� (
) ���������������� ����������� �� ���� �������������������: ������������������������������������ ����������������������������� ����
��������������������
������������������������������������������������������� ������ ����������� slide-out ��������� > ����������� ������������������������������� �������������� ���
����������������������������������������������� slide-out ������ > ��������������������������������������� ������������������� ��������������������������������� ��������������������� ��������� “����������������” ������ 7
���������������������������
������������������������������������ ������ ������������ ���������������( )���������� ���������������������������� ��������������������������������������������������� ����������� ���������� ������������������������������ ����������� ��������
����������������������� ������������������� ������������� ��������� ( ) ������������� ������������������ ����������� �� �������������������������������
��������������������������
������ �������������� slide-out ��������� > ���������������
������������� ���������������� ������ ����������������������������������������������������������� ������������������ �������������������������������������������������������������������
96 IBM Cognos Analytics �������� 11.0: ������������������������
����������������������������������������������������� slide-out ������ > ��������������������������������������������� ���������������������� ��������������������������������������� ��������������������� ��������� “����������������” ������ 7
�������������������������������������������������������� � ���������� � �������������
��� ��������� ( ) �������������� �������������� ��������������������������������� ������������������� ���������������������������������������������������������������������
���������������������������������������
������ �������������� slide-out ��������� > ���������������
������������� ����������������������������� ������ ��������������������������������������������������������������������������������������������������������������
����������������������������������������������
�������� ������������������� slide-out ��������� > �����������
v �������������������������������������������� ������� ��������������������� �������������������������������� ����������������������������������������� ������� ��������������������������������������������
v �������������������������������� ������� �������������������������������� ���� ��������� (
) �������� ��������� ������ �������������� ������� ����������������������������������� ������� ������������ �������
������������������������������������������������������������� slide-out ������ > ��������������������������������������������������� ���������������������� � ������������������������� �������������������������������������� ��������������������� ��������� “����������������”������ 7
������ Cognos Analytics �����������������������������������
���������
������������������������������������������� �������������������������������� IBMCognos Analytics ������������������ ��������� ������������ Cognos Analytics ��������������������������������������������
���������
����� Cognos Analytics ����������� URL <webserver_name>:<port_number>/bi/?factoryMode=true
����� 8. �������� Cognos Analytics ������������������ 97
�������
Cognos Analytics ����������������������������������� ���������������������������������������������� �������������������������� Cognos Analytics ���� URL �������
�������� spec.json
���� spec.json �������������������������� ������������������������������������� IBMCognos Analytics ������� �����������������������������������������������
�������������������������������������������������������� ����������������������� �������������Cognos Analytics ������������������������������������������������������������
name ������������������� ����������������������������������� ������� (_) �����������( )
schemaVersion
�������������������������������� ���������� 1.0���� 2.0���������� ��� 1.0
extensions
����������������������� perspective
perspective
���������������������� ��������������������
common �������������������
<view_name>
������������ <view_name>�������������� ����������� (home,authoring, dashboard���� modeller) ��������������������
type ��������������������� ����������� ������������������ login���������������������������� ��� home��������������� ���������������������� ��������2.0 �������� �������������������������������� 2.0 �������������������������� ����������������� ���������������������������������������������
lensable
������� false������������������������������������������������������� ��������� ��������������������� ��������� “����������������”������ 7
������������� true
comment
��������������������
features
���������������������������������
id ������������������������������
98 IBM Cognos Analytics �������� 11.0: ������������������������
toolItems
�����������������������������������������������������
id �������������������������������������������������
containerId
���������������������������������������
v �������������������������������������������� ����������������������������������� ������������������������������������������
������ containerId������������������������������������ ���������������������������
1. com.ibm.bi.glass.navbarLeadingGroup
2. com.ibm.bi.glass.navbarTrailingGroup
3. com.ibm.bi.glass.appbarLeadingGroup
4. com.ibm.bi.glass.appbarCenterGroup
5. com.ibm.bi.glass.appbarTrailingGroup
v ����������������������������������������� ������containerId������ id���������������������� ��������������������������������� id ��������� “����� id�����������������������������” ������ 106
label ����������������������������������������������� �������������������������������
type ��������������������������������� �������������������������������
v Button
v Menu
v MenuItem
icon ��������������������������������������������� ������������������������������ ��������������������������� zip
����� 8. �������� Cognos Analytics ������������������ 99
weight ���������������������������������������������������������� ����������� �����������������������������������������������
push ����������������������������� ����������������������� ����������� �������� ������� ����������������������� ������������� true���� false����������� true����������������� ��������
coachMark
���� coach mark
title ���������������� coach mark
contents
�������������� coach mark
actionController
������������������������������������������������������������� ��������������������� ��������������
bi/glass/api/IFrameOpener
�����������
bi/glass/api/ReportOpener
���������������
bi/glass/api/DashboardOpener
�����������������
bi/glass/api/FolderOpener
�����������������
v1/ext/<name>/js/controllers/controller_name
������������������������������������������������� ���������������� js/controllers/controller_name.js
options
���������������������������������������������������������������������������������� ����������������������������������������������������������������� ���������“������������������������� built-in” ������ 68
collectionItems
�����������������������������������������������������
containerId
�������������������������������������������
id ����������������������������������������������
100 IBM Cognos Analytics �������� 11.0: ������������������������
content
�������������������
type ���������������� JavaScript ������������� �����������������
options
������������������������������������ JavaScript
cssStyles
��������������������������� .css �������������������������
excludeFeatures
������������� ids ����������������������������������������� ��������������������������������� common
������������������������������������������ id ��������� “����� id�����������������������������” ������ 106
excludeItems
������������� ids �������������������������������������� ��������������������������������� common
��������������������������������� id ��������� “����� id�����������������������������” ������ 106
�������������������������� JSON
������������������� spec.json ���������������������������� �������������
{"type": "object","definitions": {"extType": {
"type": "string","minLength": 1,"pattern": "^v1/ext/.+$"
},"noEmptyString": {
"type": "string","minLength": 1
},"toolItem": {
"type": "object","properties": {"id": {
"$ref": "#/definitions/noEmptyString"},"title": {
"type": "string"},"type": {
"$ref": "#/definitions/noEmptyString"},"actionController": {
����� 8. �������� Cognos Analytics ������������������ 101
"$ref": "#/definitions/noEmptyString"},"label": {
"$ref": "#/definitions/noEmptyString"},"containerId": {
"$ref": "#/definitions/noEmptyString"},"icon": {
"type": "string"},"weight": {
"type": "number"},"class": {
"type": "string"},"comment": {
"type": "string"},"options": {
"type": "object"},"push": {
"type": "string","enum": ["true","false"
]},"coachMark": {
"type": "object","properties": {"title": {"type": "string"
},"contents": {"type": "string"
}},"additionalProperties": false,"required": ["title"
]},"lensable": {
"type": "boolean"}
},"required": ["id"
]},"collectionItem": {
"type": "object",
102 IBM Cognos Analytics �������� 11.0: ������������������������
"properties": {"id": {
"$ref": "#/definitions/noEmptyString"},"containerId": {
"$ref": "#/definitions/noEmptyString"},"label": {
"$ref": "#/definitions/noEmptyString"},"lensable": {
"type": "boolean"}
},"required": ["id","containerId"
]},"collectionContainerItem": {
"type": "object","properties": {"id": {
"$ref": "#/definitions/noEmptyString"},"label": {
"$ref": "#/definitions/noEmptyString"},"lensable": {
"type": "boolean"}
},"required": ["id"
]},"collectionContainer": {
"type": "object","properties": {"id": {
"$ref": "#/definitions/noEmptyString"},"items": {
"type": "array","items": {
"$ref": "#/definitions/collectionContainerItem"}
},"lensable": {
"type": "boolean"}
},"additionalProperties": false,"required": ["id"
����� 8. �������� Cognos Analytics ������������������ 103
]},"feature": {
"type": "object","properties": {"id": {
"$ref": "#/definitions/noEmptyString"},"excludeItems": {
"type": "array","items": {"$ref": "#/definitions/noEmptyString"
}},"excludeFeatures": {
"type": "array","items": {"$ref": "#/definitions/noEmptyString"
}},"toolItems": {
"type": "array","items": {"$ref": "#/definitions/toolItem"
}},"content": {
"type": "object","properties": {"type": {"$ref": "#/definitions/extType"
},"options": {"type": "object"
}},"additionalProperties": false,"required": ["type"
]},"cssStyles": {
"type": "array","items": {"$ref": "#/definitions/extType"
}},"collectionItems": {
"type": "array","items": {"$ref": "#/definitions/collectionItem"
}},"collectionContainers": {
"type": "array",
104 IBM Cognos Analytics �������� 11.0: ������������������������
"items": {"$ref": "#/definitions/collectionContainer"
}},"comment": {
"type": "string"},"lensable": {
"type": "boolean"}
},"additionalProperties": false,"required": ["id"
]},"extension": {
"type": "object","properties": {"perspective": {
"$ref": "#/definitions/noEmptyString"},"features": {
"type": "array","minItems": 1,"items": {
"$ref": "#/definitions/feature"}
},"type": {
"type": "string","enum": [
"home","login"
]},"lensable": {
"type": "boolean","default": true
},"comment": {
"type": "string"}
},"additionalProperties": false
}},"properties": {"schemaVersion": {
"type": "string","enum": ["1.0","2.0"
]},
����� 8. �������� Cognos Analytics ������������������ 105
"name": {"type": "string","pattern": "[a-zA-Z0-9_ ]+$"
},"extensions": {
"type": "array","minItems": 1,"items": {"$ref": "#/definitions/extension"
}},"comment": {
"type": "string"}
},"additionalProperties": false,"required": ["name","extensions"
]}
����� id�����������������������������
��������������� id������������������������������������� ������������������������������������������������������� ������������������������ �������������
���������1. �������������� Cognos Analytics 11.0.7 ������������ �����������������������:
a. ������������ Windows Services ����������������������� IBM Cognos
b. �������� installation_location\wlp\usr\servers\cognosserver\bootstrap.properties
c. �������������������:
disableXSRFCheck=true
d. ����������
e. ���������������� IBM Cognos
2. ������������������������ IBM Cognos Analytics ������
3. ����� URL �������������������������: http://<server_name>:<port>/bi/v1/perspectives/<view> ������ <view> ���������� (home, authoring, dashboard����modeller) ��������������� ���������������� ���� JSON ��������������������������������������������������� ��������
4. ������������������������������������������������� id��� featureId������������������������� �������������������������
106 IBM Cognos Analytics �������� 11.0: ������������������������
��������
�������� �� ������ JSON �������������������������� ������������������� �������
"label": "Delete","id": "com.ibm.bi.contentApps.deleteAction.DeleteAction","featureId": "com.ibm.bi.contentApps.deleteAction"
������ id��� featureId������������������������� ���������������������������� ����������
����� 8. �������� Cognos Analytics ������������������ 107
108 IBM Cognos Analytics �������� 11.0: ������������������������
����� 9. ��������������������������������������
IBM Cognos Programs ����������������������������������������������������� �������������������������������������������������������������������������
������������������������� ��������������������������������� ��������������������������������
�������������������������
��� IBM Cognos Program ����������������������� ″�����������������������″ �������������������������������������������������������������������������������������������������������� ������������������������������� �������������������������������������������������������������� ��������������������� ������������������������� ���������������������������� ���/����������������������������� ����������������������������������������������������������������������� ������������������������������������������� ���������������������������������������������������������� ���������������������������������
109
110 IBM Cognos Analytics �������� 11.0: ������������������������
������������������
��������������������������������������������� IBM Cognos Analytics
��������������
�������������������������������������������� ����������������������������������� ��������IBM Knowledge Center (http://www.ibm.com/support/knowledgecenter)
�������������������������������
IBM Cognos Analytics ������������������������������������������������������������� ��������������������������� ������������������������ ��������������������������������������������������������������������� ����������������������������������������� ������������ ������������������������ � ������������������������������������ ����������������������������� IBM Cognos Analytics
������ HTML ���IBM Cognos ��������������������������������� ������ PDF ������������������������� ����������������������������������������������������
����������� Forward-looking
��������������������������������������������� ������������ �������������������������������������������� ������������ ����������������� ������������������������������� ������������������������������������������� ��������� ������������������������������ ������������������������ �������� ������������������������������������������������������������������������� IBM �����������
�����������������������������
Sample Outdoors Company, Great Outdoors Company, GO Sales ����������� ����������Sample Outdoors ���� Great Outdoors ��� Planning Sample �������������������������������������� �������������������������������������� �������������������������������� IBM andIBM ��������������� ����������������������������������������������� ��������������� ����������������������� ��������������������� ������� ������������� ����������������������������� ������������ �������������������������������������������������������� ������ ������������������������������������ ������������������������ ������������������ ������������������������������������������������� �������� �������������������������������������������������� ������������������������ ������������������������������������������
111
112 IBM Cognos Analytics �������� 11.0: ������������������������
�����
AAmazon Athena 25Amazon Redshift 25Azure SQL Data Warehouse 25
Bbidirectional languages 60
CCloudera Impala
�������� JDBC 20content language 60
DDenodo
������������������� 21
HHTTP Strict Transport Security 29
IIBM Cognos
������� 1IBMid
������� 10ID �������
���������������� 55
MMariaDB 26MemSQL 26MongoDB Connector ������ BI 2.2.1 25
OOpenID Connect
�������������� 10, 11
PPivotal Greenplum ��� HDB
�������������������� 21Presto 26product language 60
SSpark SQL 2.1 Thrift server 25
Ttime zone 60
������
��������� 5�������� 5
�������������������������������� 60
���������������������������������������� 20
������������������������������ Cognos 32������������
������������������ 15��������������������������������
Cloudera Impala 20�����������������������������
������������������������� 20������������������� 30�����������������
���� 30�������� 30
�������������������� 30������������������������������ Cognos 32
��������������� 30����������
�������������� 13�����������
Cognos Analytics 63����� 7������� 58
���������������IBMid 10
113
������������������������������������ 1��������������� 1, 8������������������������� 51
������������������������� 41
����������������������� 38������������������������������� 37
���������������� 35
������������������������� 37
�����������
��������������� 20
������������������
������������������ 21�������������� 24
������������������ 15Cloudera Impala 20Denodo 21Pivotal Greenplum ��� HDB 21������������������������� 20�������� ������������ 15����������������������� 17
��������� JDBC
Cloudera Impala 20
���������������
����� 13
��������
���������������������� ���������������IBM Cognos 1�������� 1������������ ��������������� 8
������� IBM Cognos Series 7 8������������� 8
������
��������� 5����������� 7�������� 5���������������� 51
���������
������� 36������ 36
��������
����������� 58������������ 61������������� 61����������������������������� 61����� 62�������� 54
��������������� 6���������� Cognos Analytics 6������������������������������������������������� 1
���������������� 60������������ ��������������� 1
OpenID Connect 10������� 8
������������������������ 17
���������
����������������� 1���� bootstrap.properties 32
������������������������
���������������� 109
114 IBM Cognos Analytics �������� 11.0: ������������������������
������������������� 36
������
������ 36������
��������������� 37������������ 38�������� 36������ ������ 36����� ������ 36�������������������� 39���� 36
������������������������� 51
��������������������� 39�������
��������� 109��������������� 41
������� ������������� ������������ 109����������������������� 109
�������������������
������������������ 21
������������
ID ������� 55������������ 53���������������������������� 55������������������ 53������� 53
�����
������� 36������ 36
����� 115