Skip Headers
Oracle® Business Intelligence New Features Guide
Release 10.1.3.4.2

Part Number E10416-07
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
View PDF

26 New Features in BI Publisher Release 10.1.3.3.3

This chapter describes features of BI Publisher that were introduced in Release 10.1.3.3.3 and apply to Releases 10.1.3.3.3 through 10.1.3.4. Information about these features is also provided in the BI Publisher documentation set that has been updated for Release 10.1.3.4. This chapter contains the following sections:

26.1 BI Publisher Scheduler Setup Updates Including the Bundling of DataDirect Connect for JDBC Drivers

Release 10.1.3.3.3 of BI Publisher includes the Hyperion-branded DataDirect Connect for JDBC drivers that you can use to set up connection to the BI Publisher scheduler database. These drivers can be used as an alternative to the native JDBC drivers provided by the database vendor. Because the DataDirect drivers are now packaged with BI Publisher, you no longer must download and install the drivers manually.

DataDirect Connect for JDBC drivers are provided for the following databases:

Also in this release, the BI Publisher Scheduler Configuration page has been enhanced to facilitate the setup of the supported scheduler databases.

26.1.1 Recommendations for Using DataDirect Connect or Native Database Drivers

The following table displays the driver recommendations for the supported scheduler databases:

Database Native JDBC Driver DataDirect JDBC Driver
Oracle 9i, 10g Recommended Supported
IBM DB2 v8.1, v9.1 Supported Recommended
Microsoft SQL Server 2000, 2005 Supported Recommended
MySQL 4.1.10a-NT, 5.0 Supported Not Supplied

26.1.2 Setting Up a Connection to Your Scheduler Database Using the DataDirect Connect for JDBC Drivers

Perform the following steps to set up your scheduler database using the DataDirect Connect for JDBC drivers:

  1. Log in to BI Publisher with Administrator credentials and select the Admin tab.

  2. Under System Maintenance, select Scheduler Configuration.

  3. Enter the database connection information for the database using the appropriate connection string and database driver class as shown in the following sections.

  4. Enter the Username and Password for the database. You must have permissions to connect to the database and create tables.

  5. Click Test Connection to ensure that BI Publisher can connect to the database. If the connection fails, then ensure that you have entered the fields as shown and set up the database appropriately.

  6. Click Install Schema to install the BI Publisher scheduler schema to the database.

  7. Restart the BI Publisher application.

  8. (Conditional) If the scheduler database is IBM DB2 or MySQL, set the size of the BLOB columns in the newly created scheduler tables in the database. See Section 26.1.3, "Setting the BLOB Column Size."

26.1.2.1 Entering Connection Information for IBM DB2

Enter the following if the scheduler database is IBM DB2 v8 or IBM DB2 v9:

Note:

Ensure that the user that you enter to configure the scheduler has been set up with a 32 K page size tablespace. If not, create the table and assign it to the user. The user must also have "Connect to database" and "Create tables" privileges.
  • Database Type: Select IBM DB2 v9 or IBM DB2 v8 from the list.

  • Connection String: Enter the following connection string parameters:

    jdbc:hyperion:db2://<hostname>:<port>;DatabaseName=<DATABASENAME>

    Example:

    jdbc:hyperion:db2:// 130.35.50.180:50000;DatabaseName=SAMPLE

  • Database Driver Class: hyperion.jdbc.db2.DB2Driver

26.1.2.2 Entering Connection Information for Microsoft SQL Server

Enter the following if the scheduler database is Microsoft SQL Server 2000 or 2005.

Note:

Ensure that the Microsoft SQL Server is set up with mixed mode authentication. Also ensure that the user that you enter to configure the scheduler has the "db_owner" role.
  • Database Type: Select Microsoft SQL Server 2000 or Microsoft SQL Server 2005 from the list.

  • Connection String: Enter the following connection string parameters:

    jdbc:hyperion:sqlserver://<hostname>:<port>;DatabaseName=<Databasename>

    Example:

    jdbc:hyperion:sqlserver://my.databaseserver.com:1433;DatabaseName=BIPublisher

  • Database Driver Class: hyperion.jdbc.sqlserver.SQLServerDriver

26.1.2.3 Entering Connection Information for Oracle

Enter the following if the scheduler database is Oracle 10g or Oracle 9i.

Note:

Ensure that the database user that you enter has "connect" or "create session" and "create table" privileges and that the user has been assigned a quota (for example, 100M on USERS, 1M on TEMP).
  • Database Type: Select Oracle 10g or Oracle 9i from the list.

  • Connection String: Enter the following connection string parameters:

    jdbc:oracle:thin:@<hostname>:<port#>:<oracle SID>

    Example:

    jdbc:oracle:thin:@bipub.mycompany.com:1521:bipub

  • Database Driver Class: oracle.jdbc.driver.OracleDriver

26.1.2.4 Entering Connection Information for MySQL

Enter the following if the scheduler database is MySQL 4.1 or MySQL 5.0

Note:

You must download the MySQL JDBC driver and register it with the application server where BI Publisher is running. The MySQL JDBC driver can be downloaded from:

http://www.mysql.com/products/connector/j/

See your application server documentation for information on registering the driver.

  • Database Type: Select MySQL 4.1 or MySQL 5.0 from the list.

  • Connection String: Enter the following connection string parameters:

    jdbc:mysql://<hostname>:<port#>:<database name>

    Example:

    jdbc:mysql://localhost:3306/bipublisher

  • Database Driver Class: com.mysql.jdbc.Driver

26.1.3 Setting the BLOB Column Size

When BI Publisher installs the scheduler schema to the database, it creates a table called XMLP_SCHED_OUTPUT. This table contains the BLOB columns that hold the BI Publisher scheduler output and data. It is recommended that the BLOB columns are set to be at least 2 GB, otherwise the scheduler may not be able to process large reports. If you are installing the scheduler schema to an IBM DB2 or MySQL database, then you must update the size of the BLOB columns listed below.

Following are the BLOB columns in the XMLP_SCHED_OUTPUT table. Reset the size of these columns to at least 2 GB.

  • XML_DATA

  • DOCUMENT_DATA

The following example shows the command to update the column size for an IBM DB2 database:

alter table xmlp_sched_output alter column STATUS_DETAIL set data type BLOB(1000000000);

See your database documentation for instructions on resetting the column size.

26.2 "Link to This Report" Can Now Be Set as a Report Option

When you view a report in BI Publisher's report viewer, a "Link to this Report" link displays enabling you to copy the URL of the current report. Previously the display of this link could not be disabled. In Release 10.1.3.3.3, this feature is now a report property, "Show Report Links" that can be set on the General Settings page of the Report definition. This enhancement enables you to choose whether you want the report link available to users.

By default, the "Show Report Links" property is enabled.

To change the setting for a report:

  1. Log in to BI Publisher with Administrator or Report Developer credentials.

  2. Navigate to the desired report and click the Edit link.

  3. In the Report Properties pane of the report definition, under General Settings, select the Show Report Links box to enable the "Link to this Report" feature for the report. Deselect the box to disable the feature for the report.

26.3 Enhanced Support for Pagination Control in RTF Output

Previously BI Publisher recognized the following pagination control commands for PDF output only.

In Release 10.1.3.3.3, these are supported for RTF output as well.

26.3.1 Support for "Keep Paragraph with the Next Paragraph"

The RTF standard includes a command that enables you to "keep a paragraph with the next paragraph." This command prevents a page break between the paragraph for which it is enabled and the following (or next) paragraph.

To enable "keep paragraph with the next paragraph" in Microsoft Word:

  1. Select the paragraphs you want to keep on a page.

  2. From the Format menu, select Paragraph, and then click the Line and Page Breaks tab.

  3. Select the Keep with Next box.

26.3.2 Keep Paragraph Intact

The RTF standard includes a command that enables you to keep all the lines of a paragraph joined ("keep paragraph intact") and prevent the paragraph from breaking across pages.

To enable "keep paragraph intact" in Microsoft Word:

  1. From the Format menu, select Paragraph, and then select the Line and Page Breaks tab.

  2. Deselect the Keep lines together check box.

26.3.3 Support for Table "Heading Rows Repeat"

The RTF standard includes a command that enables the repeat of the table heading rows when the table breaks across pages.

To enable "heading rows repeat" in Microsoft Word:

  1. Select the heading row or rows.

  2. From the Table menu, select Heading Rows Repeat.

26.3.4 Support for "Table Row Keep Together"

The RTF standard includes a command that enables you to prevent a table row from breaking across pages.

To enable "table row keep together" in Microsoft Word:

  1. Select the table.

  2. From the Table menu, select Table Properties, and then select the Row tab.

  3. Deselect the Allow row to break across pages check box.

26.4 Support for Multiple Cascading Parameters

Cascading parameters enable you to filter available values for each parameter in a set of parameters that have a relationship. The choice that you make from the first parameter in a set of cascading parameters determines the available values for the next parameter. In this way, you can filter choices down to a manageable number for each cascading parameter. Previously only two levels of cascading parameters could be supported. In Release 10.1.3.3.3, BI Publisher supports cascading parameters beyond two levels.

26.5 Support for Vertical Alignment of External Graphics

Support for the attribute "vertical-align" for the FO element "external-graphic" has been added in Release 10.1.3.3.3 of BI Publisher. This support enables you to format the alignment of an externally referenced image inline with text. This attribute can be applied when coding an XSL-FO template or an RTF template.

The valid values for the attribute are:

Follow the guidelines in Oracle Business Intelligence Publisher Report Designer's Guide for inserting an image using a URL reference:

  1. In the template, insert a dummy image.

  2. Select the image and open Microsoft Word's Format Picture dialog. Select the Web tab.

  3. In the Alternative text region, enter the following syntax to reference the image URL:

    url:{'http://image location'}

    For example:

    url:{'http://www.oracle.com/images/ora_logo.gif'}

  4. To format the vertical alignment, declare the XSL attribute value before the URL. For example, to align the image to the bottom of the text (text-bottom), enter the following:

    <xsl:attribute name="vertical-align">text-bottom</xsl:attribute> url:{'http://www.oracle.com/images/ora_logo.gif'}

26.6 Support for Multiple Currency Symbol Displays in Report

The format-currency function now accepts a third parameter, "displaySymbolOrNot" to enable the display of multiple currency codes in a single report. The International Standards Organization (ISO) currency code must be present in the report data to pass to the format-currency function.

The parameters for the format-currency function are as follows:

<?format-currency:Amount;CurrencyCode;displaySymbolOrNot?>

where

Amount takes the tag name of the XML element that holds the amount value in the data.

CurrencyCode takes the tag name of the XML element that holds the ISO three-letter currency code. An element that contains the currency code must be present in the data.

displaySymbolOrNot takes one of the following values: "true" or "false". When set to "true", the currency symbol is displayed in the report based on the value for CurrencyCode.

To avoid displaying the currency symbol, you can either enter "false" or simply do not specify the parameter.

26.6.1 Sample Usage

The following simple XML sample includes an element that contains the Amount (Trans_amount) and an element that contains the ISO currency code (Cur_Code):

<ROW>
<Trans_Amount>123</Trans_Amount>
<Cur_Code>USD</Cur_Code>
</ROW>
<ROW>
<Trans_Amount>-456</Trans_Amount>
<Cur_Code>GBP</Cur_Code>
</ROW>
<ROW>
<Trans_Amount>748</Trans_Amount>
<Cur_Code>EUR</Cur_Code>
</ROW>
<ROW>
<Trans_Amount>-987</Trans_Amount>
<Cur_Code>JPY</Cur_Code>
</ROW>

To display each of these amounts with the appropriate currency symbol, enter the following in the template for the field in which you want the amounts to display:

<?format-currency:Trans_Amount;Cur_Code;'true'?>

The following figure shows sample output that can be achieved:

Sample report output showing multiple currency symbols

For more information on using the format-currency function, see the Oracle BI Publisher Blog entry, "Multi-Currency Reports" available here: http://blogs.oracle.com/xmlpublisher/entry/multi_currency_reports

For more information about the ISO currency codes, see the ISO Web site: http://www.iso.org/iso/home.htm