Escolar Documentos
Profissional Documentos
Cultura Documentos
USER GUIDE
Cognos(R) 8
Product Information
This document applies to Cognos 8 Version 8.2 and may also apply to subsequent releases. To check for newer versions of this document, visit the Cognos Global Customer Services Web site (http://support.cognos.com).
(R)
Copyright
Copyright (C) 2007 Cognos Incorporated. Portions of Cognos(R) software products are protected by one or more of the following U.S. Patents: 6,609,123 B1; 6,611,838 B1; 6,662,188 B1; 6,728,697 B2; 6,741,982 B2; 6,763,520 B1; 6,768,995 B2; 6,782,378 B2; 6,847,973 B2; 6,907,428 B2; 6,853,375 B2; 6,986,135 B2; 6,995,768 B2; 7,062,479 B2; 7,072,822 B2. Cognos and the Cognos logo are trademarks of Cognos Incorporated in the United States and/or other countries. All other names are trademarks or registered trademarks of their respective companies. While every attempt has been made to ensure that the information in this document is accurate and complete, some typographical errors or technical inaccuracies may exist. Cognos does not accept responsibility for any kind of loss resulting from the use of information contained in this document. This document shows the publication date. The information contained in this document is subject to change without notice. Any improvements or changes to either the product or the document will be documented in subsequent editions. U.S. Government Restricted Rights. The software and accompanying materials are provided with Restricted Rights. Use, duplication, or disclosure by the Government is subject to the restrictions in subparagraph (C)(1)(ii) of the Rights in Technical Data and Computer Software clause at DFARS 252.227-7013, or subparagraphs (C) (1) and (2) of the Commercial Computer Software - Restricted Rights at 48CFR52.227-19, as applicable. The Contractor is Cognos Corporation, 15 Wayside Road, Burlington, MA 01803. This software/documentation contains proprietary information of Cognos Incorporated. All rights are reserved. Reverse engineering of this software is prohibited. No part of this software/documentation may be copied, photocopied, reproduced, stored in a retrieval system, transmitted in any form or by any means, or translated into another language without the prior written consent of Cognos Incorporated.
Table of Contents
Introduction 7 Using This Document 7 Audience 7 Related Documentation 7 Finding Documentation 8 Using Quick Tours 8 Getting Help 8 Printing Copyright Material 8 Chapter 1: Working in Excel 9 Understanding Cognos 8 Go! Office in the Microsoft Excel Environment 9 Start Cognos 8 Go! Office 10 Enable Cognos 8 Go! Office in an Existing Workbook 10 Log On, Hide or Show the Cognos Action Pane, and Log Off 12 Import Cognos Report Elements 13 Working with Prompted Reports 15 Enter Prompts 15 Change Prompts Using the Properties Pane 16 Remove Answers to Prompts 17 Working with Reports and Content 17 Run Reports in PowerPlay Web, Analysis Studio, or Report Studio 17 View Information About Content 18 Refresh Report Content and Folders 18 Remove Reports or Report Data from a Workbook 19 Cognos 8 Go! Office Best Practices in the Microsoft Excel Environment 19 Manage Workbooks in Cognos Connection 20 Download an Excel Workbook from Cognos Connection 21 Save Workbooks Created With Cognos 8 Go! Office 21 Chapter 2: Working in PowerPoint 23 Understanding Cognos 8 Go! Office in the Microsoft PowerPoint Environment 23 Start Cognos 8 Go! Office 23 Enable Cognos 8 Go! Office in an Existing Presentation 24 Log On, Hide or Show the Cognos Action Pane, and Log Off 25 Import Cognos Report Elements 26 Working with Prompted Reports 27 Enter Prompts 27 Change Prompts Using the Properties Pane 28 Remove Answers to Prompts 29 Working With Reports and Content 29 Run Reports in PowerPlay Web, Analysis Studio, or Report Studio 29 Managing Content in PowerPoint 30 View Information About Content 30 Refresh Report Content and Folders 30 Remove Reports or Report Data from a Presentation 31 Cognos 8 Go! Office Best Practices in the Microsoft PowerPoint Environment 32 Manage Presentations in Cognos Connection 32 Download a PowerPoint Presentation from Cognos Connection 33 Save Presentations Created With Cognos 8 Go! Office 33
User Guide 3
Chapter 3: Working in Word 35 Understanding Cognos 8 Go! Office in the Microsoft Word Environment 35 Start Cognos 8 Go! Office 35 Enable Cognos 8 Go! Office in an Existing Document 36 Log On, Hide or Show the Cognos Action Pane, and Log Off 38 Import Cognos Report Elements 39 Working with Prompted Reports 40 Enter Prompts 41 Change Prompts Using the Properties Pane 41 Remove Answers to Prompts 42 Working With Reports and Content 42 Run Reports in PowerPlay Web, Analysis Studio, or Report Studio 42 Managing Content in Word 43 View Information About Content 43 Refresh Report Content and Folders 43 Remove Reports or Report Data from a Document 44 Cognos 8 Go! Office Best Practices in the Microsoft Word Environment 44 Manage Documents in Cognos Connection 45 Download a Word Document from Cognos Connection 46 Save Documents Created With Cognos 8 Go! Office 46 Chapter 4: Automating Cognos 8 Go! Office 47 Register the Cognos 8 Go! Office Automation Object 47 Reference the Cognos 8 Go! Office Automation Object in a Global Variable 48 Writing Code for Cognos 8 Go! Office Automation 49 Set Up the Cognos 8 Go! Office Template to Log Automation Activities and Errors 50 Cognos 8 Go! Office API Functions 50 The IResult Interface 50 The Logon Method 51 The Logon2 Method 51 The EnableLogging Method 52 The RefreshCOCContent Method 52 The Publish Method 53 The Logoff Method 53 Using the Cognos 8 Go! Office API 53 Using the Cognos 8 Go! Office VBA Code Samples 54 Import Cognos 8 Go! Office Forms and Visual Basic Files 55 Macro Files 55 Script Files 56 XML Schema File 56 Working with the Cognos 8 Go! Office Command Line 57 Refresh a List of Office Documents from the Command Line 58 Publish a List of Office Documents from the Command Line 58 Refresh a List of Office Documents from Scheduled Task 59 Chapter 5: Troubleshooting 61 Troubleshooting Resources 61 Error Messages 61 Log Files 61 Windows Event Viewer 62 Samples 62 Use the Knowledge Base of the Cognos Global Customer Services Web site 62 Call Cognos Global Customer Services 62 Common Errors 63 Configuration Issues 63 Processing Issues 67 Security Issues 68
Glossary 71 Index 75
User Guide 5
Introduction
This document is intended for use with Cognos 8 Go! Office. Cognos 8 Go! Office is a smart client for retrieving content from Cognos reporting products, such as Cognos 8 and PowerPlay Web within Microsoft Office.
Audience
This guide assumes that you are familiar with Cognos products, such as Cognos 8, Cognos Connection, and PowerPlay and Microsoft Office applications, such as Microsoft Office Excel, Microsoft Office Word, and Microsoft Office PowerPoint. If you want to automate Cognos 8 Go! Office using the API, you must have knowledge of Visual Basic (VB) or Visual Basic for Applications (VBA).
Related Documentation
Our documentation includes user guides, getting started guides, new features guides, readmes, and other materials to meet the needs of our varied audience. The following documents contain related information and may be referred to in this document. To view these documents, either consult your administrator to determine the online location of Cognos documentation or search the Product Documentation library of the Cognos Global Customer Services Web site (http://support.cognos.com/kb-app/knowledgebase). If you require logon credentials, either consult your administrator or send an email to support.america@cognos.com. Document Description
Cognos Connection User Using Cognos Connection to publish, find, manage, organize, and Guide view Cognos content, such as scorecards, reports, analyses, and agents Cognos 8 Administration Managing servers, security, reports, and Portal Services; setting up and Security Guide Cognos samples; and customizing Cognos 8 Cognos 8 Installation and Installing, upgrading, configuring, and testing Cognos 8, deploying Configuration Guide Cognos 8 Go! Office, changing application servers, and setting up samples Report Studio User Guide Authoring reports that analyze corporate data according to specific needs Analysis Studio User Guide Exploring, analyzing, and comparing dimensional data
User Guide 7
Introduction
Document Cognos PowerPlay Enterprise Server Guide Cognos PowerPlay Web Users Guide
Description Administering PowerPlay servers and deploying cubes and reports to PowerPlay users in Windows environments or on the Web Viewing, exploring, formatting, and distributing PowerPlay reports using a Web browser
Finding Documentation
To find the most current Cognos documentation, including all localized documentation, access the Cognos Global Customer Services Web site (http://support.cognos.com). Click the Documentation link to access product documentation. Click the Knowledge Base link to access all documentation, technical papers, and multimedia materials. Product-specific documentation is available in online help from the Help menu or button in Cognos products. You can also download documentation in PDF format from the Cognos Global Customer Services Web site. This document is available as online help in the Cognos Action pane. You can also read PDF versions of the product readme files and installation guides directly from Cognos product CDs.
Getting Help
For more information about using this product or for technical assistance, visit the Cognos Global Customer Services Web site (http://support.cognos.com). This site provides product information, services, user forums, and a knowledge base of documentation and multimedia materials. To create a case, contact a support person, or provide feedback, click the Contact Support link. For information about education and training, click the Training link.
Log on to Cognos 8 Go! Office. Import Cognos report elements to a workbook. Work with reports and content. Publish workbooks to Cognos Connection.
User Guide 9
Steps for the Microsoft Office Excel 2003 Professional Smart Client
1. 2. 3. 4. In Microsoft Excel, open the workbook. From the File menu, click Properties. Click the Custom tab. Add the required custom properties. Name CognosGateway Description Required for all Microsoft Office versions. The URI for the Cognos 8 gateway. Type Text Value http://server_name:port/cogno s8/cgi-bin/cognos.cgi
10
Chapter 1: Working in Excel Name Description Type Text Value http://server_name:webserver_ port_number/cognos8/coc ExcelSmartClient
_AssemblyLocation Required. The location of the smart client dll file. _AssemblyName
Required. The name of Text the smart client dynamic link library (dll) without the .dll extension. Optional. A file where information is logged. If you turn logging on for a template, all files created from the template will also have logging turned on. Text
LogFile
c:\logs\LogFile.log Log files will have a time stamp appended to the name, such as LogFile_155928924.log.
AutoLogFile
Text Optional. A file where information is logged for batch processing. For more information, see Automating Cognos 8 Go! Office. Yes or no Optional. For forms-based authentication. FBAC can be used with security applications such as SiteMinder.
c:\logs\AutoLogFile.log
FBAC
Yes, to enable forms-based authentication. No, to disable forms-based authentication. To set the FBAC property, you must select Yes or no as the custom property Type, and then select the appropriate Value.
EnableSSO
Optional. EnableSSO allows you to disable single signon with other Cognos 8 Go! Office documents and other Cognos Products. This property does not affect other Cognos 8 Go! Office-enabled documents.
Yes or no The value for EnableSSO can be Yes or No. If this property is not set, the default will be Yes. This means that the Microsoft Office file or template will use single signon. Setting the property to No will disable single signon for the file or template. To set the EnableSSO property, you must select Yes or No as the custom property Type, and then select the appropriate Value.
User Guide 11
Name
Description
Type Text
Value http://server_name:port/cognos 8/cgi-bin/cognos.cgi c:\logs\LogFile.log Log files will have a time stamp appended to the name, such as LogFile_155928924.log.
CognosGateway Required for all Microsoft Office versions. The URI for the Cognos 8 gateway. LogFile Optional. A file where information is logged. If you turn logging on for a template, all files created from the template will also have logging turned on. AutoLogFile Optional. A file where information is logged for batch processing. For more information, see Automating Cognos 8 Go! Office.
Text
Text
c:\logs\AutoLogFile.log
FBAC
Yes or Optional. For forms-based authentication. FBAC can be no used with security applications such as SiteMinder.
Yes, to enable forms-based authentication. No, to disable forms-based authentication. To set the FBAC property, you must select Yes or No as the custom property Type, and then select the appropriate Value. The value for EnableSSO can be Yes or No. If this property is not set, the default will be Yes. This means that the Microsoft Office file or template will use single signon. Setting the property to No will disable single signon for the file or template. To set the EnableSSO property, you must select Yes or No as the custom property Type, and then select the appropriate Value.
EnableSSO
Optional. EnableSSO allows you to disable single signon with other Cognos 8 Go! Office documents and other Cognos Products. This property does not affect other Cognos 8 Go! Office-enabled documents.
Yes or no
Log On, Hide or Show the Cognos Action Pane, and Log Off
Before you use Cognos 8 Go! Office, you must log on to the datasource that contains the reports you want to import. You can log on to multiple datasources. The procedures for logging on may vary depending on your credential system. The commands to log on or log off must be performed using the context menu on the top node of the portal tree in the Cognos Content tab. Depending on how your security is set up, you may have several logon screens or no logon screens displayed.
Steps to Log On
1. On the Cognos Content tab, right-click the top node of the portal tree and then click Log On. The Log On dialog box appears. 12 Cognos 8 Go! Office
Chapter 1: Working in Excel 2. If there is more than one namespace, in the Namespace box, click the namespace and click OK. 3. In the User ID box, type your user ID. 4. In the Password box, type your password and click OK.
Import data as a simple list without any grouping applied in Import as List the Cognos report (supported for Microsoft Office Excel 2003 - Professional or Standard) Import data without any formatting applied to the Cognos report Resize the width of the columns in the Excel workbook so that you can read all of the text in the imported list Ignore formatting Automatically Resize Columns
User Guide 13
Steps
1. In Cognos 8 Go! Office, click the Browse Content tab. 2. Expand the list of reports from the top node and click the report you want to import into the workbook. 3. Click Import Content. The Import Content wizard appears. If this report has been imported to this workbook already a unique name for this instance of the report is assigned. If you choose, you can assign a name. The limit for a name is 215 characters. If the default name is too long, a warning alerts you to this fact and you are prompted to change the name. 4. To change the default name, in the Name box, type the new name and click Next. 5. Select page options. Option Ignore paging Insert page breaks between report pages Description Insert report content in one continuous flow on the current worksheet Inserts the report content on the current worksheet and inserts page breaks. In the Location box, type the cell location where data appears on each worksheet.
Create new worksheets Copies each page of the report to a new worksheet. In the for report pages Location box, type the cell location where data appears on each worksheet. 6. Choose whether to accept the default import setting. To accept defaults for placement and layout of report content, click Finish. The selected report elements appear in the workbook. To choose settings for the placement and layout of report content, click Next. Continue with the remaining steps in this task. Tip: To jump to a particular page in the wizard, click the element or options page listed in the left pane of the wizard. 7. On the Select Report Elements page, click the report elements that you want to place in the workbook and click Next. 8. In the Name box, type the name of this import. If this element has been imported to this workbook already a unique name for this instance of the element is assigned. If you choose, you can assign a name. The limit for a name is 215 characters. If the default name is too long, a warning alerts you to this fact and you are prompted to change the name. 9. In the Location box, type the sheet, column, and row designation. Tip: Click the button to the right of the Location box to select a cell range in the active workbook. The default is the active or current cell of the active workbook. Leave the Location box blank to automatically fit content after the previous element. 10. Select the workbook options that you want and click Next. Depending on the type of report, workbook options include the following: Option Hide Label Repeat Label Description Hides or shows labels for row or column metadata. Repeats labels for row or column metadata.
14
Option Group
Description Groups row or column items using the Microsoft Office Excel Group feature. After content has been placed in a workbook, you may need to expand items to see the data in rows and columns. Shows items as a list, which enables list controls at the top of each column. This option is available in Microsoft Office Excel 2003 (Professional or Standard), which supports the list feature. This feature is not supported in Microsoft Office Excel XP. For list report elements, imports numeric data without formatting or masks. Adjusts the column size to fit the contents
11. For each report element, repeat steps 7 through 9. 12. Click Next, and then click Finish. 13. If this is a prompted report, enter prompt answers and click Finish. For more information about prompted reports, see Working With Prompted Reports. The selected report elements appear in the workbook. Graphs and charts are imported as images.
Enter Prompts
After selecting report content to import, you must select answers for report prompts. The control is identical to the one used in the report itself. The types of controls vary based on the query or the they way the prompt was designed by the report author.
Steps
1. Click the answer and then click Next. 2. After you complete all the prompt answers, click Finish. The report renders and is displayed with the selected data.
User Guide 15
Excel, Word, and Sets the answer to the prompt and requires that the prompt value be typed into the Use Value box, PowerPoint where the value is saved for future renditions of the Office document. Requires the user to be prompted. No value is saved and the user is prompted each time the report is refreshed. Excel, Word, and PowerPoint
Always Prompt
Cell Value
Specifies an Excel cell for the prompt answer and Excel only requires that the cell reference be typed into the Cell Reference box, where the worksheet, column, and row location is saved for future renditions of the workbook.
16
Steps
1. In the Manage Data tab, right-click a report. 2. Click Remove Prompts.
User Guide 17
Steps
1. In Cognos 8 Go! Office, click the Manage Data tab. 2. Expand the hierarchical list and click a report element, such as the header. 3. View the results in the Properties box. These results include information, such as the date and time of the last update, the portal or element ID, and the report name. After you finish viewing the results, you may choose to refresh the content. For more information, see Refresh Report Content and Folders.
18
Chapter 1: Working in Excel 2. Right-click a report element or component. 3. Choose whether to refresh data with formatting: To refresh data with formatting, click Refresh Data with Format. To refresh data without formatting, click Refresh Data without Format. Tip: To refresh a report from a worksheet, right-click the named range, and then click Refresh Data. The selected report content is refreshed.
Steps
1. In the Cognos Action Pane click the Manage Data tab. 2. Right-click the report or report element you want to remove and then click the remove option. Remove option Remove Element or Remove Report Remove Data Description Breaks the link between the data in the workbook and the report on which that data is based Clears the cells of the workbook
Remove Element and Data Completely deletes the report and data from the cells of the or Remove Report and workbook Data The selected report or report element is removed along with all of its dependent items.
User Guide 19
Chapter 1: Working in Excel Create and manage your workbook templates for a wide variety of users. For example, for regional sales managers, you can create a master template that contains all of your corporate data. Then use the Remove data command to clear the workbook of secure data items. Publish the workbook to Cognos Connection and give each manager access to the workbook. Upon refresh of the data, each regional manager sees only the data for his or her region. Publish data with fixed content by breaking the link between the workbook and Cognos 8 Go! Office. Use the Remove report function if you want to present part of the workbook with fixed data. In this case, fixed corporate data that all regional managers should view could be added to the master workbook. Then the link from the report to the workbook cells can be deleted while leaving the common data in the cells. Limit chart metadata in image maps to what can be seen as a static image. Microsoft Excel does not support image maps. Charts are imported as images and do not have the context sensitivity and data values that appear when that same image map is viewed in Cognos 8. Use Cognos 8 Go! Office to copy, move, or delete report objects. In the Manage Content tab of the Cognos Action pane you can click items and see how they are positioned in the workbook. You can refresh individual objects by clicking the report and expanding the list and then right-clicking the report element. To make multiple copies of an item, it is better to reimport the item and place it in the workbook. Report elements have different behavior based on the type of object that it is. Format content in Microsoft Excel using data formats. If you use extensive formatting, you should refresh data without formatting so that the changes you make are not overwritten by formatting changes in the original report. If formatting is applied to cells and the refreshed data shifts, the cell formatting does not move to the new location. This can change the meaning of data. Apply cell formatting to negative numbers. To highlight negative numbers in red, apply the cell formatting in the cell number property instead of the font color. If the data changes, the cell remains red if it is applied as red to the font, but reverts to black if the negative number format is applied.
20
Chapter 1: Working in Excel 5. 6. 7. 8. 9. 10. Click Yes. Click a location. If prompted, select your namespace and enter your user name and password. In the Description box, type a description for the report. In the Screen Tip box, type a tip and click OK. Click OK.
Steps
1. In Cognos Connection, locate the workbook that you want to open. 2. Click more on the actions toolbar to the right of the document that you want to download. The Cognos Connection actions page opens. 3. To download the workbook, click the View most recent document in Excel object. The File Download dialog box appears. 4. Click Save and follow the prompts that appear. You must save the workbook before using it with Cognos 8 Go! Office. You can now perform the same actions that you would perform for any Excel workbook.
User Guide 21
22
Log on to Cognos 8 Go! Office. Import Cognos report elements to a presentation. Work with reports and content. Publish presentations to Cognos Connection.
Steps
1. Start Microsoft Office PowerPoint. 2. From the File menu, click New. 3. In the New Presentation pane, click On my Web sites.
User Guide 23
Chapter 2: Working in PowerPoint 4. In the File name box, type the URL of the Cognos 8 Go! Office template, and then click Create New. You can now log on to Cognos 8 Go! Office.
Steps
1. 2. 3. 4. In Microsoft PowerPoint, open the presentation. From the File menu, click Properties. Click the Custom tab. Add the required custom properties. Name Description Type Value http://server_name:port/cogno s8/cgi-bin/cognos.cgi c:\logs\LogFile.log Log files will have a time stamp appended to the name, such as LogFile_155928924.log.
CognosGateway Required for all Microsoft Text Office versions. The URI for the Cognos 8 gateway. LogFile Optional. A file where information is logged. If you turn logging on for a template, all files created from the template will also have logging turned on. AutoLogFile Text Optional. A file where information is logged for batch processing. For more information, see Automating Cognos 8 Go! Office. Yes or no Optional. For forms-based authentication. FBAC can be used with security applications such as SiteMinder. Text
c:\logs\AutoLogFile.log
FBAC
Yes, to enable forms-based authentication. No, to disable forms-based authentication. To set the FBAC property, you must select Yes or No as the custom property Type, and then select the appropriate Value.
24
Name EnableSSO
Description
Type
Value The value for EnableSSO can be Yes or No. If this property is not set, the default will be Yes. This means that the Microsoft Office file or template will use single signon. Setting the property to No will disable single signon for the file or template. To set the EnableSSO property, you must select Yes or No as the custom property Type, and then select the appropriate Value.
Optional. EnableSSO allows Yes or no you to disable single signon with other Cognos 8 Go! Office documents and other Cognos Products. This property does not affect other Cognos 8 Go! Office-enabled documents.
Log On, Hide or Show the Cognos Action Pane, and Log Off
Before you use Cognos 8 Go! Office, you must log on to the datasource that contains the reports you want to import. You can log on to multiple datasources. The procedures for logging on may vary depending on your credential system. The commands to log on or log off must be performed using the context menu on the top node of the portal tree in the Cognos Content tab. Depending on how your security is set up, you may have several logon screens or no logon screens displayed.
Steps to Log On
1. On the Cognos Content tab, right-click the top node of the portal tree and then click Log On. The Log On dialog box appears. 2. If there is more than one namespace, in the Namespace box, click the namespace and click OK. 3. In the User ID box, type your user ID. 4. In the Password box, type your password and click OK.
User Guide 25
Steps
1. In Cognos 8 Go! Office, click the Browse Content tab. 2. Expand the list of reports from the top node and click the report you want to import into the presentation. 3. Click Import Content. The Import Content wizard appears. If this report has been imported to this presentation already a unique name for this instance of the report is assigned. If you choose, you can assign a name. The limit for a name is 215 characters. If the default name is too long, a warning alerts you to this fact and you are prompted to change the name. 4. To change the default name, in the Name box, type the new name and click Next. 5. Select page options. Option Ignore paging Create new slides for report pages Description Ignore pages and insert content on designated slides Creates new slides for each page of the report. You must select a slide to put content after. By default it is usually the current active slide.
6. Choose whether to accept the default import setting: To accept defaults for placement and layout of report content, click Finish. The selected report elements appear in the presentation on the active slide. To choose settings, click Next. Continue with the remaining steps in this task. Tip: To jump to a particular page in the wizard, click the element or options page listed in the left pane of the wizard. 7. On the Select Report Elements page of the wizard, click the report elements that you want to place in the presentation and click Next. 8. In the Name box, type the name of this element to import. If this element has been imported to this workbook already a unique name for this instance of the element is assigned. If you choose, you can assign a name. The limit for a name is 215 characters. If the default name is too long, a warning alerts you to this fact and you are prompted to change the name. 9. In the Location box, click the slide number.
26
Chapter 2: Working in PowerPoint Tip: Click the New Slide button to the right of the Location box to add a slide to the presentation. If this is a crosstab or list element, in the Limit the number of rows displayed box, click the number of rows to display on the slide. The default is 0 (zero), which means that autosize is set to True. The range is 0 to 25. Use this option to fit larger reports on a slide. When set to 0 (zero), the application automatically sets the number of rows based on the content that is being imported. For objects that have more than 25 rows, the content is truncated to 25 rows, which is the maximum number of rows allowed by PowerPoint. If this is a crosstab or list element, in the Limit the number of columns displayed box, click the number of columns to display on the slide and click Next. The default is 0 (zero), which means that autosize is set to True. The range is 0 to 25. Use this option to fit larger reports on a slide. When set to 0 (zero), the application automatically sets the number of columns based on the content that is being imported. For objects that have more than 25 columns, the content is truncated to 25 columns, which is the maximum number of columns allowed by PowerPoint. For each report element, repeat steps 7 through 10. Tip: At any time, click Finish to accept the default settings and locations. The remaining elements use the settings from the last element that was set in the wizard. To put each report element on a new slide, in the Location box click New Slide. Click Next, and then click Finish.
10.
11.
12.
13.
The selected report elements appear in the presentation. Graphs and charts are imported as images.
Enter Prompts
After selecting report content to import, you must select answers for report prompts. The control is identical to the one used in the report itself. The types of controls vary based on the query or the they way the prompt was designed by the report author.
Steps
1. Click the answer and then click Next. 2. After you complete all the prompt answers, click Finish. The report renders and is displayed with the selected data.
User Guide 27
Excel, Word, and Sets the answer to the prompt and requires that the prompt value be typed into the Use Value box, PowerPoint where the value is saved for future renditions of the Office document. Requires the user to be prompted. No value is saved and the user is prompted each time the report is refreshed. Excel, Word, and PowerPoint
Always Prompt
Cell Value
Specifies an Excel cell for the prompt answer and Excel only requires that the cell reference be typed into the Cell Reference box, where the worksheet, column, and row location is saved for future renditions of the workbook.
28
Steps
1. In the Manage Data tab, right-click a report. 2. Click Remove Prompts.
User Guide 29
Steps
1. In Cognos 8 Go! Office, click the Manage Data tab. 2. Expand the hierarchical list and click a report element, such as the header. 3. View the results in the Properties box. These results include information, such as the date and time of the last update, the portal or element ID, and the report name. After you finish viewing the results, you may choose to refresh the content. For more information, see Refresh Report Content and Folders.
30
Refreshing Formatting
You should be aware of how formatting is refreshed when you refresh data in a PowerPoint presentation. Formatting preserved when you refresh Cognos data Any custom formatting applied in the PowerPoint presentation, such as borders, positioning, and resizing Any custom formatting applied in the PowerPoint presentation, such as the cell fill, cell borders, font size, and font style Formatting updated when you refresh Cognos data Formatting applied to the chart in the Cognos report, such as the palette or legend Columns or rows added in PowerPoint are overwritten and columns or rows deleted in PowerPoint re-appear
Steps
1. In the Cognos Action Pane click the Manage Data tab. 2. Right-click the report or report element you want to remove and then click the remove option. Remove option Remove Element or Remove Report Description Breaks the link between the data in the presentation and the report on which that data is based
User Guide 31
Remove Element and Data Completely deletes the report and data from the cells of the or Remove Report and presentation Data The selected report or report element is removed along with all of its dependent items.
Chapter 2: Working in PowerPoint You can also open Cognos 8 Go! Office enabled presentations from Cognos Connection. You may need to configure Microsoft Internet Explorer to open presentations in PowerPoint for this option to work. You can start Cognos 8 Go! Office when you open a presentation that was saved to Cognos Connection. For more information, see the Cognos Connection User Guide.
Steps
1. In Cognos Connection, locate the presentation that you want to open. 2. Click more on the actions toolbar to the right of the presentation that you want to download. The Cognos Connection actions page opens. 3. To download a presentation, click the View most recent document in PowerPoint object. The File Download dialog box appears. 4. Click Save and follow the prompts that appear. You must save the presentation before using it with Cognos 8 Go! Office. You can now perform the same actions that you would perform for any presentation.
User Guide 33
Chapter 2: Working in PowerPoint To save the presentation with the most up-to-date data, from the Manage Data tab, click Refresh all data. To save the presentation without data, from the Manage Data tab, click Remove all data. 2. From the File menu, click Save.
34
Log on to Cognos 8 Go! Office. Import Cognos report elements to a document. Work with reports and content. Publish documents to Cognos Connection.
User Guide 35
Chapter 3: Working in Word If the New Document pane is not active by default, you can press F1 to activate the pane before beginning these steps.
Steps
1. 2. 3. 4. Start Microsoft Office Word. From the File menu, click New. In the New Document pane, click On my Web sites. In the File name box, type the URL of the Cognos 8 Go! Office template, and then click Create New.
Steps for the Microsoft Office Word 2003 Professional Smart Client
1. 2. 3. 4. In Microsoft Word, open the document. From the File menu, click Properties. Click the Custom tab. Add the required custom properties. Name CognosGateway Description Required for all Microsoft Office versions. The URI for the Cognos 8 gateway. Type Text Value http://server_name:port/cog nos8/cgi-bin/cognos.cgi http://server_name:webserv er_port_number/cognos8/c oc WordSmartClient
_AssemblyLocation Required. The location of the Text smart client dll file. _AssemblyName Required. The name of the smart client dynamic link library (dll) without the .dll extension. Optional. A file where information is logged. If you turn logging on for a template, all files created from the template will also have logging turned on. Text
LogFile
Text
c:\logs\LogFile.log Log files will have a time stamp appended to the name, such as LogFile_155928924.log.
36
Chapter 3: Working in Word Name AutoLogFile Description Optional. A file where information is logged for batch processing. For more information, see Automating Cognos 8 Go! Office. Optional. For forms-based authentication. FBAC can be used with security applications such as SiteMinder. Type Text Value c:\logs\AutoLogFile.log
FBAC
Yes or no
Yes, to enable forms-based authentication. No, to disable forms-based authentication. To set the FBAC property, you must select Yes or No as the custom property Type, and then select the appropriate Value. The value for EnableSSO can be Yes or No. If this property is not set, the default will be Yes. This means that the Microsoft Office file or template will use single signon. Setting the property to No will disable single signon for the file or template. To set the EnableSSO property, you must select Yes or No as the custom property Type, and then select the appropriate Value.
EnableSSO
Optional. EnableSSO allows Yes or no you to disable single signon with other Cognos 8 Go! Office documents and other Cognos Products. This property does not affect other Cognos 8 Go! Office-enabled documents.
LogFile
Text
User Guide 37
Name AutoLogFile
Description Optional. A file where information is logged for batch processing. For more information, see Automating Cognos 8 Go! Office. Optional. For forms-based authentication. FBAC can be used with security applications such as SiteMinder.
Type Text
Value c:\logs\AutoLogFile.log
FBAC
Yes or no
Yes, to enable forms-based authentication. No, to disable forms-based authentication. To set the FBAC property, you must select Yes or No as the custom property Type, and then select the appropriate Value. The value for EnableSSO can be Yes or No. If this property is not set, the default will be Yes. This means that the Microsoft Office file or template will use single signon. Setting the property to No will disable single signon for the file or template. To set the EnableSSO property, you must select Yes or No as the custom property Type, and then select the appropriate Value.
EnableSSO
Optional. EnableSSO allows Yes or no you to disable single signon with other Cognos 8 Go! Office documents and other Cognos Products. This property does not affect other Cognos 8 Go! Office-enabled documents.
Log On, Hide or Show the Cognos Action Pane, and Log Off
Before you use Cognos 8 Go! Office, you must log on to the datasource that contains the reports you want to import. You can log on to multiple datasources. The procedures for logging on may vary depending on your credential system. The commands to log on or log off must be performed using the context menu on the top node of the portal tree in the Cognos Content tab. Depending on how your security is set up, you may have several logon screens or no logon screens displayed.
Steps to Log On
1. On the Cognos Content tab, right-click the top node of the portal tree and then click Log On. The Log On dialog box appears. 2. If there is more than one namespace, in the Namespace box, click the namespace and click OK. 3. In the User ID box, type your user ID. 4. In the Password box, type your password and click OK.
38
Chapter 3: Working in Word To hide the Cognos Action Pane, on the Toolbars tab, clear the Cognos Action Pane check box.
Steps
1. In Cognos 8 Go! Office, click the Browse Content tab. 2. Expand the list of reports from the top node and click the report you want to import into the document. 3. Click Import Content. The Import Content wizard appears. 4. Choose whether to accept the default import setting. To accept defaults for placement and layout of report content, click Finish. The selected report elements appear in the document. To choose settings, click Next. Continue with the remaining steps in this task. 5. Follow the on-screen prompts to complete the wizard. Tip: At any time, click Finish to accept the default settings and locations. Tip: To jump to a particular page in the wizard, click the element or options page listed in the left pane of the wizard. 6. Depending on the type of report and the elements that you are selecting, you must complete some or all of the following options for each element: Option Name Description Element
Report Name, If this report or element has been imported to this document already a unique name for this instance of Element Name the report or element is assigned. If you choose, you can assign a name. The limit for a name is 215 characters or 40 characters for list items and crosstab items. If the default name is too long, a warning alerts you to this fact and you are prompted to change the name. Ignore the report page breaks and feed the content continuously down the Word document pages Pages
Ignore paging
User Guide 39
Description
Element
Uses the report page breaks to place content on Word Pages document pages using page breaks, column breaks, text wrapping breaks, or section breaks In the hierarchical list, click the report elements that you want to place in the document All elements All elements
Insert a page break To insert a page break before the element, select the before this element Insert a page break before this element check box. To not have a page break before this element, clear the Insert a page break before this element check box.
Import as an inline Places the element in the main text flow as a Microsoft Text elements field code Word field code Import as a floating text box Number of rows to display Creates a separate floating text box that can be moved Text elements around the page Crosstab, List The default is 0 (zero), which means that autosize is set to True. The range is 0 to 32,000. Use this option element to fit larger reports on a page. When set to 0 (zero), the application automatically sets the number of rows based on the content that is being imported. For objects that have more than 32,000 rows, the content is truncated to 32,000 rows.
Crosstab, List Number of The default is 0 (zero), which means that autosize is columns to display set to True. The range is 0 to 63. Use this option to fit element larger reports on a page. When set to 0 (zero), the application automatically sets the number of columns based on the content that is being imported. For objects that have more than 63 columns, the content is truncated to 63 columns. Repeat header rows at the top of each page Creates a running header on each page of the Word document. You can also create a running header by copying elements into the Word header. List
Import as an inline Import the image inline with the text. This is the best picture option for small images that fit inline with text. Import as a floating picture
Image
Import the image in its own floating box. This option Image gives you the most control over how the image appears on the page.
7. After you finish setting options, click Finish. The selected report elements appear in the document. Graphs and charts are imported as images.
Enter prompts. Change prompts using the Properties pane. Remove prompts.
Enter Prompts
After selecting report content to import, you must select answers for report prompts. The control is identical to the one used in the report itself. The types of controls vary based on the query or the they way the prompt was designed by the report author.
Steps
1. Click the answer and then click Next. 2. After you complete all the prompt answers, click Finish. The report renders and is displayed with the selected data.
Excel, Word, and Sets the answer to the prompt and requires that the prompt value be typed into the Use Value box, PowerPoint where the value is saved for future renditions of the Office document. Requires the user to be prompted. No value is saved and the user is prompted each time the report is refreshed. Excel, Word, and PowerPoint
Always Prompt
Cell Value
Specifies an Excel cell for the prompt answer and Excel only requires that the cell reference be typed into the Cell Reference box, where the worksheet, column, and row location is saved for future renditions of the workbook.
User Guide 41
Steps
1. In the Manage Data tab, right-click a report. 2. Click Remove Prompts.
42
Steps
1. In Cognos 8 Go! Office, click the Manage Data tab. 2. Expand the hierarchical list and click a report element, such as the header. 3. View the results in the Properties box. These results include information, such as the date and time of the last update, the portal or element ID, and the report name. After you finish viewing the results, you may choose to refresh the content. For more information, see Refresh Report Content and Folders.
Steps
1. In the Cognos Action Pane click the Manage Data tab. 2. Right-click the report or report element you want to remove and then click the remove option. Remove option Remove Element or Remove Report Remove Data Remove Element and Data or Remove Report and Data Description Breaks the link between the data in the document and the report on which that data is based Clears the pages of the document Completely deletes the report and data from the cells of the document
The selected report or report element is removed along with all of its dependent items.
44
Chapter 3: Working in Word Create and manage your document templates for a wide variety of users. For example, for regional sales managers, you can create a master template that contains all of your corporate data. Then use the Remove data command to clear the pages of secure data items. Publish the document to Cognos Connection and give each manager access to the document. Upon refresh of the data, each regional manager sees only the data for his or her region. Publish data with fixed content by breaking the link between the document and Cognos 8 Go! Office. Use the Remove report function if you want to present part of the presentation with fixed data. In this case, fixed corporate data that all regional managers should view could be added to the master document. Then the link from the report to the slides can be deleted while leaving the common data on the pages. Limit chart metadata in image maps to what can be seen as a static image. Microsoft Word does not support image maps. Charts are imported as images and do not have the context sensitivity and data values that appear when that same image map is viewed in Cognos 8. We recommend that you create images with transparent backgrounds so that they take the background color of the page. Use Cognos 8 Go! Office to copy, move, or delete report objects. In the Manage Content tab of the Cognos Action pane you can click items and see how they are positioned on pages. You can refresh individual objects by clicking the report and expanding the list and then right-clicking the report element. To make multiple copies of an item, it is better to reimport the item and place it in the document. Report elements have different behavior based on the type of object that it is. Create tables and charts specifically for importing into Microsoft Word. In Cognos 8 Go! Office in the Microsoft Word environment, tables are limited to 32,000 rows and 63 columns. Create report tables and lists that fit within these requirements and still provide you with the data you want to be able to present. Create text box titles for report elements. Use the text box in the header or footer. Import the title separately one time and then place the title in the section header or footer so that the report has labels throughout the document. Then import the remaining report elements. In this scenario, you must perform two imports on the same report. One time you import only the text that you want in the header or footer and the other time you import the content. If you want to present report content in line with other text in the document, import the text as field codes using the Import as inline field code option. Combine inline field codes with introductory text to create introductory language for report tables, charts, and other objects. Text appears as other text and can be formatted using Word paragraph and character styles. Because they are field codes they can still be distinguished as Cognos 8 Go! Office content.
Chapter 3: Working in Word 2. In the Cognos Action Pane, click the Manage Data tab. 3. Click Publish. You are prompted to save the document to continue. 4. Click Yes. 5. Click a location. 6. If prompted, select your namespace and enter your user name and password. 7. In the Description box, type a description for the report. 8. In the Screen Tip box, type a tip and click OK. The active document is published to or opened from Cognos Connection.
Steps
1. In Cognos Connection, locate the document that you want to open. 2. Click more on the actions toolbar to the right of the document that you want to download. The Cognos Connection actions page opens. 3. To download the document, click the View most recent Word object. The File Download dialog box appears. 4. Click Save and follow the prompts that appear. You must save the document before using it with Cognos 8 Go! Office. You can now perform the same actions that you would perform for any Word document.
46
Register the Cognos 8 Go! Office macro so that you can call the Automation API.
To help you with this task you can install the VBA code sample that came with Cognos 8 Go! Office, cocAutoModule.bas. Optionally set up the Cognos 8 Go! Office Template to log automation activities and errors.
Use the Cognos 8 Go! Office API functions. Refer to the Cognos 8 Go! Office Visual Basic (VBA and VBS) samples to further enhance
your solution.
Chapter 4: Automating Cognos 8 Go! Office There is an error message that can alert you to this situation. The error message returned by the sample VBA forms is: "The COC Automation Object is not initialized. This may be because Automation is not configured yet or if the VBA environment was reset (i.e.: after a failed debug session). In the latter case, reopening the workbook, document, or presentation will fix the problem." To register the Cognos 8 Go! Office Automation Object you must: Reference the Cognos 8 Go! Office Automation object in a global variable.
Steps
1. Create a global object variable to save a reference to the Cognos 8 Go! Office Automation object.
Public cocAutomationObj As Object
2. 3. 4. 5. 6.
Set up a parameter. Check that the Cognos 8 Go! Office Automation object is valid. Call the macro. Save the result and inspect it. Call GetErrorMessage for more information.
The Cognos 8 Go! Office Automation object is registered and you are now able to use the API.
48
Steps
1. Double-click the Cognos 8 Go! Office template file, such as Cognos8GoOffice.xlt, Cognos8GoOffice.dot, or Cognos8GoOffice.pot, assuming your system administrator has created those files. The file opens with the Cognos Action Pane showing on the right. 2. From the Tools menu, click Macro, and then click Visual Basic Editor. The Visual Basic Editor appears. 3. Right-click VBAProject and click Import File. The Browse dialog box appears. 4. Browse to the location where the Cognos 8 Go! Office Automation macro files are installed. 5. Select the cocAutoModule.bas file and import it into the template. 6. Close the Visual Basic Editor and return to Cognos 8 Go! Office. 7. Save and close the template, and then re-open the template to begin using the macros. You can now call the macros contained in the cocAutoModule.bas file from the VBA code that you write within Excel, Word, or PowerPoint.
User Guide 49
Chapter 4: Automating Cognos 8 Go! Office After the reference to Cognos 8 Go! Office Automation is established, any macro in VBA can call the functions exposed in the Cognos 8 Go! Office Automation API. To find out an objects properties and methods use the online help. Because this solution is based on an object that is obtained at runtime and there is no type library installed on the client's machine, the user is not able to use IntelliSense to tell what properties and methods are available on the object. Understand the differences in API behavior when Microsoft Office is open or not. If Microsoft Office is open when the command is executing, the command executes in interactive mode. If Microsoft Office is closed when the command is executing, the command executes in batch mode. Executing in batch mode means that all display alerts are turned off.
Set Up the Cognos 8 Go! Office Template to Log Automation Activities and Errors
Use the automation log to track automation activities and troubleshoot problems with automation tools and scripts. To generate automation log files, you must add the Automation Logging custom property to the Office document or template and run the script.
Steps
1. Double-click the Cognos 8 Go! Office document or template file. The workbook, document, presentation, or template opens with the Cognos Action Pane showing on the right. 2. From the File menu, click Properties, and then click the Custom tab. The Custom Properties tab is displayed. 3. In the Name box, type AutoLogFile. 4. In the Value box, type the location and file name of the log file. 5. In the Type box, click Text. 6. Click Add, and then click OK. 7. Save the file. 8. Run the automation batch script. The log file is generated.
50
Use the results to perform error trapping and exception handling. The GetErrorMessage() method returns the error string returned when executing the function failed. This method needs to be called only when GetResultCode() returns a value different than zero. The GetResultCode() method returns the error code associated with the state of the executed function and can return one of the following. Number 0 1 2 3 Description Success Failed Already logged on Already logged off
Syntax
IResult Logon (user ID, password, namespace) Argument user ID password namespace Description Supplies the user name for authentication Supplies the password for authentication Supplies the specific namespace for authentication Data type String String String
User Guide 51
Example of Using the Logon2 Method with SiteMinder and Microsoft Excel
Cognos 8 Go! Office should not be configured to run in a secured location. For example, to use SiteMinder as an authentication source, Cognos 8 Go! Office must be installed outside of that configuration. The Cognos Report Data Service (RDS) and Cognos 8 report server, however, can be secured by SiteMinder. If Cognos 8 Go! Office is secured by SiteMinder, the SiteMinder logon page will show up before Cognos 8 Go! Office is loaded by Microsoft Office Excel and this page cannot be bypassed by Cognos 8 Go! Office Automation. Cognos 8 Go! Office Automation does not support SiteMinder Form-Based Authentication. When the Microsoft Office Excel application is visible, the Logon2 method supports all types of SiteMinder Authentications supported by Cognos 8 Go! Office, with the exception of Form-Based Authentication. When the Microsoft Office Excel application is not visible, such as when it runs from a batch script the Logon2 method does not support SiteMinder Authentication.
Syntax
IResult Logon2 (XML Credentials) Argument XML Credentials Description Data type
XML source code that handles two sets of user authentication string credentials. These include XML-parsed versions of the user ID, password, and namespace for Cognos 8 and another set of credentials containing a user name and password.
The following sample shows XML code that can be used. The Cognos 8 user is indicated as the Administrator, with a password of CognosAdmin, and the Production namespace.
<?xml version="1.0" encoding="UTF-8"?> <credentials> <cognos8> <userId>Administrator</userId> <password>CognosAdmin</password> <namespace>Production</namespace> </cognos8> <http> <username>SiteMinderAdmin</username> <password>Admin</password> </http> </credentials>
Syntax
IResult EnableLogging (enable) Argument enable Description Sets the logging to enabled Data type Boolean
52
Chapter 4: Automating Cognos 8 Go! Office Use RefreshCOCContent to run reports and refresh all the Cognos 8 Go! Office content in the Office document.
Syntax
IResult RefreshCOCContent ( )
Syntax
IResult Publish (folder path, description, screenTip) Argument folder path Description Data type
Indicates the location of the Office document to be published. string The folder path is a search path in Cognos 8. For more information, see the Cognos 8 User Guide. If the path of your folder is not correct when you publish using Cognos 8 Go! Office Automation, you are prompted again to log on. This is because Cognos 8 does not distinguish between non-existing folders and folders for which the user does not have permissions. This security feature helps to prevent the discovery of the folder path by trial and error. Describes the Office document Fills the screen tip text that users see when they point to the Office document in the list of published items string string
description screenTip
Syntax
IResult Logoff ( )
User Guide 53
' Assign the returned IResult to the result object Set result = Logon ( userId, password, namespace ) ' The result object now supports the functions in IResult If ( result.GetResultCode() = 0 ) Then MsgBox "Logon Succeeded." Else MsgBox "Logon failed with error: " & result.GetErrorMessage ( ) End If
To use Cognos 8 Go! Office Automation outside VBA, you cannot call the APIs directly. Instead, wrapper macros must be created in the Office document for every API. You can then call these macros from your code. The module cocAutoModule.bas is an example of wrapper macros that can be called from outside VBA.
Use the macro files to enable functions within Microsoft Office Excel, Word, or PowerPoint. Use the sample script files to help you automate portions of your processing. Write customized code.
54
Steps
1. Double-click the Cognos 8 Go! Office template file, such as Cognos8GoOffice.xlt, Cognos8GoOffice.dot, or Cognos8GoOffice.pot. The file opens with the Cognos Action Pane showing on the right. 2. From the Tools menu, click Macro, and then click Visual Basic Editor. The Visual Basic Editor appears. 3. Right-click VBAProject and click Import File. The Browse dialog box appears. 4. Browse to the location where the Cognos 8 Go! Office Automation macro files are installed. 5. Select each of the .frm and .bas files and import them into the template. This step must be done for each file one by one. 6. Close the Visual Basic Editor and return to Cognos 8 Go! Office. 7. Save and close the file, and then re-open the Office document to begin using the macros. You can now call the macros and use the forms contained in the imported files from the VBA code that you write within Microsoft Office.
Macro Files
The macro files are written in Visual Basic for Applications (VBA). They are installed with Cognos 8 Go! Office in sub-folders of the webcontent directory. Separate files exist for Microsoft Excel, Word, and PowerPoint. The following files are installed in the respective locations. File cocAutoModule.bas Description Because it is a BASIC file created using VBA, this file has the extension .bas. It contains the RegisterCOCAutomation macro that enables Cognos 8 Go! Office Automation in the current Office document. It also contains wrapper functions that call the API exposed by Cognos 8 Go! Office. This file is the main form that drives the other macro files. It exposes the following functionality: The Workbooks, Documents, or Presentations frame lists all the open items in the Office application. You can remove specific items from the list and reload the list. The Refresh All button exposes the functionality to refresh the Cognos 8 Go! Office content in all the items in the list. This means calling the RefreshCOCContent function on every item in the list. The Functions frame lists all the functions exposed in Cognos 8 Go! Office Automation. Execute them by double-clicking or by clicking the Run button. The Results frame shows the output of running the APIs. The View Log File button opens the Cognos 8 Go! Office log file in Notepad.
cocAutoSampleForm.frm
User Guide 55
File LogonForm.frm
Description When running the Logon method from the main form, cocAutoSampleForm.frm, you are prompted for the user authentication credentials. This is done in this form. The following prompts appear: User ID Password Namespace The Logon2 method takes an XML string as input. The Input Sample XML button populates the edit box with the squeleton XML string taken by the Logon2 method. To prompt for it, this dialog box is provided with an edit box for the XML code. The Publish method takes the following parameters: the folder path where the Office document is uploaded, the description, and the screen tip for the uploaded object. These parameters are prompted for in this form using the following labels: Folder Path Description Screen Tips The files with the extension .frx are resource files generated by VBA for the forms. They do not need to be and cannot be imported into the Office document, they only need to be in the same directory as their corresponding form file (.frm) when the user imports the form.
Logon2Form.frm
PublishForm.frm
Script Files
Use the sample script files to help you with more advanced automation functions, such as scheduling the refresh of workbooks, documents, or presentations. You can use the script files as they are or modify them to meet your particular needs.
COCAutoScript.vbs
The COCAutoScript.vbs file is a Visual Basic Script (VBS) provided as a sample program that you can use, modify, or use as a reference to create your own programs. The COCAutoScript.vbs file can be used to specify authentication credentials and the items to be refreshed or published. It loops through the list of files and refreshes them. For more information, see the comments in the file, which explain how it works.
COCAutoRunner.bat
You can schedule the refresh of the Cognos 8 Go! Office content to happen at any time. To do this, we recommend that you use the Scheduled Tasks program to set up the schedule. Instead of adding the VBS script to Scheduled Tasks, which takes a program name with strict restrictions on the argument syntax, such as no slashes you must use the provided COCAutoRunner.bat file. This file calls the script and passes the arguments to it.
56
Script Variables
The cocAutoScript.vbs Visual Basic Script uses the following arguments and variables. Argument -u Variable user ID Description Supplies the user name to be used with the Logon method. When multiple logon credentials are necessary, use the -cred argument with a credential XML file. Supplies the password to be used with the Logon method. When multiple logon credentials are necessary, use the -cred argument with a credential XML file. Supplies the namespace to be used with the Logon method. When multiple logon credentials are necessary, use the -cred argument with a credential XML file.
-p
password
-n
namespace
-cred
credentialsXMLFileN Supplies the XML credential file location and name to be ame used with the Logon2 method. When single logon credentials are necessary, use the -u user ID -p password -n namespace arguments instead. item name item list Supplies a single item location and name. When multiple items are required, use the -wbl list argument instead. Supplies the location and name of a text file that lists items. File names must be on separate lines. When a single item is required, use the -w item name argument instead. Forces the script to stop processing if an error is encountered. Specifies the publish folder in Cognos 8 where to publish items. When this option is present, items are published. When this option is not present, items are refreshed. When passing the Cognos 8 folder path on the command line, replace internal double quotes by single quotes. For example, the "CAMID("::Anonymous")/folder[@name='My Folders']" folder path becomes "CAMID('::Anonymous')/folder[@name='My Folders']" Specifies the location of the Cognos 8 Go! Office Automation Log file.
-w -wbl
-coe -fp
-log
User Guide 57
Use the following steps to guide you through the process of using the Cognos 8 Go! Office command line: Create a text file with a list of each Office document to be refreshed or published. The text file must consist of the path and name of each item, such as c:\workbook1.xls with each workbook listed on a separate line. Refresh Office documents using the cocAutoScript.vbs script.
Publish Office documents use the cocAutoScript.vbs script. Schedule refresh and publish tasks by using the cocAutoRunner.bat file with Scheduled Tasks.
Steps
1. Create a text file that contains the names of all the workbooks, documents, or presentations to refresh. Each name must be on a separate line. 2. At the command prompt, type the following command replacing the variables with your information: cocAutoScript.vbs -u user ID -p password -n namespace -coe 0 -wbl List.txt -log c:\AutoLogFile The items are refreshed and the log file is created.
Steps
1. Create a text file that contains the names of all the workbooks, documents, or presentations to refresh. Each name must be on a separate line. 2. At the command prompt, type the following command replacing the variables with your information: cocAutoScript.vbs -u user ID -p password -n namespace -coe 0 -wbl List.txt -log c:\AutoLogFile -fp "CAMID('::Anonymous')/folder[@name='My Folders']" The items are published and the log file is created. If the path of your folder is not correct when you publish using Cognos 8 Go! Office Automation, you are prompted again to log on. This is because Cognos 8 does not distinguish between non-existing folders and folders for which the user does not have permissions. This security feature helps to prevent the discovery of the folder path by trial and error.
58
Steps
1. In a text editor, open the cocAutoRunner.bat file and append the following line, replacing the variables with your information: cocAutoScript -u Administrator -n namespace -coe 0 -wbl List.txt -log c:\AutoLogFile 2. Start Windows Scheduled Task and add the cocAutoRunner.bat file to be executed. The script runs at the appointed time and all the workbooks, documents, or presentations in List.txt are refreshed.
User Guide 59
60
Chapter 5: Troubleshooting
Use this troubleshooting reference information and solutions as a resource to help you solve specific problems you may encounter during or after the installation of Cognos 8 Go! Office components.
Troubleshooting Resources
Troubleshooting resources are sources of information that can help you resolve a problem that you are having with a product. Generally, sources of troubleshooting information include logs, debugging modes, documentation, and technical support. In addition to this document, the following troubleshooting resources are available when you work with Cognos 8 Go! Office: error messages log files Windows Event Viewer samples Knowledge Base of the Cognos Global Customer Services Web site Cognos Global Customer Services
Error Messages
The first indication of a problem is often an error message. Error messages contain information that can be helpful in determining the cause of a problem.
Log Files
Log files can help you troubleshoot problems by recording the activities that take place when you work with a product. Operations performed in Cognos 8 Go! Office are recorded in various log files for tracking purposes. For example, if you experienced problems with batch processing, consult the batch log file to learn what activities were performed during processing. Before you begin viewing log files, ensure that they contain the information that you need. The number of log files and the information they contain are set by parameters that you control. In most cases, the log files are locked while the application is running. To email the log file, you must exit the application first before copying it. When troubleshooting, the following files can assist you:
User Guide 61
Chapter 5: Troubleshooting
Samples
Cognos 8 Go! Office uses samples to highlight product features and to help you learn how to use the product. You can also use samples to troubleshoot problems. You can use the samples that come with Cognos 8 Go! Office to determine if various components are working together as expected. For example, if you are having a problem running a report, you can try running a sample report to see if the problem persists. You may discover that the problem is related to connecting to a database.
Use the Knowledge Base of the Cognos Global Customer Services Web site
The Knowledge Base of the Cognos Global Customer Services Web site is a database of documents maintained by Cognos support personnel containing problems logged by customers. Consequently, a problem you are experiencing with Cognos 8 Go! Office may already be reported by someone else, and a solution already found. If Knowledge Base does not include the problem you are having, you can call Cognos Global Customer Services for individual assistance. Before you can access Knowledge Base, you must have a valid logon. To obtain one, send an email message to SupportWeb@Cognos.com.
Steps
1. In your Web browser, go to http://support.cognos.com/kb-app/knowledgebase 2. In the logon dialog box, type your user name and password, and click OK. The search page appears. 3. Search through the available documents.
62
Chapter 5: Troubleshooting
Steps
1. Have the following information at hand: your customer identification number your case reference number, if it is an ongoing case the phone number where you can be reached the version of the software you use the version of the operating environment you use a description of what you were doing when the problem occurred the exact wording of any error messages that appear any steps you took to attempt to solve the problem 2. Contact the Cognos support center nearest you. 3. You are asked whether this is a new or ongoing case. If it is an ongoing case, provide your case reference number or, if appropriate, your customer identification number. If you dont have support on the software about which you are calling, you will be directed to a support renewal representative.
Common Errors
This section lists the most-common errors that you might encounter with Cognos 8 Go! Office. For a complete listing, which includes numbered error messages and warning, such as COC-ERR-1003 refer to the Cognos 8 Troubleshooting Guide.
Configuration Issues
The following specific issues are related to configuration and setup.
Failed to Load Portal Tree. The Request Failed with HTTP Status 401: Access Denied
One of the required custom property values found in the Cognos 8 Go! Office template (.pot, .dot, or .xlt), workbook (.xls), document (.doc), or presentation (.ppt) file is not correct.
Steps to Update the Values in the Cognos 8 Go! Office Template or Files
1. Close Microsoft Office Excel, Microsoft Office Word, or Microsoft Office PowerPoint. 2. Right-click the Cognos 8 Go! Office template, workbook, document, or presentation and click Properties. 3. Click the Custom tab. 4. In the Name box, type CognosGateway0. 5. In the Value box, type the Web server address where the dispatcher is installed and click Modify. 6. If this is a Microsoft Excel or Word file and you are using the Smart Client, in the Name box, type _AssemblyLocation0. User Guide 63
Chapter 5: Troubleshooting 7. In the Value box, type the installation location of Cognos 8 Go! Office and click Modify. 8. Click OK.
The Assembly Name Could Not Be Found at Location or Could Not Be Loaded
Cognos 8 Go! Office may not initialize if the locations for the Cognos 8 dispatcher and the Cognos 8 Go! Office assemblies are not correct, if the assembly name is incorrect, or if you did not install Microsoft .NET Programmability Support and you are using Microsoft Office Excel or Word 2003 Professional. Update the values in the template file (.xlt, .dot, or .pot) or Office document. You may need to clear the assembly cache by running the clear assembly cache command from the Microsoft .NET Framework directory before attempting to run Cognos 8 Go! Office. Before you attempt to install Microsoft .NET Programmability Support, you must have installed Microsoft .NET Framework version 1.1.
6. 7. 8. 9. 10.
64
Chapter 5: Troubleshooting
The Cognos 8 Go! Office Interface Fails to Initialize in Microsoft Internet Explorer
If you use Internet Explorer to browse Cognos 8 and open a workbook, document, or presentation published by Cognos 8 Go! Office, the document launches in Microsoft Office, but without full functionality. Data is visible, document actions pane, or opening screen appears. Similarly, if you open the Cognos 8 Go! Office template file from a Web server location, it opens in Internet Explorer, but does not have full functionality. To configure Internet Explorer to open Microsoft Office files in Microsoft Office instead of in Internet Explorer, you must use the Folder Options tool to update browse options. It is also possible to do this in Windows Registry.
Steps to Configure Internet Explorer to Open Microsoft Office Documents in Microsoft Office Applications
1. Open My Computer. 2. From the Tools menu, click Folder Options. 3. On the File Types tab, under Registered file types, click Microsoft Excel Worksheet, and then click Advanced. The Edit File Type dialog box appears. 4. Clear the Browse in same window check box and click OK. 5. Complete the same steps for Microsoft Office PowerPoint presentations and Microsoft Office Word documents.
Microsoft Office Does Not Open a Microsoft Office Document Published from Cognos 8 Go! Office
If you observe Microsoft Office trying to open a published document twice when you double-click the workbook, document, or presentation from Windows Explorer, the file association is either corrupted or not installed properly. There are two options to resolve this issue. You can start the Microsoft Office application first, and then open the document using the Open command from the File menu, or you can reregister the file type.
User Guide 65
Chapter 5: Troubleshooting To suppress this message a custom property, InteractiveMode, was added. If InteractiveMode is set to "False" then during the upload, download, import and rendering of report content, Microsoft Office Excel goes into a state where you cannot interact with it and where you will not receive the error message.
Error Messages, the .NET shortcut, or the .NET Console Are Not in the Language of the .NET Framework 1.1 (SP1) That Was Installed
When you install a non-English version of .NET Framework 1.1 and Service Pack 1 in a non-English operating system, you will notice that the error messages, .NET shortcut and .NET Console are in English. To solve this issue, you must apply the .NET Framework Language Pack for your language. For example, if your operating system is French and you have installed the .NET Framework 1.1 (French) and Service Pack 1 (French), you must apply the .NET French Language Pack. You can verify if the language pack is installed by checking the following registry keys: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v1.1.4322 with a 1033 subkey and HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v1.1.4322 with a 1036 subkey.
66
Chapter 5: Troubleshooting The following subkeys provide a way for you to check which component is installed. Installed component After you install .NET Framework 1.1 (French, German, or Japanese) and SP1 (French, German, or Japanese) .NET French Language Pack .NET German Language Pack .NET Japanese Language Pack Subkey HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NE T Framework Setup\NDP\v1.1.4322 with a 1033 subkey
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NE T Framework Setup\NDP\v1.1.4322 with a 1036 subkey HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NE T Framework Setup\NDP\v1.1.4322 with a 1031 subkey HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NE T Framework Setup\NDP\v1.1.4322 with a 1041 subkey
The subkey numbers relate to the language as follows: 1033=en-en, 1036=fr-fr, 1031=de-de, and 1041=ja. If you are missing the language pack subkeys, you must install the .NET language pack, which is available from the Microsoft support Web site.
Processing Issues
The following specific issues are related to processing and rendering reports.
RDS Data Limit Exceeded When Importing from Large Report Outputs
While attempting to import all or part of a large report, the application attempts to open the entire report. A provisionable governor limit is in place to restrict the size of report output allowed and might result in an error (even if you are trying to import only part of a report). From the Server Administration page, adjust the Governor limit of the Report Data Service.
Steps
1. 2. 3. 4. 5. 6. 7. In a browser window, connect to Cognos 8 as an administrator. Click Tools, and then click Server Administration. In the Services box, click Report Data Service. If the status is Stopped, start the RDS Service. If the status is Running, stop the RDS Service, and then re-start the RDS Service. If RDS fails to start, or if Cognos 8 is not responding, start Cognos Configuration. Choose whether to start or restart Cognos 8. If Cognos 8 is not running, click Start. If Cognos 8 is running, click Restart. User Guide 67
Chapter 5: Troubleshooting
The Dispatcher Is Unable to Process the Request. The Request Is Directed to an Unknown Service Name: Content
The Cognos Report Data Service (RDS) cannot bring report elements into a Microsoft Office document. Some combination of text and graphical images is beyond the scope of the target application. Evaluate the report and attempt to simplify the content requirements so that Cognos 8 Go! Office can render the report.
Problems Exporting/Importing Published Cognos 8 Go! Office Files in Cognos Connection from ReportNet 1.1 MR3 to Cognos 8 MR1
Exporting a deployment package that contains published Cognos 8 Go! Office enabled workbooks from ReportNet 1.1 MR3 and importing them into Cognos 8 MR1, the Excel links appear to be broken and the custom properties must be updated. You must save the workbooks locally and run the cocupdater utility.
Steps
1. When exporting the package in ReportNet 1.1 MR3, select the Include Report Output Versions check box. 2. Import the package into Cognos 8. 3. Save the workbook (locally or on a network) to update the custom properties. To save the files, under the Action column, click View the output versions for this report. 4. On the View report output versions page, click the desired format to view the report. 5. When prompted for file download, click Save. 6. Run the cocupdater utility to update the custom properties of the saved workbooks. 7. For each workbook, open it and re-publish it to the Cognos 8 server.
Security Issues
The following specific issues are related to security setup.
68
Chapter 5: Troubleshooting The file has a .cer extension. This is not the same certificate as the one used by the Web server. It is the certificate for the issuing authority itself. Double-click the .cer file, click Install Certificate, and then click Next. Click Place all certificates in the following store. Click Browse, click Trusted Root Certification Authorities, and then click Next. Click Finish.
2. 3. 4. 5.
The Current .NET Security Policy Does Not Permit Location\Cognos8GoOffice.xlt to Load Custom Macros
Custom macros are required for the proper functioning of Cognos 8 Go! Office. Your security settings disabled these macros or prevented them from running properly. Do not change the security policy on your computer. The Microsoft .NET Framework security policy is controlled by your administrator or the IT security personnel who control custom macros. You can still edit and save the document. Contact your administrator or IT security department for further assistance. To avoid this problem, copy the template locally before using it to open a new workbook. For more information search the Knowledge Base of the Cognos Global Customer Services Web site (http://support.cognos.comkb-appknowledgebase) using the keywords office, excel, .net, security.
User Guide 69
Chapter 5: Troubleshooting
70
Glossary
The glossary lists terms used in this document.
action
A task that affects the performance of an individual metric. Metric Studio tracks the dates, resources and status of actions and their relationship to a metric.
agent
The object type created and edited by Event Studio. An agent contains the event condition and the associated tasks to perform. Once defined, an agent can be scheduled to check for instances of the event.
alias
In modeling and database terminology, a secondary name for a database table. Aliases are used to create a distinct reference to the table in the model, so that self-joins can be created or ambiguous query paths can be resolved.
attribute
In relational models, a query item that is not a measure or identifier. When a query item is an attribute, it is not intended to be aggregated, or used for grouping or generating prompt pick lists. In dimensional models, attributes provide qualitative information about members of a level in a dimension. For example, the Store level within the Retailer dimension might have properties such as "address" or "retail space." In general, dimensional attributes do not have measure values or rollups associated with them, but are used to locate or filter members.
authentication
The process of verifying the identity of users when they log on. Users must be authenticated before they can be authorized to use any secured resources.
certificate
A document that identifies someone or something by name. Certificates are issued by certification authorities. Each Cognos computer in a distributed installation uses a different certificate. Certificates are used to positively identify an entity. They are used for digital signatures and secure communications, and can be used for encryption or decryption.
condition
An expression that yields a boolean value. Conditions are used in query expressions, query filters, and boolean report variables that can be used for conditional formatting, styles, data sources, layouts and blocks.
connection
The named information that defines the type of the data source, its physical location, and any signon requirements. A data source can have more than one connection. User Guide 71
credentials
Information stored about the identity of a Cognos user, usually a user name and password. You can assign your credentials to someone else so that they can use resources that you are authorized to use. Credentials are created for Cognos components. If a user schedules or programs an action, then credentials must be stored in the content store.
cube
A physical data source containing a multidimensional representation of data. A cube contains information organized into dimensions and optimized to provide faster retrieval and navigation in reports.
data source
A relational database, dimensional cube, file, or other physical data store that can be accessed though Cognos 8.
data tree
Within a studio, contains objects such as query subjects, query items, dimensions, levels, and members. A data tree is used as a palette of the available data that can be inserted into calculations, filters, display areas, and other authoring gestures.
dimension
A broad grouping of descriptive data about a major aspect of a business, such as products, dates, or markets. Each dimension includes different levels of members in one or more hierarchies, and an optional set of calculated members.
event
An exceptional item of data, defined by specifying a query expression against items in a package. When data is detected matching the event condition, it causes an agent to perform tasks.
gateway
An extension of a Web server program that transfers information from the Web server to another server. Gateways are often CGI programs, but may follow other standards such as ISAPI and Apache Modules.
hierarchy
A hierarchy represents a collection of dimensional members organized into a tree structure, with each member having one or more parent members and an arbitrary number of child members. The root of a hierarchy has no parent, and leaf members of a hierarchy have no children.
HTTPS
A secure version of HTTP Hypertext Transfer Protocol that incorporates secure sockets layer (SSL). Cognos products use HTTPS and SSL to encrypt and transmit passwords securely over the Internet.
information pane
In Analysis Studio, a pane that helps you to confirm your selection in the data tree by displaying related information such as the level and attributes.
job
A group of runnable objects, such as reports, agents, and other jobs that you run and schedule as a batch.
72
locale
A code that is used to set the language or dialect used for browsers, report text, and so on; and the regional preferences, such as formats for time, date, money, money, and expressions. For Cognos products, you can specify a locale for the product interface (product locale) and for the data in the report (content locale).
namespace
For authentication and access control, a configured instance of an authentication provider. Allows access to user and group information. In XML, a collection of names, identified by a URI reference, which are used in XML documents as element types and attribute names. In Framework Manager, namespaces uniquely identify query items, query subjects, and so on. You import different databases into separate namespaces to avoid duplicate names.
prompt
A report element that asks for parameter values before the report is run.
report
A set of data deliberately laid out to communicate business information. Depending on the context, "report" may refer to report specification or report output. Report (more precisely, report specification) is the generic term for the objects created or edited by Query Studio, Report Studio, and Analysis Studio.
report specification
The definition of queries, prompts, layouts, and styles that make up a report. A report specification is combined with data by a run operation to create report outputs. You create report specifications by using Report Studio, Query Studio, Analysis Studio, or through the Software Development Kit.
report view
A reference to another report that has its own properties, such as prompt values, schedules, and results. You use report views to share a report specification instead of making copies of it.
smart client
An Internet-connected device that allows the user's local applications to interact with server-based applications through the use of Web services. For example, a smart client running a word processing application can interface with a remote database over the Internet in order to collect data from the database to be used in the word processing document.
User Guide 73
74
Index
Symbols
.NET programmability support, 64 security issues, 68-69 starting, 10, 23, 35 Cognos 8 Go! Office gateway errors, 64 log files, 61 Cognos 8 Go! Office report server errors, 64 log files, 61 Cognos Action Pane Browse Content tab, 18, 30, 43 hiding, 12, 25, 38 Manage Content tab, 17, 18, 29, 30, 43 showing, 12, 25, 38 Cognos Connection, 13, 20, 26, 32, 39, 45 downloading a Microsoft Office document, 21, 33, 46 downloading Cognos 8 Go! Office workbooks and presentations, 21, 33, 46 Cognos support, 62 Cognos8GoOffice.xlt, 63 command line interface, 57 common gateway interface definition, 71 conditions definition, 71 configuration issues in Cognos 8 Go! Office, 63-66 connections definition, 71 content refreshing, 17, 18, 29, 30, 42, 43 copyright, 2 credentials definition, 72 cubes definition, 72
A
actions definition, 71 agents definition, 71 aliases definition, 71 Analysis Studio, 29, 42 API, 47 functions, 50 logging errors, 50 writing code, 49 API functions EnableLogging method, 50, 52 GetErrorMessage method, 50 GetResultCode method, 50 Logoff method, 50, 53 Logon method, 50, 51 Logon2 method, 50, 51 Publish method, 50, 53 RefreshCOCContent method, 50, 52 attributes definition, 71 authentication definition, 71 AutoLogFile enabling, 50 automating Cognos 8 Go! Office, 47 automation logging errors, 50 writing code, 49
D
data deleting, 19, 31, 44 refreshing, 17, 18, 29, 30, 42, 43 data sources definition, 72 data trees definition, 72 deleting report data from a workbook, 19, 31, 44 reports from a workbook, 19, 31, 44 dimensions definition, 72 downloading Cognos 8 Go! Office workbooks in Cognos Connection, 21, 33, 46
C
certificate authority (CA) in Cognos 8 Go! Office, 68 certificates definition, 71 cocAutomationObj registering, 47, 49 cocAutoModule.bas, 49 Cognos 8 Go! Office automating, 47 batch log files, 61 configuration and setup issues, 63 downloading workbooks and presentations in Cognos Connection, 21, 33, 46 processing issues, 67-68 samples, 62
User Guide 75
Index
E
EnableLogging method, 52 enabling AutoLogFile, 50 error messages #ERROR appears in cells with multiple images in a cell, 68 assembly name could not be found at location or could not be loaded, 64 cannot render this report, 67 Cognos 8 Go! Office interface fails to initialize in Microsoft Internet Explorer, 65 Cognos 8 Go! Office interface fails to initialize in Microsoft Office, 63 Cognos 8 Go! Office unable to create trust relationship, 68 current .NET security policy does not permit location Cognos8GoOffice.xlt to load custom macros, 69 dispatcher is unable to process the request, 68 failed to load portal tree. the request failed with HTTP status 401 access denied, 63 imported reports are missing charts or images, 68 Microsoft Excel is waiting for another application to complete an OLE action, 65 Microsoft Office Excel does not open a workbook published from Cognos 8 Go! Office, 65 RDS Data Limit Exceeded, 67 RDS Server unavailable, 67 unable to open published workbooks from Cognos 8, 66 unable to view reports after clicking run report, 69 events definition, 72
importing code samples, 55 report elements, 13, 26, 39 information viewing, 17, 18, 29, 30, 42, 43 information panes definition, 72 IResult Interface, 50
J
jobs definition, 72
K
Knowledge Base, 62
L
locales definition, 73 log files, 61 logging off, 12, 25, 38 logging on, 12, 25, 38 Logoff method, 53 Logon method, 51 Logon2 method, 51
M
macros, 55 methods EnableLogging, 52 Logoff, 53 Logon, 51 Logon2, 51 Publish, 53 RefreshCOCContent, 52 Microsoft Office documents downloading from Cognos 8, 21, 33, 46
F
folders refreshing, 18, 30, 43 forms cocAutoSampleForm, 55 Logon2Form, 55 LogonForm, 55 PublishForm, 55 functions API, 50
N
named ranges, 13 namespaces definition, 73
G
gateways definition, 72 Group option, 13
O
opening presentations from Cognos Connection, 32, 45 workbooks from Cognos Connection, 20 opening Microsoft Office workbooks and presentations, See downloading options Group, 13 Hide Label, 13 Ignore Formatting, 13 Repeat Label, 13 Show as List, 13
H
Hide Label option, 13 hiding Cognos Action Pane, 12, 25, 38 hierarchies definition, 72 HTTPS definition, 72
I
Ignore Formatting option, 13
76
Index
P
PowerPlay, 17, 29, 42 presentations, 30, 43 importing report elements, 26, 39 opening from Cognos Connection, 32, 45 publishing to Cognos Connection, 32, 45 saving, 33, 46 processing issues in Cognos 8 Go! Office, 67-68 prompted reports, 13, 26, 39 prompts, 13, 26, 39 definition, 73 Publish method, 53 publishing presentations to Cognos Connection, 32, 45 workbooks to Cognos Connection, 20
security issues in Cognos 8 Go! Office, 68-69 security policies error messages, 68 setup issues in Cognos 8 Go! Office, 63-66 Show as List option, 13 showing Cognos Action Pane, 12, 25, 38 starting Cognos 8 Go! Office, 10, 23, 35 support, Cognos, 62
T
troubleshooting, 61 resources, 61-63
Q
Query Studio, 17
V
VBA, 47 samples, 53, 54 VBS, 47 samples, 54 version of document, 2 viewing information about content, 17, 18, 29, 30, 42, 43
R
RefreshCOCContent method, 52 refreshing content, 17, 18, 29, 30, 42, 43 data, 17, 18, 29, 30, 42, 43 folders, 18, 30, 43 presentations, 30, 43 report elements, 18, 31, 44 registering cocAutomationObj, 47, 49 removing report data, 19, 31, 44 Repeat Label option, 13 report data removing, 19, 31, 44 report elements importing, 13, 26, 39 refreshing, 18, 31, 44 report specifications definition, 73 Report Studio Cognos Action Pane, 17, 29, 42 report views definition, 73 reports definition, 73 running, 17, 29, 42 running reports, 17, 29, 42
W
Windows Event Viewer, 62 worbooks options, 13 workbooks opening from Cognos Connection, 20 publishing to Cognos Connection, 20 saving, 21
X
XML schema, 56
S
samples, 62 importing, 55 VBA, 54 saving presentations, 33, 46 workbooks, 21 scripts cocAutoRunner.bat, 56 cocAutoScript.vbs, 56
User Guide 77
Index
78