这么多年积累的sdk例子。全部带示例代码,基本上能满足大多数应用。
拿出来分享一下希望能够帮助到大家。
SDK sample to print job status
http://www.ibm.com/support/docview.wss?uid=swg21341645
SDK Sample on how to retrieve executing or pending jobs
http://www.ibm.com/support/docview.wss?uid=swg21343835
SDK Sample to find failed schedules in a given time frame
http://www.ibm.com/support/docview.wss?uid=swg21647339
SDK sample how to capture error messages when running a job and sends email
http://www.ibm.com/support/docview.wss?uid=swg21342013
SDK sample to retrieve a list of histories in a defined time range
http://www.ibm.com/support/docview.wss?uid=swg21342489
SDK sample that will retrieve the contents under the Activity tab of Schedule Management
http://www.ibm.com/support/docview.wss?uid=swg21335781
SDK Sample to print a report and get the history
http://www.ibm.com/support/docview.wss?uid=swg21371335
SDK: How to cancel reports that are currently executing in the Schedule Management activity tab
http://www.ibm.com/support/docview.wss?uid=swg21343836
SDK Sample to see which items are running based on a trigger
http://www.ibm.com/support/docview.wss?uid=swg21388999
SDK How can I determine if the report that is creating a specific report view is executing/pending
http://www.ibm.com/support/docview.wss?uid=swg21343313
SDK sample to re-execute a failed Job
http://www.ibm.com/support/docview.wss?uid=swg21423246
SDK Sample to change the Connection String of a Data Source
http://www-01.ibm.com/support/docview.wss?uid=swg21342482
SDK Sample on how to create or modify a database signon in the content store
http://www-01.ibm.com/support/docview.wss?uid=swg21370529
SDK Sample to create, set and change the Datasource, Connection and Isolation Level
http://www-01.ibm.com/support/docview.wss?uid=swg21342301
SDK Sample how to logoff Cognos Connection from a child browser
http://www-01.ibm.com/support/docview.wss?uid=swg21341579
Testing datasource connections using method testDataSourceConnection
http://www-01.ibm.com/support/docview.wss?uid=swg21341455
SDK Sample to create, set and change the Datasource, Connection and Isolation Level
http://www-01.ibm.com/support/docview.wss?uid=swg21342301
SDK Sample on how to create or modify a database signon in the content store
http://www-01.ibm.com/support/docview.wss?uid=swg21370529
SDK How to pass prompt parameter values in a URL
http://www-01.ibm.com/support/docview.wss?uid=swg21338766
SDK Sample to export or import a deployment
http://www-01.ibm.com/support/docview.wss?uid=swg21338960
SDK Sample: How to Export a set of Subfolders only
https://www-304.ibm.com/support/docview.wss?uid=swg21386640
SDK Sample to Import only one package from Deployment archive using the SDK
http://www-01.ibm.com/support/docview.wss?uid=swg21343795
SDK Sample - Retrieve report results in Excel format
http://www-01.ibm.com/support/docview.wss?uid=swg21335510
SDK sample to retrieve (PDF,CSV) report results using the SDK
http://www-01.ibm.com/support/docview.wss?uid=swg21343829
SDK Sample on how to execute a report with multiple parameters
http://www-01.ibm.com/support/docview.wss?uid=swg21344149
How can you use the SDK to pass parameters to a report?
http://www-01.ibm.com/support/docview.wss?uid=swg21335479
SDK How can the IBM Cognos Login / Logout pages be modified ?
http://www-01.ibm.com/support/docview.wss?uid=swg21365541
SDK Sample to extract the report specification and store it on the local machine.
http://www-01.ibm.com/support/docview.wss?uid=swg21335733
SDK Sample to modify report specification without changing other properties of the report
http://www-01.ibm.com/support/docview.wss?uid=swg21335769
SDK sample to modify the package of the reports and the namespace in the expressions in query items.
http://www-01.ibm.com/support/docview.wss?uid=swg21371578
SDK sample code that demonstrates how to update the package name of all reports
http://www-01.ibm.com/support/docview.wss?uid=swg21342290
SDK Sample to update all report and query objects in all packages after a FM publish
http://www-01.ibm.com/support/docview.wss?uid=swg21371429
SDK Sample to update queries or reports after the package is republished
http://www-01.ibm.com/support/docview.wss?uid=swg21346704
SDK Sample: How to page through history using Cognos SDK
http://www-01.ibm.com/support/docview.wss?uid=swg21342447
SDK JSP sample demonstrates how to retrieve report results in Excel format and display in a browser
http://www-01.ibm.com/support/docview.wss?uid=swg21341827
SDK sample to retrieve information from IBM Cognos Configuration.
http://www-01.ibm.com/support/docview.wss?uid=swg21335110
SDK Sample to view / list all Reports by their used Package
http://www-01.ibm.com/support/docview.wss?uid=swg21374788
SDK Sample to modify the modelConnection of a report specification
http://www-01.ibm.com/support/docview.wss?uid=swg21344097
SDK sample to run and drill down in a report
http://www-01.ibm.com/support/docview.wss?uid=swg21341166
SDK Sample to view all reports and create a dynamic web page of the results.
http://www-01.ibm.com/support/docview.wss?uid=swg21345278
SDK Sample to Display the Public Folder content using JSP
http://www-01.ibm.com/support/docview.wss?uid=swg21342504
SDK Sample to display contents from all the existing My Folders from Cognos Connection.
http://www-01.ibm.com/support/docview.wss?uid=swg21335677
SDK Sample - Getting all the properties of an Object in the PropEnum class
http://www-01.ibm.com/support/docview.wss?uid=swg21503137
SDK sample to retrieve objects from a Public Folder in the same order as in Cognos Connection
http://www-01.ibm.com/support/docview.wss?uid=swg21335866
SDK Sample To Set Permissions on the Public Folders
http://www-01.ibm.com/support/docview.wss?uid=swg21344102
SDK Sample to add or update permissions for a user account on a Report Object
http://www-01.ibm.com/support/docview.wss?uid=swg21341231
SDK sample to remove a security object from the Permissions tab
http://www-01.ibm.com/support/docview.wss?uid=swg21339840
SDK Sample to add a new Group and / or Role to Cognos Namespace.
http://www-01.ibm.com/support/docview.wss?uid=swg21335731
SDK Sample to add a new folder to Public Folders
http://www-01.ibm.com/support/docview.wss?uid=swg21335700
SDK Sample for Adding a Member to a Group and Role
http://www-01.ibm.com/support/docview.wss?uid=swg21335446
SDK sample to extract all the groups that a user belongs to from the user namespace
http://www-01.ibm.com/support/docview.wss?uid=swg21335459
SDK Sample to copy reports from one users 'My Folders' to another 'My Folders'
http://www-01.ibm.com/support/docview.wss?uid=swg21344373
SDK Sample - How do you create a report and add it to the Content Store
http://www-01.ibm.com/support/docview.wss?uid=swg21343845
SDK Sample to copy reports from a folder with subfolders/reports to a specified folder and maintain the folder/reports hierarchy
http://www-01.ibm.com/support/docview.wss?uid=swg21642351
SDK Sample to copy one object into a folder as a number of objects
http://www-01.ibm.com/support/docview.wss?uid=swg21339540
SDK sample to copy Objects between different servers
http://www-01.ibm.com/support/docview.wss?uid=swg21335839
SDK sample to copy a report and rename it at the same time
http://www-01.ibm.com/support/docview.wss?uid=swg21335840
SDK Sample to define all Groups/Roles and their respective Users
http://www-01.ibm.com/support/docview.wss?uid=swg21335670
SDK Sample to extract the saved output of a report and save it to the local file system
http://www-01.ibm.com/support/docview.wss?uid=swg21344233
SDK Sample to Extract All the Groups and Roles a User Belongs To
http://www-01.ibm.com/support/docview.wss?uid=swg21344201
SDK Sample to Create a Data Source and Create/Delete a Data Source Connection
http://www-01.ibm.com/support/docview.wss?uid=swg21344206
SDK Sample to create a package in Cognos Connection without Framework Manager, from an existing PowerCube dataSource
http://www-01.ibm.com/support/docview.wss?uid=swg21390163
SDK Sample for publishing JSON datasource as a package
http://www-01.ibm.com/support/docview.wss?uid=swg21693160
SDK Sample to create model and package using PowerCube datasource and publish to Content Manager.
http://www-01.ibm.com/support/docview.wss?uid=swg21371580
SDK - Installing IBM Cognos SDK on a computer with or without the BI Server components.
http://www-01.ibm.com/support/docview.wss?uid=swg21339335
SDK Sample to extract all the permissions out for each report
http://www-01.ibm.com/support/docview.wss?uid=swg21335662
SDK sample to retrieve large report output using MIME attachment
http://www-01.ibm.com/support/docview.wss?uid=swg21340740
SDK Sample to display all the content in My Folders and My Pages for a particular user
http://www-01.ibm.com/support/docview.wss?uid=swg21343940
SDK Sample to retrieve the Query Item for each Data item from a report spec
http://www-01.ibm.com/support/docview.wss?uid=swg21373042
SDK sample to extract information from Framework Manager Content Report
http://www-01.ibm.com/support/docview.wss?uid=swg21335653
SDK Sample to extract the model of a published package
http://www-01.ibm.com/support/docview.wss?uid=swg21344196
SDK example that runs a report with parameters
http://www-01.ibm.com/support/docview.wss?uid=swg21341003
SDK Sample - How to use the SDK to run a report without saving and then deliver the report to the browser.
http://www-01.ibm.com/support/docview.wss?uid=swg21335656
SDK Sample to execute a report using the report specification
http://www-01.ibm.com/support/docview.wss?uid=swg21344378
SDK Sample code that demonstrates how to run a report and send the output in an email to specific users
http://www-01.ibm.com/support/docview.wss?uid=swg21342604
SDK Sample to pass a date range parameter to a report
http://www-01.ibm.com/support/docview.wss?uid=swg21344372
SDK sample to add a Cognos portlet to a portal page/tab
http://www-01.ibm.com/support/docview.wss?uid=swg21341816
SDK Sample to change the sequence / order of the portal tabs
http://www-01.ibm.com/support/docview.wss?uid=swg21342822
SDK Sample to add portal page to a multiple users
http://www-01.ibm.com/support/docview.wss?uid=swg21384606
SDK sample to copy customized My Pages to other users
http://www-01.ibm.com/support/docview.wss?uid=swg21344011
SDK sample to copy portal tabs from one account to another in IBM Cognos
http://www-01.ibm.com/support/docview.wss?uid=swg21339906
SDK sample to change users portal preferences
http://www-01.ibm.com/support/docview.wss?uid=swg21341648
SDK Sample - How to create a user profile using the default profile settings
http://www-01.ibm.com/support/docview.wss?uid=swg21615332
SDK sample to activate Account and Profile in the Content Store for new users
http://www-01.ibm.com/support/docview.wss?uid=swg21340639
SDK Sample : How to list security objects associated with all report/powerplay reports
http://www-01.ibm.com/support/docview.wss?uid=swg21385931
SDK sample to list the reports or objects own by the user under the public folders
http://www-01.ibm.com/support/docview.wss?uid=swg21373126
SDK Sample: How to recover the My Folders of users that no longer exist in the Authentication Provider
http://www-01.ibm.com/support/docview.wss?uid=swg21340789
SDK Sample to extract and modify the TimeZone property of a user
http://www-01.ibm.com/support/docview.wss?uid=swg21340559