<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Rittman Mead Consulting &#187; Oracle Reports &amp; XML Publisher</title>
	<atom:link href="http://www.rittmanmead.com/category/oracle-reports-xml-publisher/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.rittmanmead.com</link>
	<description>Delivering Oracle Business Intelligence</description>
	<lastBuildDate>Mon, 06 Feb 2012 21:18:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>Some New Features in BI Publisher 11.1.1.5</title>
		<link>http://www.rittmanmead.com/2011/05/some-new-features-in-bi-publisher-11-1-1-5/</link>
		<comments>http://www.rittmanmead.com/2011/05/some-new-features-in-bi-publisher-11-1-1-5/#comments</comments>
		<pubDate>Tue, 17 May 2011 20:50:14 +0000</pubDate>
		<dc:creator>Mark Rittman</dc:creator>
				<category><![CDATA[Oracle Reports & XML Publisher]]></category>

		<guid isPermaLink="false">http://www.rittmanmead.com/?p=8288</guid>
		<description><![CDATA[Just a short blog post this time, but there&#8217;s a couple of new features in BI Publisher 11.1.1.5 that are worth taking a look at. BI Publisher 11.1.1.3 introduced the ability to connect your data model to an Excel spreadsheet, directly via a JDBC driver rather through external tables, CSV files or other workarounds. The [...]]]></description>
			<content:encoded><![CDATA[<p>Just a short blog post this time, but there&#8217;s a couple of new features in BI Publisher 11.1.1.5 that are worth taking a look at.</p>
<p>BI Publisher 11.1.1.3 introduced the ability to connect your data model to an Excel spreadsheet, directly via a JDBC driver rather through external tables, CSV files or other workarounds. The connection to the Excel file was set up by the administrator, in the BI Publisher Administration screen, and then you could select it when adding data sets to a data model. This <a href="http://www.rittmanmead.com/2010/09/creating-federated-data-models-using-bi-publisher-11gr1/">previous blog post written last September</a> explains the basics.</p>
<p>BI Publisher 11.1.1.5 extends this capability by allowing data model editors to browse to Excel files on their own PCs, and then upload them from the data model editor up to the BI Publisher server. To use this new feature, within the Data Model editor select <strong>Microsoft Excel</strong> as a data source, like this:</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" title="sshot-3.png" src="http://www.rittmanmead.com/wp-content/uploads/2011/05/sshot-33.png" border="0" alt="Sshot 3" width="558" height="346" /></p>
<p>Then, when the <strong>Create Data Set &#8211; Excel</strong> dialog is shown, there&#8217;s a new <strong>Workbook</strong> option called <strong>Local</strong>. Click the radio button for this option and then the <strong>File Name</strong> icon becomes available, like this:</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" title="sshot-4.png" src="http://www.rittmanmead.com/wp-content/uploads/2011/05/sshot-42.png" border="0" alt="Sshot 4" width="531" height="490" /></p>
<p>Click on the File Name icon and then use the Browse button to locate the Excel file on your PC. Once you select the file, the data model editor then uploads it to the BI Publisher server, so it&#8217;s available for use in reports.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" title="sshot-5.png" src="http://www.rittmanmead.com/wp-content/uploads/2011/05/sshot-51.png" border="0" alt="Sshot 5" width="559" height="248" /></p>
<p>Another nice new feature is the List component in the Online Layout Editor. This new editor was introduced with BI Publisher 11.1.1.3, and allows you to create a new &#8220;.xpt&#8221; template type using a DHTML editor, within your browser. The previous release introduced a bunch of components such as pivot tables, charts, gauges and text boxes that you could add to the template, but 11.1.1.5 introduces a Qlikview-style List component that&#8217;s also now available from the ribbon menu.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" title="sshot-6.png" src="http://www.rittmanmead.com/wp-content/uploads/2011/05/sshot-61.png" border="0" alt="Sshot 6" width="516" height="190" /></p>
<p>To add the List component, drag and drop it onto your online template, and then drag a data item onto the list to give it values.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" title="sshot-7.png" src="http://www.rittmanmead.com/wp-content/uploads/2011/05/sshot-71.png" border="0" alt="Sshot 7" width="600" height="469" /></p>
<p>Adding the list component gives you the ability to create vertical, or horizontal lists of values that when clicked on, filter other components in the report.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" title="sshot-8.png" src="http://www.rittmanmead.com/wp-content/uploads/2011/05/sshot-81.png" border="0" alt="Sshot 8" width="600" height="310" /></p>
<p>Apart from these two new features, 11.1.1.5 sees the welcome return of <a href="http://download.oracle.com/docs/cd/E21764_01/bi.1111/e18863/toc.htm">web services and Java APIs</a>, which disappeared from the previous release whilst they were being rewritten. Other than that though, one thing that doesn&#8217;t appear to have changed is that you still need Firefox (or more correctly, not Internet Explorer 7/8) to create data models, as the save function still doesn&#8217;t seem to work. Oh, and online layouts are a lot snappier now, so it&#8217;s all a bit more of a responsive environment. Give it a try if you&#8217;ve wondered what the &#8220;Published Reporting&#8221; options are on the OBIEE 11g Home Page.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rittmanmead.com/2011/05/some-new-features-in-bi-publisher-11-1-1-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Previewing the Oracle BI Publisher Online Layout Builder</title>
		<link>http://www.rittmanmead.com/2010/04/previewing-the-oracle-bi-publisher-online-layout-builder/</link>
		<comments>http://www.rittmanmead.com/2010/04/previewing-the-oracle-bi-publisher-online-layout-builder/#comments</comments>
		<pubDate>Sun, 04 Apr 2010 11:47:51 +0000</pubDate>
		<dc:creator>Mark Rittman</dc:creator>
				<category><![CDATA[Oracle Reports & XML Publisher]]></category>

		<guid isPermaLink="false">http://www.rittmanmead.com/2010/04/04/previewing-the-oracle-bi-publisher-online-layout-builder/</guid>
		<description><![CDATA[Jorge Anicam&#8217;s blog post the other day reminded me about the online layout builder preview that&#8217;s been available in the past couple of releases of Oracle Business Intelligence Publisher 10g. As a quick recap, BI Publisher up until now uses either Microsoft Word (through the BI Publisher Desktop plug-in), Microsoft Excel or Adobe Acrobat to [...]]]></description>
			<content:encoded><![CDATA[<p>Jorge Anicam&#8217;s <a href="http://oraclebiblog.blogspot.com/2010/03/bi-publisher-layout-builder-preview-in.html">blog post the other day</a> reminded me about the online layout builder preview that&#8217;s been available in the past couple of releases of Oracle Business Intelligence Publisher 10g.</p>
<p>As a quick recap, BI Publisher up until now uses either Microsoft Word (through the BI Publisher Desktop plug-in), Microsoft Excel or Adobe Acrobat to lay out report layouts (or &#8220;templates&#8221;), which are then paired with a data query to give you a report with some data in it. Whilst Word is a useful environment for defining report layout, it does require you to have Word installed (obviously), but more importantly it requires you to come out of the online BI Publisher Enterprise environment to finish your report definition.</p>
<p>The online layout builder made available in preview form in the 10.1.3.4.1 release, and in supported form from the 11g release, will allow you to define all aspects of the report in the one web-based environment, removing any third-party tool dependency and any need for a client-side install.</p>
<p>You can access the online layout builder in a number of places, the most obvious being through a button labelled <strong>Layout Builder</strong> in the <strong>Layouts</strong> area of the BI Publisher Enterprise report definition page.</p>
<p style="text-align:center;"><img src="http://www.rittmanmead.com/wp-content/uploads/2010/04/biptemplate2.jpg" height="345" width="489" border="0" hspace="4" vspace="4" alt="Biptemplate2" /></p>
<p>You can also access the online layout builder from the main toolbar in the BI Publisher report viewer, like this:</p>
<p style="text-align:center;"><img src="http://www.rittmanmead.com/wp-content/uploads/2010/04/biptemplate3-1.jpg" height="122" width="500" border="0" hspace="4" vspace="4" alt="Biptemplate3-1" /></p>
<p>Taking as the data source a simple query against the EMPLOYEE table in the OE schema, when you press the Layout Builder button you are first presented with a set of predefined &#8220;boilerplate&#8221; layouts, such as &#8220;Empty&#8221;, &#8220;Header and Footer&#8221;, &#8220;Dashboard&#8221; and even &#8220;Mobile Apple iPhone&#8221;.</p>
<p style="text-align:center;"><img src="http://www.rittmanmead.com/wp-content/uploads/2010/04/biptemplate4.jpg" height="367" width="500" border="0" hspace="4" vspace="4" alt="Biptemplate4" /></p>
<p>These boilerplate layouts define the size of the report page, what elements are already placed on the page (a blank chart definition, for example), whether headers and footers are defined, and so on. Presumably you can define new boilerplate templates by taking a layour definition and saving it somewhere, as the boilerplates appear to be just normal templates with the item placings defined, page setting set and so on, and then just saved in a special place.</p>
<p>I chose the &#8220;Header and Footer&#8221; boilerplate and then took a look at the layout builder interface.</p>
<p style="text-align:center;"><img src="http://www.rittmanmead.com/wp-content/uploads/2010/04/biptemplate5.jpg" height="298" width="500" border="0" hspace="4" vspace="4" alt="Biptemplate5" /></p>
<p>On the left hand-side of the screen is a concertina-style area that initially lets me select a data item to put on the layout. Across the rest of the top of the screen is a ribbon-style dialog that lets me choose between report components to add to the layout, and also add page breaks, page numbers and total pages elements. Clicking on the <strong>Page Layout</strong> tab on the ribbon shows another set of options, this time for setting the orientation of the page, whether a footer or header are included, the size of the page and so on.</p>
<p style="text-align:center;"><img src="http://www.rittmanmead.com/wp-content/uploads/2010/04/biptemplate6.jpg" height="95" width="500" border="0" hspace="4" vspace="4" alt="Biptemplate6" /></p>
<p>I start off then by adding a Data Table report component to my layout, onto which I then drag and drop various data items from the Data Source view on the left.</p>
<p style="text-align:center;"><img src="http://www.rittmanmead.com/wp-content/uploads/2010/04/biptemplate7.jpg" height="268" width="500" border="0" hspace="4" vspace="4" alt="Biptemplate7" /></p>
<p>Notice how both the Employee ID and Salary columns have both been totalled, as their data type is numeric, and how the table headers and footers have automatically been formatted. To delete the totalling on the Employee ID field I just click on the total and press delete; to set the Salary total aggregation to &#8220;Average&#8221; rather than &#8220;Sum&#8221; I first click on the total to select it, and then click on the <strong>Properties</strong> entry in the left-hand concertina interface to display a list of the cell properties.</p>
<p style="text-align:center;"><img src="http://www.rittmanmead.com/wp-content/uploads/2010/04/biptemplate8.png" height="549" width="357" border="0" hspace="4" vspace="4" alt="Biptemplate8" /></p>
<p>Using this dialog I set the <strong>Formula</strong> for the cell to average, and then return back to the layout to change the label property for the Grand Total to read &#8220;Average Salary&#8221;.</p>
<p>I then return to the ribbon and this time, add a chart underneath the data table. This presents me with a chart definition framework together with options to change the chart type, chart style, effect and filters.</p>
<p style="text-align:center;"><img src="http://www.rittmanmead.com/wp-content/uploads/2010/04/biptemplate9.jpg" height="367" width="500" border="0" hspace="4" vspace="4" alt="Biptemplate9" /></p>
<p>The chart styles are the standard BI Beans/Discoverer-type styles (&#8220;Executive&#8221;,&#8221;Autumn&#8221;,&#8221;Regatta&#8221; etc), whilst the list of chart types includes categories for bar, line, pie and other chart types.</p>
<p style="text-align:center;"><img src="http://www.rittmanmead.com/wp-content/uploads/2010/04/biptemplate10.jpg" height="368" width="500" border="0" hspace="4" vspace="4" alt="Biptemplate10" /></p>
<p>Returning back to the chart definition, I drag and drop the <strong>Salary</strong> data field onto the <strong>Drop Value Here</strong> area, the <strong>Job Title</strong> field onto the <strong>Drop Label Here</strong> area, and the chart is then immediately previewed.</p>
<p style="text-align:center;"><img src="http://www.rittmanmead.com/wp-content/uploads/2010/04/biptemplate12.jpg" height="314" width="500" border="0" hspace="4" vspace="4" alt="Biptemplate12" /></p>
<p>Now that the report is ready, the toolbar on the top-right hand side of the screen can be used for previewing the report in HTML, PDF, RTF or other formats, or we can save the report if it&#8217;s ready for use with the report.</p>
<p style="text-align:center;"><img src="http://www.rittmanmead.com/wp-content/uploads/2010/04/biptemplate13.jpg" height="130" width="520" border="0" hspace="4" vspace="4" alt="Biptemplate13" /></p>
<p>I first preview the report in HTML form, and then press the <strong>Save</strong> button to save the report to the BI Publisher repository.</p>
<p style="text-align:center;"><img src="http://www.rittmanmead.com/wp-content/uploads/2010/04/biptemplate14.jpg" height="430" width="526" border="0" hspace="4" vspace="4" alt="Biptemplate14" /></p>
<p>WIth the online report builder, you don&#8217;t save the layout/template to an RTF file; instead, the layouts are saved in XML format with the extension &#8220;.xpt&#8221;, and are converted to XSL-FO by BI Publisher when the report is run. This XML format is of course extensible by Oracle and presumably will give them more flexibility in introducing new features into BI Publisher post-11g.</p>
<p>Running a report using the new layout is the same as with RTF templates, however a lot of formatting is introduced by default which makes simple reports look more professional.</p>
<p style="text-align:center;"><img src="http://www.rittmanmead.com/wp-content/uploads/2010/04/biptemplate15.jpg" height="366" width="500" border="0" hspace="4" vspace="4" alt="Biptemplate15" /></p>
<p>It&#8217;s possible also to layout more complicated templates using the layout builder. For example, I might want to create a report that groups employees by job title, adds a page break between jobs and adds some narrative text around the job title name.</p>
<p>To add a grouping section to a layout, you select the <strong>Repeating Section</strong> item from the <strong>Components</strong> area in the ribbon, and then select the item to repeat on, in my case, &#8220;Job Title&#8221;.</p>
<p style="text-align:center;"><img src="http://www.rittmanmead.com/wp-content/uploads/2010/04/biptemplate16.jpg" height="314" width="500" border="0" hspace="4" vspace="4" alt="Biptemplate16" /></p>
<p>This then adds a repeating section area to the layout, into which I add a data table item showing the staff with this job title.</p>
<p style="text-align:center;"><img src="http://www.rittmanmead.com/wp-content/uploads/2010/04/biptemplate17.jpg" height="360" width="500" border="0" hspace="4" vspace="4" alt="Biptemplate17" /></p>
<p>I now want to add a bit of text above the data table, to display the job title with some text around it. I start by adding a Text Item to the repeating section above the data table, and add some text to it, like this:</p>
<p style="text-align:center;"><img src="http://www.rittmanmead.com/wp-content/uploads/2010/04/biptemplate18.jpg" height="303" width="500" border="0" hspace="4" vspace="4" alt="Biptemplate18" /></p>
<p>As I want the job title to be displayed on the same line as this text, I switch to the <strong>Properties</strong> area in the left-hand concertina menu and set the <strong>Display</strong> property for the text item area from <strong>Block</strong> to <strong>Inline</strong>.</p>
<p style="text-align:center;"><img src="http://www.rittmanmead.com/wp-content/uploads/2010/04/biptemplate19.jpg" height="353" width="306" border="0" hspace="4" vspace="4" alt="Biptemplate19" /></p>
<p>I then switch to the <strong>Data Source</strong> area in the concertina menu, and drag and drop the <strong>Job Title</strong> data item onto the layout, next to the text block that I just created.</p>
<p style="text-align:center;"><img src="http://www.rittmanmead.com/wp-content/uploads/2010/04/biptemplate20.jpg" height="344" width="537" border="0" hspace="4" vspace="4" alt="Biptemplate20" /></p>
<p>Finally, I add a <strong>Page Break</strong> item below the data table in the repeating group, and the preview the layout as a PDF.</p>
<p style="text-align:center;"><img src="http://www.rittmanmead.com/wp-content/uploads/2010/04/biptemplate21-1.jpg" height="196" width="500" border="0" hspace="4" vspace="4" alt="Biptemplate21-1" /></p>
<p>So there you have it. Bear in mind that this is just a preview release, and it&#8217;ll be featured properly in the 11g version of BI Publisher, which is likely to have additional features and of course be a bit more polished. It&#8217;s a good preview of what&#8217;s coming though, if you&#8217;re interested in seeing how the template creation process is likely to develop as future releases of the product come along.</p>
<p>Bear in mind also that if you do decide to use it now, it&#8217;s not supported, there may well be bugs, and there&#8217;s no guarantee that your layouts will transfer to the 11g release when it comes out (so treat it as a preview rather than a production feature.)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rittmanmead.com/2010/04/previewing-the-oracle-bi-publisher-online-layout-builder/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Printer Tray Selection using BIP Web Services (and ApEx)</title>
		<link>http://www.rittmanmead.com/2008/04/printer-tray-selection-using-bip-web-services-and-apex/</link>
		<comments>http://www.rittmanmead.com/2008/04/printer-tray-selection-using-bip-web-services-and-apex/#comments</comments>
		<pubDate>Fri, 25 Apr 2008 15:52:31 +0000</pubDate>
		<dc:creator>Mark Rittman</dc:creator>
				<category><![CDATA[Oracle Reports & XML Publisher]]></category>

		<guid isPermaLink="false">http://www.rittmanmead.com/2008/04/25/printer-tray-selection-using-bip-web-services-and-apex/</guid>
		<description><![CDATA[Earlier on this week I&#8217;ve been delivering some BI Publisher classroom training, with a day at the end for one-to-one sessions with the delegates and some consulting. One of the requirements that came up from the customer was for a report to split the various pages within it to different trays in the printer, so [...]]]></description>
			<content:encoded><![CDATA[<p>Earlier on this week I&#8217;ve been delivering some BI Publisher classroom training, with a day at the end for one-to-one sessions with the delegates and some consulting. One of the requirements that came up from the customer was for a report to split the various pages within it to different trays in the printer, so that page one for example went to headed paper, pages two and three went to normal paper and the last page went to specially coloured paper. Their previous solution, using the Microsoft Word mail-merge feature, made this possible through the ability in Word, to specify different page settings for each page in a document, but these page settings are lost when you convert the document to RTF format and upload it to the BI Publisher server.</p>
<p>Another requirement within the same organization was to send reports that are generated directly to the printer, without the intermediate step of displaying them, say, in the Adobe Acrobat browser plug-in. In this case, BI Publisher was due to be invoked from an ApEx application, and whilst they could put a button or a link on the page that when clicked, invoked a BI Publisher report via the user&#8217;s default Web browser, the user would then have to click on the Adobe Acrobat plug-in&#8217;s &#8220;Print&#8221; button, select the print destination and initiate the printing themselves. In their ideal world, the button on the ApEx page would just call out to BI Publisher and have the report sent straight to the printer. Again on the face of it this wasn&#8217;t going to be easy, as BI Publisher, unlike Oracle Reports, only lets you specify the report format and the report template, not the report destination, when you invoke a report. Also, BI Publisher, unlike Reports, doesn&#8217;t have a tag or a function that you can include in a report definition to switch printer trays mid-way through the report generation, so again we were at a bit of a loss how to meet these requirements.</p>
<p>Thinking about it for a while though, I did remember that when you schedule a BI Publisher report, you can specify the report destination, the tray if it&#8217;s a printer, and you can specify a time of &#8220;immediate&#8221; for the scheduled execution.</p>
<p align="center"><img src="http://www.rittmanmead.com/wp-content/uploads/2008/04/printer-schedule.jpg" width="480" height="300" alt="printer_schedule.jpg" /></p>
<p>Now this looks promising. If we broke the report up into several separate reports, one for each printer tray, and submitted them all at the same, we could select the printer tray to print to and they&#8217;d all arrive at more or less the same time, such that the end user wouldn&#8217;t really know that they had been delivered separately. Moreover, as the report invocation would come from an application, the user would just run the report as normal, in the background several report components to several printer trays would be scheduled, and the user would just think they&#8217;d requested a single report that printed to several trays. The only thing missing from this, compared to the Microsoft Word mail-merge approach, is that the report couldn&#8217;t be sent to the user&#8217;s &#8220;default printer&#8221; &#8211; BI Publisher has no concept of a default printer, all it can do is either send the report as a PDF to the user&#8217;s Web Browser, whereapon the user could use the Adobe Acrobat browser plug-in to print to their default printer, or in the solution we were going to use, we&#8217;d need to replicate this functionality by maintaining a list of available printers within ApEx and BI Publisher, and allow the user to specify which printer was their &#8220;default&#8221;, ensuring we printed to that one in future.</p>
<p>Following this then, my first thought was to try and invoke the scheduling of a report via a URL, as you can with Oracle Reports. Looking through the documentation though, there&#8217;s no programmatic way (at least based on my short investigation) to invoke the scheduling of a report, at least through a URL or through the command line. One thing I did remember reading about recently though was a <a href="http://download.oracle.com/docs/cd/E10383_01/doc/bip.1013/e10416/bip_webservice_101331.htm#CHDGIJHH">Web Services interface for BI Publisher</a>, which if it was anything like the Web Services interface for OBIEE, would potentially give me a way to schedule a report from a ApEx via a Web Services method invocation. Before I could try this out though, I needed a way to set up a set of &#8220;virtual&#8221; printers, FTP servers and email servers on my laptop so that I could check that scheduling itself worked correctly. To do this I downloaded and installed <a href="http://www.bullzip.com/products/pdf/info.php">Bullzip PDF Printer</a> to create a virtual printer for my laptop, configured Microsoft IIS to provide the access to this virtual printer via a URL, installed <a href="http://filezilla-project.org/">FileZilla</a> Server as an FTP server and <a href="http://www.download.com/ArGoSoft-Mail-Server-Freeware/3000-2369_4-10038331.html">ArgoSoft Mail Server</a> as a local email server. Once all of these were installed and configured and I proved that I could schedule a report and sent it to these three destinations, I was ready to start working with the BI Publisher Web Services interface.</p>
<p align="center"><img src="http://www.rittmanmead.com/wp-content/uploads/2008/04/schedule-test.jpg" width="354" height="480" alt="schedule_test.jpg" /></p>
<p>Now in reality I hit on a bit of luck with the setting up of BI Publisher Web Service access for ApEx as I came across <a href="http://tylermuth.wordpress.com/2008/03/31/call-bi-publisher-web-services-from-apex/">this excellent article</a> by Tyler Muth that documents the whole process. In the article, Tyler uses a tool called <a href="http://www.soapui.org/">soapUI</a> to do the initial Web Service test, which you can use initially to check out the various parameters you send to BI Publisher via this method. Sure enough, the section on invoking a report includes a parameter for the printer tray.</p>
<p align="center"><img src="http://www.rittmanmead.com/wp-content/uploads/2008/04/print-tray.jpg" width="480" height="447" alt="print_tray.jpg" /></p>
<p>Now unfortunately the one thing I can&#8217;t do at this stage is actually test it with a printer with multiple print trays, as our printers back in the office only have a single tray and the Bullzip PDF Printer software only simulates a single tray. But if we work on the assumption that the tray parameter in the BI Publisher Scheduler request method actually works, if we can get the Web Service call working this should prove a solution, at least one we can take back to the client in a week or so&#8217;s time to try and implement.</p>
<p>I used soapUI to put together a proper Web Service request to BI Publisher as a test, requesting that the report be delivered to the email server, FTP server and printer, leaving out the tray parameter at this stage. This is what the request XML looked like:</p>
<p align="center"><img src="http://www.rittmanmead.com/wp-content/uploads/2008/04/bip-ws-code.jpg" width="480" height="357" alt="bip_ws_code.jpg" /></p>
<p>Executing the Web Service call using soapUI caused the report to &#8220;print&#8221; via the virtual printer, get delivered as a PDF to the FTP site and emailed to my local email server as an attachment, so it looks like it worked. So now to ApEx to see if I could invoke the report from an application page, again following the instructions on Tyler&#8217;s blog page.</p>
<p>The first step within ApEx was to set up the Web Service request as a manually-defined Web Service reference reference, which allowed me to add all of the optional parameters around delivery destinations and so forth. The service description URL I determined by taking a look through the WSDL file for the BI Publisher Web Service.</p>
<p align="center"><img src="http://www.rittmanmead.com/wp-content/uploads/2008/04/soap-envelope.jpg" width="480" height="451" alt="soap_envelope.jpg" /></p>
<p>One this was done, the next step was to set up a button on an application page that invoked the web service. In reality, the button on the real customer application will actually need to call several web services, one for each of the report elements, and as this would be a fairly common process it would make sense to create some sort of shared procedure that would take a report name and any report parameters as inputs, and then actually call out to BI Publisher for all of the individual report elements, with that procedure then being tied to a button on a page. For now though I just wanted to check that it worked, so I set up a simple button and process on my ApEx page and told them to invoke the Web Service reference that I just set up.</p>
<p align="center"><img src="http://www.rittmanmead.com/wp-content/uploads/2008/04/apex-bip-ws-page.jpg" width="480" height="430" alt="apex_bip_ws_page.jpg" /></p>
<p>And it worked. Clicking on the button I created led shortly afterwards to the report arriving via email, via the printer and via the FTP site, and it shouldn&#8217;t be too tricky to extend the page so that multiple processes, one for each report, get fired off when the button is pressed, or we use a procedure or something like that.</p>
<p>So what we&#8217;ve done here (or potentially, as I haven&#8217;t yet got my hands on a multi-tray printer to test it out) is a way of taking a report that requires printing to multiple trays, and instead splitting it into one report section per tray and then scheduling it, for immediate delivery, via the BI Publisher Web Services interface. I&#8217;m due back there in a week or so&#8217;s time, so I&#8217;ll get the chance then to integrate it into their ApEx application and check that the tray support in the Web Services API actually works as advertised. The client is also interested in integrating BI Publisher with Oracle Forms as well, and <a href="http://www.oracle.com/technology/products/xml-publisher/docs/Forms_BIP_v21.pdf">this other document on OTN</a> sets out how this process works, it&#8217;s not quite as straightforward as with ApEx but the principal is still the same.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rittmanmead.com/2008/04/printer-tray-selection-using-bip-web-services-and-apex/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>BIPublisher and mySQL</title>
		<link>http://www.rittmanmead.com/2008/01/bipublisher-and-mysql/</link>
		<comments>http://www.rittmanmead.com/2008/01/bipublisher-and-mysql/#comments</comments>
		<pubDate>Mon, 21 Jan 2008 08:01:15 +0000</pubDate>
		<dc:creator>Borkur Steingrimsson</dc:creator>
				<category><![CDATA[Oracle Reports & XML Publisher]]></category>

		<guid isPermaLink="false">http://www.rittmanmead.com/2008/01/21/bipublisher-and-mysql/</guid>
		<description><![CDATA[The other day I was asked to look in to how we can use BIPublisher to report against a mySQL database. According to the documentation one can report against basically any database that can be connected to via JDBC. Obviously I am assuming you already have your mySQL database up and running :). But to [...]]]></description>
			<content:encoded><![CDATA[<p>The other day I was asked to look in to how we can use BIPublisher to report against a mySQL database. According to the documentation one can report against basically any database that can be connected to via JDBC. Obviously I am assuming you already have your mySQL database up and running :). But to connect to the database we have to get the JDBC drivers, <a href="http://www.mysql.com/products/connector/j/">mySQL Connector/J</a>. The current release is 5.1, so download the zip file and unzip it somewhere on your machine. Next we must register the driver with the application server where the BIPublisher service is running.</p>
<ol>
<li>Log in to the Enterprise Manager for the Application server. If you are running a locally installed OC4J, the URL is most likely http://localhost:9704/em/</li>
<li>Navigate to the Administration tab of the OC4J instance and find the Shared Libraries link.</li>
<li>Proceed to create a new Shared Library by clicking on the Create button.</li>
<li>Call the new shared library mysql.jdbc and give it version number 5.1.5 <br /><a href="http://www.rittmanmead.com/images/bip_mysql1.png" title="BIP and mysql1"><img src="http://www.rittmanmead.com/images/bip_mysql1.thumbnail.png" alt="BIP and mysql1" /></a> and click on Next</li>
<li>Now add the newly downloaded driver archive to the shared library <br /><a href="http://www.rittmanmead.com/images/bip_mysql2.png" title="BIP and mysql2"><img src="http://www.rittmanmead.com/images/bip_mysql2.thumbnail.png" alt="BIP and mysql2" /></a></li>
<li>Once the file has been uploaded to the Application Server instance, click on Finish.<br /> <a href="http://www.rittmanmead.com/images/bip_mysql3.png" title="BIP and mysql3"><img src="http://www.rittmanmead.com/images/bip_mysql3.thumbnail.png" alt="BIP and mysql3" /></a></li>
<li>On the Application Server machine, find the file called <em>orion-application.xml</em> for the xmlpserver application (on my machine the file is located in <em>C:\oracle\BI\OracleBI\oc4j_bi\j2ee\home\application-deployments\xmlpserver</em>)</li>
<li> Add  the following  code to the file: <em>&lt;imported-shared-libraries&gt; &lt;import-shared-library name=&#8221;mysql.jdbc&#8221;/&gt; &lt;/imported-shared-libraries&gt;</em> within the <em>&lt;orion-application&gt; </em>tags.</li>
<li>Restart the <em>xmlpserver</em> application.</li>
</ol>
<p>Now that the JDBC driver has been registered with the Application Server and the BIPublisher application has been modified to include the library in it&#8217;s application launcher, we can go ahead and create a BIPublisher data source that uses this newly registered driver</p>
<ol>
<li>Log in to the BIPublisher as a user with Administration privileges.</li>
<li> Add a new JDBC Data Source via the Admin tab (here I have a special created a special bip user in the mySQL database):<br /> <a href="http://www.rittmanmead.com/images/bip_mysql4.png" title="BIP and mysql4"><img src="http://www.rittmanmead.com/images/bip_mysql4.thumbnail.png" alt="BIP and mysql4" /></a></li>
<li>Make sure your connection works by hitting the Test Connection button.</li>
<li>Now you can move on and create your reports, using the newly created Data Source <br /><a href="http://www.rittmanmead.com/images/bip_mysql5.png" title="BIP and mysql5"><img src="http://www.rittmanmead.com/images/bip_mysql5.thumbnail.png" alt="BIP and mysql5" /></a></li>
</ol>
<p>And that&#8217;s that.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rittmanmead.com/2008/01/bipublisher-and-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Email Distribution of Reports using BI Publisher and Discoverer</title>
		<link>http://www.rittmanmead.com/2007/11/email-distribution-of-reports-using-bi-publisher-and-discoverer/</link>
		<comments>http://www.rittmanmead.com/2007/11/email-distribution-of-reports-using-bi-publisher-and-discoverer/#comments</comments>
		<pubDate>Thu, 29 Nov 2007 22:45:43 +0000</pubDate>
		<dc:creator>Mark Rittman</dc:creator>
				<category><![CDATA[Oracle BI Suite EE]]></category>
		<category><![CDATA[Oracle Discoverer]]></category>
		<category><![CDATA[Oracle Reports & XML Publisher]]></category>

		<guid isPermaLink="false">http://www.rittmanmead.com/2007/11/29/email-distribution-of-reports-using-bi-publisher-and-discoverer/</guid>
		<description><![CDATA[One of the presentations I&#8217;m giving on the Monday at the UKOUG Conference is a joint talk with Mike Durran, the Oracle Discoverer Product Manager. Mike is going to do an update on Discoverer migration and interoperability with Oracle BI Suite Enterprise Edition, and I&#8217;m going to show off one of the first fruits of [...]]]></description>
			<content:encoded><![CDATA[<p>One of the presentations I&#8217;m giving on the Monday at the <a href="http://www.rittmanmead.com/2007/11/22/looking-forward-to-the-ukoug-conference/">UKOUG Conference</a> is a joint talk with Mike Durran, the Oracle Discoverer Product Manager. Mike is going to do an update on <a href="http://conference.ukoug.org/default.asp?p=685&#038;dlgact=shwprslist&#038;prs_prsid=1434">Discoverer migration and interoperability with Oracle BI Suite Enterprise Edition</a>, and I&#8217;m going to show off one of the first fruits of this program, the ability for Discoverer worksheets to be used as a data source for Oracle BI Publisher. Mike and I discussed this feature, and we thought one of the best ways of showing off what this feature can do would be to do something Discoverer historically couldn&#8217;t do &#8211; schedule reports and distribute them via email. This sort of functionality is built-in to BI Publisher, so whilst Mike&#8217;s been putting the slides together, I&#8217;ve put together a demo to show off this integration.</p>
<p>The process starts off with a regular Discoverer worksheet, in this case from the Videostore Video Tutorial Workbook. Discoverer is at version 10.1.2.2.0 whilst BI Publisher is at 10.1.3.3 &#8211; see <a href="http://www.rittmanmead.com/2007/09/09/integrating-bi-publisher-and-discoverer/">this previous posting</a> on getting everything set up for Discoverer / BI Publisher integration.</p>
<p align="center"><img src="http://www.rittmanmead.com/images/discobipdemo1.jpg" alt="" /></p>
<p>Then it&#8217;s a case of starting up Microsoft Word, connecting to BI Publisher Enterprise as an OID user that has access to both Discoverer and BI Publisher, and then selecting the Discoverer workbook from the &#8220;New Template&#8221; dialog.</p>
<p align="center"><img src="http://www.rittmanmead.com/images/discobipdemo2.jpg" alt="" /></p>
<p>Once that&#8217;s done, the BI Publisher Desktop add-in grabs a sample dataset and presents me with a blank template to start working on. I use the Chart Wizard to create a simple bar chart using &#8220;Profit Sum&#8221; as the measure, &#8220;Deparment&#8221; as the label and &#8220;Year&#8221; as the series, like this:</p>
<p align="center"><img src="http://www.rittmanmead.com/images/discobipdemo3.jpg" alt="" /></p>
<p>Then I create a crosstab to accompany it, add a title and some commentary text, and drag and drop a logo onto the top right-hand part of the page, like this:</p>
<p align="center"><img src="http://www.rittmanmead.com/images/discobipdemo5.jpg" alt="" /></p>
<p>Now if I&#8217;m going to display this template in HTML format (as opposed to say, PDF) I need to make sure this image is available on a web server somewhere, so I copy it to the following location:</p>
<pre>$ORACLE_BI_HOME\j2ee\home\applications\xmlpserver\xmlpserver\obi_logo.jpg</pre>
<p></p>
<p>which makes it available at the URL:</p>
<pre>http://winxpvm:7781/xmlpserver/obi_logo.jpg</pre>
<p></p>
<p>and I double-click on the image in the Word document, select &#8220;Web&#8221; from the &#8220;Properties&#8221; tab, and enter the following code:</p>
<p align="center"><img src="http://www.rittmanmead.com/images/discobipdemo6.jpg" alt="" /></p>
<p>I then save the template as an RTF file, and preview it in HTML form. Everything looks fine.</p>
<p align="center"><img src="http://www.rittmanmead.com/images/discobipdemo7.jpg" alt="" /></p>
<p>Then, I use the BI Publisher Desktop menu to upload the template to the BI Publisher Enterprise server, and it&#8217;s now ready to run within Enterprise. Before I do that though, I log in as an administrator and set up the Scheduler. This involves creating a database schema then passing the connection details to  the Scheduler setup wizard, which then creates all the scheduler tables for me.</p>
<p align="center"><img src="http://www.rittmanmead.com/images/discobipdemo11.jpg" alt="" /></p>
<p>After I restart BI Publisher so that the new settings can take effect, I go back in as the administrator and set up email delivery. For the purposes of the demo I&#8217;m using a freeware email server that installs on Windows called <a href="http://www.argosoft.com/files/apps/agsmail.exe">ArgoSoft Mail Server</a> which lets me demo email integration without an internet connection; I enter the connection details into the BI Publisher Enterprise web page and my email connection is set up.</p>
<p align="center"><img src="http://www.rittmanmead.com/images/discobipdemo10.jpg" alt="" /></p>
<p>Now it&#8217;s a case of logging back in to BI Publisher Enterprise as the report owner, locating the report and then clicking on the link to schedule it.</p>
<p align="center"><img src="http://www.rittmanmead.com/images/discobipdemo14.jpg" alt="" /></p>
<p>This brings up a screen where I can set the frequency of report runs, provide an email address for the report to be sent to, and provide any other details relating to the running of the report and the different destinations it can go to, including FTP, WebDav and the filesystem.</p>
<p align="center"><img src="http://www.rittmanmead.com/images/discobipdemo15.jpg" alt="" /></p>
<p>Once the scheduled job is submitted, I can check back on the schedule details and see that the report has run correctly:</p>
<p align="center"><img src="http://www.rittmanmead.com/images/discobipdemo16.jpg" alt="" /></p>
<p>and then finally, I can start up my email application and see that the report has been delivered.</p>
<p align="center"><img src="http://www.rittmanmead.com/images/discobipdemo17.jpg" alt="" /></p>
<p>As well as BI-style reports, BI Publisher can also produce reports in any format, including <a href="http://www.rittmanmead.com/2005/12/01/a-first-look-at-xml-publisher-2/">mail-merge letters</a>, a feature that&#8217;s often required by customers migrating off tools like Cognos Impromptu. Overall, this is a useful feature for customers who&#8217;ve got a lot of investment in Discoverer reports and metadata, but want a bit more flexibility in the way they can use the data.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rittmanmead.com/2007/11/email-distribution-of-reports-using-bi-publisher-and-discoverer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Detailed Configuration Steps for BI Publisher and Discoverer Integration</title>
		<link>http://www.rittmanmead.com/2007/10/detailed-configuration-steps-for-bi-publisher-and-discoverer-integration/</link>
		<comments>http://www.rittmanmead.com/2007/10/detailed-configuration-steps-for-bi-publisher-and-discoverer-integration/#comments</comments>
		<pubDate>Fri, 19 Oct 2007 16:48:54 +0000</pubDate>
		<dc:creator>Mark Rittman</dc:creator>
				<category><![CDATA[Oracle Discoverer]]></category>
		<category><![CDATA[Oracle Reports & XML Publisher]]></category>

		<guid isPermaLink="false">http://www.rittmanmead.com/2007/10/19/detailed-configuration-steps-for-bi-publisher-and-discoverer-integration/</guid>
		<description><![CDATA[I&#8217;d noticed a couple of comments on this blog, and some others, around the setup steps required for Oracle BI Publisher and Discoverer integration. Setting this up requires quite a few steps in the 10.1.2.2.0 release of Discoverer, which should be made a lot easier in the 10.2.0.3 release, but for now you have to [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;d noticed a couple of comments on this blog, and some <a href="https://www.blogger.com/comment.g?blogID=13714584&#038;postID=6076384781691510287">others</a>, around the setup steps required for <a href="http://www.rittmanmead.com/2007/09/09/integrating-bi-publisher-and-discoverer/#comment-24506">Oracle BI Publisher and Discoverer integration</a>. Setting this up requires quite a few steps in the 10.1.2.2.0 release of Discoverer, which should be made a lot easier in the 10.2.0.3 release, but for now you have to apply a few patches and go through some security configuration steps. One bit that seems to be catching people out is the requirement to configure BI Publisher to use OID as it&#8217;s security method, I don&#8217;t think this is in the main docs but it won&#8217;t work without it.</p>
<p align="center"><img src="http://www.rittmanmead.com/images/discobip8.jpg" alt="" /></p>
<p>Anyway, I was discussing this with Mike Durran, the Discoverer Product Manager, and Oracle have come up with a detailed setup document for BI Publisher and Discoverer integration, a collaborative effort between a few consultants, which they&#8217;ve kindly agreed to allow me to host on this site &#8211; you can <a href="http://www.rittmanmead.com/files/Jorge_DOC%20%204_Discoverer%20WebServices%20Patch.doc">download it here</a>. It&#8217;s got lots of screenshots, explanations and so on, and whilst I&#8217;ve not gone through it myself (I&#8217;ve already got it up and running) it does seem to cover off all the required parts, including the BI Publisher / OID setup step. Anyway, download a copy if you&#8217;re getting this up and running, it should cover off all the steps you need.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rittmanmead.com/2007/10/detailed-configuration-steps-for-bi-publisher-and-discoverer-integration/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Integrating BI Publisher and Discoverer</title>
		<link>http://www.rittmanmead.com/2007/09/integrating-bi-publisher-and-discoverer/</link>
		<comments>http://www.rittmanmead.com/2007/09/integrating-bi-publisher-and-discoverer/#comments</comments>
		<pubDate>Sun, 09 Sep 2007 16:01:34 +0000</pubDate>
		<dc:creator>Mark Rittman</dc:creator>
				<category><![CDATA[Oracle BI Suite EE]]></category>
		<category><![CDATA[Oracle Discoverer]]></category>
		<category><![CDATA[Oracle Reports & XML Publisher]]></category>

		<guid isPermaLink="false">http://www.rittmanmead.com/2007/09/09/integrating-bi-publisher-and-discoverer/</guid>
		<description><![CDATA[The other day I wrote about the first of the integration features between Oracle BI Suite Standard Edition and Enterprise Edition in my article &#8220;Integrating Oracle Answers and Oracle Portal&#8221;. Today, I&#8217;m going to take a look at integrating Oracle Discoverer and Oracle BI Publisher, where BI Publisher can use a Discoverer worksheet as a [...]]]></description>
			<content:encoded><![CDATA[<p>The other day I wrote about the first of the integration features between Oracle BI Suite Standard Edition and Enterprise Edition in my article <a href="http://www.rittmanmead.com/2007/09/07/integrating-oracle-bi-answers-and-oracle-portal/">&#8220;Integrating Oracle Answers and Oracle Portal&#8221;</a>. Today, I&#8217;m going to take a look at integrating Oracle Discoverer and Oracle BI Publisher, where BI Publisher can use a Discoverer worksheet as a data source.</p>
<p>To get this feature up and running, you need the following releases of Oracle Application Server and Oracle BI Suite Enterprise Edition</p>
<ul>
<li>Oracle Application Server 10.1.2.2.0</li>
<li>Oracle BI Suite Enterprise Edition 10.1.3.3</li>
</ul>
<p>In addition, you&#8217;ll need a one-off patch, No. 5648158, which gets applied to your Discoverer mid-tier to install the Discoverer Web Service, which BI Publisher uses to get data from Discoverer worksheets.</p>
<p>Getting this all set up was quite tricky, as you&#8217;ve got to patch Discoverer to install the Web Service, but before that you need to make sure Application Server is patched up to 10.1.2.2.0, which if you&#8217;ve not done so already involves also upgrading the metadata repository database to 10.1.0.5. As well as that, you also need to integrate Discoverer with OID, which involves protecting the Discoverer Viewer and Plus URLs using SSO, and you also need to configure BI Publisher so that it uses the OID (LDAP) security model, something that&#8217;s not mentioned in the docs. Starting off with the original requirement to link BI Publisher and Discoverer, this all causes a domino effect of having to upgrade various bits of your BI infrastructure to bring them up the right levels, although of course if you&#8217;ve already patched up Application Server and Discoverer to the latest levels, turned on SSO and so on, you&#8217;re probably mostly there anyway. Where it did get particularly tricky for me was trying to get all of this running in a VM with 1.5GB of memory &#8211; I need to have two Application Server tiers up and running (infrastructure and mid-tier), 2 Oracle databases (the metadata database, and my regular Oracle database with the Discoverer EUL in it), an instance of Application Server 10.1.3.3 and Oracle BI Suite Enterprise Edition, and BI Publisher &#8211; I had to be very careful about what&#8217;s running at any one time, and all of it worked most of the time unless I tried to run the Application Server Enterprise Manager website, whereapon things mostly seized up.</p>
<p>Anyway, once it&#8217;s up and running, there are two ways in which you can use data from a Discoverer worksheet in a BI Publisher report. Firstly, you can use the BI Publisher Enterprise Web site to create a new report, then select &#8220;Oracle BI Discoverer&#8221; as the data source type, then pick a connection &#8211; these have to be public connections as BI Publisher logs in to the Web Service as a trusted OC4J user, but not an authenticated SSO user.</p>
<p align="center"><img src="http://www.rittmanmead.com/images/discobip1.jpg" alt="" /></p>
<p>Once you select the connection, you then pick from the list of workbooks available from that connection</p>
<p align="center"><img src="http://www.rittmanmead.com/images/discobip2.jpg" alt="" /></p>
<p>When the workbook and then worksheet is selected, you can then save this part of the report definition and go over to the BI Publisher Desktop interface.</p>
<p align="center"><img src="http://www.rittmanmead.com/images/discobip3.jpg" alt="" /></p>
<p>Laying out the report template involves firstly connecting to the BI Publisher server using the BI Publisher menu within Microsoft Word, and then bring up the Open Template dialog to locate the report that you&#8217;ve just created using BI Publisher Enterprise. Using the dialog, you locate the report, and then double-click on the <new> entry below the report to create a new template.</p>
<p align="center"><img src="http://www.rittmanmead.com/images/discobip4.jpg" alt="" /></p>
<p>This then creates a new blank template, with a sample of the data from the Discoverer worksheet available to you to help lay out the tables, crosstabs, graphs and so on. Once the template is complete, you upload it back to BI Publisher Enterprise and you can run it along with all your other BI Publisher reports.</p>
<p align="center"><img src="http://www.rittmanmead.com/images/discobip5.jpg" alt="" /></p>
<p>The other way you can create reports using Discoverer data, is to go straight in to the BI Publisher Desktop application, log in to the BI Publisher server and bring up the Open Template dialog. This time though, if you use the drop-down list to select DIscoverer from the available workspaces, like this:</p>
<p align="center"><img src="http://www.rittmanmead.com/images/discobip6.jpg" alt="" /></p>
<p>you can then select a connection:</p>
<p align="center"><img src="http://www.rittmanmead.com/images/discobip7.jpg" alt="" /></p>
<p>and then a workbook and worksheet:</p>
<p align="center"><img src="http://www.rittmanmead.com/images/discobip8.jpg" alt="" /></p>
<p>Then, you are prompted to copy the data source definition into the BI Publisher workspace (catalog), which creates a .XDO report definition and allows you to proceed as if you&#8217;d created the report yourself using the BI Publisher web interface.</p>
<p align="center"><img src="http://www.rittmanmead.com/images/discobip9.jpg" alt="" /></p>
<p>Now you can create the template as you normally would, using the data supplied by the Discoverer worksheet (which can be an OLAP worksheet, not just a relational Discoverer worksheet) in charts, tables, crosstabs and form letters.</p>
<p align="center"><img src="http://www.rittmanmead.com/images/discobip10.jpg" alt="" /></p>
<p>That&#8217;s it for now, I&#8217;m off on a flight up to Glasgow to run some BI Suite Enterprise Edition training through a partner, then it back again and bags packed for my seminar tour around Melbourne, Sydney and Auckland. Exciting stuff indeed.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rittmanmead.com/2007/09/integrating-bi-publisher-and-discoverer/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>New Oracle Magazine Article on BI Publisher</title>
		<link>http://www.rittmanmead.com/2007/06/new-oracle-magazine-article-on-bi-publisher/</link>
		<comments>http://www.rittmanmead.com/2007/06/new-oracle-magazine-article-on-bi-publisher/#comments</comments>
		<pubDate>Thu, 07 Jun 2007 16:46:59 +0000</pubDate>
		<dc:creator>Mark Rittman</dc:creator>
				<category><![CDATA[Oracle Reports & XML Publisher]]></category>

		<guid isPermaLink="false">http://www.rittmanmead.com/2007/06/07/new-oracle-magazine-article-on-bi-publisher/</guid>
		<description><![CDATA[Oracle Magazine have just published our new article, &#8220;Oracle BI Publisher: Reporting on the Familiar&#8221; where we go through the fundamentals of the tool for beginners and work through an example using sample data available in Oracle Database 10g. Take a look if you&#8217;re interested in getting up to speed with the latest version of [...]]]></description>
			<content:encoded><![CDATA[<p><img align="left" src="http://www.oracle.com/technology/oramag/oracle/images/jul07_ocover.gif" alt="" />Oracle Magazine have just published our new article, <a href="http://www.oracle.com/technology/oramag/oracle/07-jul/o47bi.html">&#8220;Oracle BI Publisher: Reporting on the Familiar&#8221;</a> where we go through the fundamentals of the tool for beginners and work through an example using sample data available in Oracle Database 10g. Take a look if you&#8217;re interested in getting up to speed with the latest version of Oracle&#8217;s new reporting tool.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rittmanmead.com/2007/06/new-oracle-magazine-article-on-bi-publisher/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Looking Closer at BI Suite EE 10gR3</title>
		<link>http://www.rittmanmead.com/2007/02/looking-closer-at-bi-suite-ee-10gr3/</link>
		<comments>http://www.rittmanmead.com/2007/02/looking-closer-at-bi-suite-ee-10gr3/#comments</comments>
		<pubDate>Thu, 08 Feb 2007 17:05:19 +0000</pubDate>
		<dc:creator>Mark Rittman</dc:creator>
				<category><![CDATA[Oracle BI Suite EE]]></category>
		<category><![CDATA[Oracle Reports & XML Publisher]]></category>

		<guid isPermaLink="false">http://www.rittmanmead.com/2007/02/08/looking-closer-at-bi-suite-ee-10gr3/</guid>
		<description><![CDATA[I&#8217;ve been spending all my spare time recently on the book I&#8217;m working on, and so deliberately stayed away from the new Oracle BI Suite Enterprise Edition so that I didn&#8217;t get distracted. I&#8217;ve got a couple of days free now, and as the new versions of all these bits of software &#8211; BI Enterprise [...]]]></description>
			<content:encoded><![CDATA[<p align="left">I&#8217;ve been spending all my spare time recently on the book I&#8217;m working on, and so deliberately stayed away from the new Oracle BI Suite Enterprise Edition so that I didn&#8217;t get distracted. I&#8217;ve got a couple of days free now, and as the new versions of all these bits of software &#8211; BI Enterprise Edition, BI Publisher and so on &#8211; have just made whole sections of my Oracle University BI Masterclass material obsolete, I downloaded all the software and upgraded my development environment this morning.</p>
<p>The install went fine, easier than a normal Oracle installation to be honest, as there&#8217;s no Universal Installer and you just use a Windows InstallShield installer instead &#8211; not sure how this will work with the Linux version though, when I get a chance I&#8217;ll try and install this as well. Compared to the previous Siebel Analytics install, you need a Java JDK1.5 or higher (I used JDK 1.6) rather than JDK1.4, and you don&#8217;t need to separately install the J2EE web component into an application server, it comes with a standalone OC4J container, although you get the option of installing in to Oracle Application Server 10.1.3 as well. All told, a surprisingly painless exercise, although as I said installing it into a proper Application Server environment, or on Linux, or on Microsoft IIS, might be a bit more complicated.</p>
<p>One I started it up and logged in to the Dashboard application, it all looked fairly familiar compared to Siebel Analytics 7.8. There&#8217;s a new Oracle 11g look and feel (blue is obviously the new red), but the dashboard functionality looks much the same as before.</p>
<div style="text-align: center"><img style="width: 395px; height: 258px" height="258" src="http://www.rittmanmead.com/images/biee_maui_paint.jpg" width="395" /></div>
<p> </p>
<p>One nice touch with this new release is the &#8220;Paint&#8221; dataset and demo dashboard &#8211; it doesn&#8217;t need a database, and instead uses a set of XML data files stored under the \OracleBI\Server\Sample\Paint directory. This means you can get up and running and play around with the dashboard, even before you connect the server to a database.</p>
<p>Taking a look around OracleBI Interactive Dashboards first, the functionality of the portlets and reports themselves look much as before, although portlets containing lists of reports and other directories now have XML RSS links, so that you can subscribe to reports using an RSS Reader.</p>
<p>Looking along the top of the page, where the list of links to other Siebel Analytics programs used to be, this has been modified slightly to show only Dashboards and Answers, with the other products reached through a drop-down. Notice the BI Publisher link there &#8211; I&#8217;ll come on to that in a second.</p>
<p style="text-align: center"><img height="112" src="http://www.rittmanmead.com/images/biee_maui_product_links.jpg" width="393" /></p>
<p>Other than that, on the surface, the Dashboard product looks much the same. Going on to Answers, again there&#8217;s a new look and feel, but the layout and process of building a report stays as before.</p>
<div style="text-align: center"><img style="width: 386px; height: 277px" height="277" src="http://www.rittmanmead.com/images/biee_maui_answers.jpg" width="386" /></div>
<p> </p>
<p>I did notice a few new features as I built some reports &#8211; at one point, a &#8220;Create iBot&#8221; button appeared next to the report, allowing me to schedule it and run a later date, and of course there&#8217;s a bunch of new features documented elsewhere that I&#8217;ve not had a chance yet to look at.</p>
<p>One thing that did catch my eye was the BI Publisher integration. In the previous, Siebel Analytics 7.8 release, formatted (as opposed to ad-hoc) reporting was provided through Actuate, a reporting tool Oracle OEM&#8217;d and bundled with the suite. In this release, Actuate has been replaced with BI Publisher, which of course is the new name for XML Publisher. I did actually download and start using BI Publisher a couple of weeks ago (I&#8217;m writing an article for it for OTN) but it was nice to see it integrated in with BI Enterprise Edition; the integration has gone pretty well and you wouldn&#8217;t know you&#8217;re going from one technology to another, at least initially. BI Publisher gets installed along with the rest of the BI EE tools, and all the configuration and wiring in is done for you, so that you can start building reports off of the BI Enterprise Edition metadata layer (the &#8220;Common Enterprise Information Model&#8221;).</p>
<p>Once you select BI Publisher from the menu, you launch out into the BI Publisher Enterprise Environment, with security and user details being picked up from the Presentation Services server (the new name for the Siebel Analytics Web server, or &#8220;Oracle BI Web&#8221; as they were calling it at one point). Once you&#8217;re in, you get the standard BI Publisher Enterprise interface&#8230;</p>
<p style="text-align: center"><img height="265" src="http://www.rittmanmead.com/images/biee_maui_bipub1.jpg" width="424" /></p>
<p>As you can see, Oracle have more or less matched the visual style of BI Suite Enterprise Edition, which itself is I take it the visual style of E-Business Suite 11i. Anyway, when you go to create a new report, you now have the option to create your report against the logical tables in the BI Server Common Enterprise Information Model, or against the columns in an Answers report, or you can just connect directly via SQL or XML/HTTP/Web Services.</p>
<p>In my case, I connected to the BI EE metadata layer and created a report against the Global Electronics business model.</p>
<p style="text-align: center"><img height="368" src="http://www.rittmanmead.com/images/biee_maui_bipub2.jpg" width="410" /></p>
<p>The Query Builder lets you graphically construct your query against the BI EE logical tables, which it then copies into the SQL Query window to create your data model. One slight inconsistency I noticed was that you have to edit the resulting query to add SUM() and GROUP BY clauses to the SQL statement, which you don&#8217;t have to do when working with Answers, as it picks up the default aggregation method from the metadata layer. Obviously BI Publisher doesn&#8217;t have access to that &#8211; it thinks it&#8217;s just dealing with a set of relational tables, via an ODBC link &#8211; and so you have to go in and add any aggregation elements to the SQL that it generates. That&#8217;s not to do down what they&#8217;ve done &#8211; other than that, the integration is very impressive &#8211; but you can see how Oracle might improve it in future: Have the Query Builder directly access all the logical table metadata as well as just the table definitions. A good first release though.</p>
<p>Once you&#8217;ve defined the BI Publisher data model, you then use the BI Publisher Desktop add-in to lay out your report template, in the same way as XML Publisher. One improvement in BI Publisher desktop is that you don&#8217;t need to re-key the SQL statement into the Report Wizard; now, you log on to the BI Publisher server directly from within Word, like this:</p>
<div style="text-align: center"><img src="http://www.rittmanmead.com/images/biee_maui_bidesk1.jpg" /></div>
<p>Then you get presented with report catalog, where you can either select from the reports (and their data models) in the BI Publisher catalog, or you can pick a OracleBI Answers report and use that as your data source. In my case, I pick up the BI Publisher report I just created, and press &#8220;Open Report&#8221; to pick up the data and start laying the template out.</p>
<p style="text-align: center"><img src="http://www.rittmanmead.com/images/biee_maui_bidesk2.jpg" /></p>
<p>I think we&#8217;re almost at the point now where BI Publisher can be used by end-users, rather than just by developers; the report definition phase can be a lot simpler now, as the dataset can be created using the BI Server metadata layer, which is the same as if you could create reports against the Discoverer End User Layer, a feature Reports should have had years ago. Once the data model is complete, the end-user can pick up the dataset using the dialog above, so there&#8217;s no need to expose him or her to the underlying SQL. It&#8217;s still not as simple as Cognos Impromptu, which is often the benchmark for simple, formatted reporting, but it&#8217;s certainly getting there.</p>
<p>Other than changes to the main products, OracleBI Delivers looks broadly the same; one of the new features I was looking for was the ability to kick-off a BPEL process from an iBot, which doesn&#8217;t seem to be there yet, at least not directly &#8211; you can however call a generic Java program or bit of Javascript, which could act as a wrapper for your BPEL process instead.</p>
<p>Coming away from the Presentation Services server now, going over to the OracleBI Administration tool, this seems pretty much unchanged (on the surface, at least) compared to the Siebel Analytics Administration tool. A couple of new features I did notice though were the Consistency Check Manager, which lists out any issues you might have with the metadata model:</p>
<p style="text-align: center"><img src="http://www.rittmanmead.com/images/biee_maui_admin.jpg" /></p>
<p>Also, I seem to remember from Open World last year that there are new team development features to help when multiple people are working with and checking in changes to the repository; I&#8217;ll have to take a look at this earlier as I believe team working was one of the weaker points of the earlier Siebel Analytics releases.</p>
<p>Taking a look at the server installation itself, it&#8217;s more or less the same file layout, with a NQSConfig.INI file holding the server parameters but with the repository and other server directories now held under the \Server directory under the main BI Server installation directory. I did try and copy across a repository file from my Siebel Analytics 7.8 installation, re-create the references it to it in the NQSConfig.INI file and then see if it worked, but the Presentation Services fell over afterwards. There&#8217;s probably an upgrade method in the documentation somewhere, but it does seem that you can&#8217;t just take a Siebel Analytics 7.8 repository file and expect it to work in Maui.</p>
<p>Anyway, that&#8217;s my first impressions with the new release of the Suite. Overall, it&#8217;s recognizably Siebel Analytics but with spruced-up Oracle look and feel, with the major new addition being the BI Publisher integration, which overall is done very well. The &#8220;fit and finish&#8221; is of a very high quality, and being honest they&#8217;re benefiting here from the more &#8220;Web 2.0&#8243; approach that Siebel took as compared to the rather clunky Java applet approach that Oracle took with Discoverer. It&#8217;ll be interesting to see how the two technology streams develop over time &#8211; I predict the Siebel BI technology framework will win out over time, it&#8217;s just so much closer to what people expect in terms of a user interface these days.</p>
<p>Over the next few weeks, I&#8217;ll be posting more on BI Suite Enterprise Edition, in the context of migraton from Oracle Discoverer. I&#8217;ll also be posting on the new Oracle Data Integrator, as I&#8217;m due to present on this and Discoverer migration at a fair few user group events in the next few months.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rittmanmead.com/2007/02/looking-closer-at-bi-suite-ee-10gr3/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Oracle Open World Day 3 &#8211; BI Suite EE &amp; BI Publisher</title>
		<link>http://www.rittmanmead.com/2006/10/oracle-open-world-day-3-bi-suite-ee-bi-publisher/</link>
		<comments>http://www.rittmanmead.com/2006/10/oracle-open-world-day-3-bi-suite-ee-bi-publisher/#comments</comments>
		<pubDate>Wed, 25 Oct 2006 14:44:12 +0000</pubDate>
		<dc:creator>Mark Rittman</dc:creator>
				<category><![CDATA[Conferences]]></category>
		<category><![CDATA[Oracle BI Suite EE]]></category>
		<category><![CDATA[Oracle Reports & XML Publisher]]></category>
		<category><![CDATA[User Groups & Conferences]]></category>

		<guid isPermaLink="false">http://www.rittmanmead.com/2006/10/25/oracle-open-world-day-3-bi-suite-ee-bi-publisher/</guid>
		<description><![CDATA[I woke up this morning with the mother of all hangovers after spending the evening in an Irish Bar around the corner from the Moscone, but at least my bag was still with me with my laptop still in it. Compared to leaving your laptop in a bar, sorting yourself out with a strong coffee [...]]]></description>
			<content:encoded><![CDATA[<p>I woke up this morning with the mother of all hangovers after spending the evening in an <a href="http://www.flickr.com/photos/markrittman/278528765/">Irish Bar</a> around the corner from the Moscone, but at least my bag was still with me with my laptop still in it. Compared to leaving your laptop in a bar, sorting yourself out with a strong coffee and a fry-up is fairly straightforward stuff and I made it along to <a href="http://www.flickr.com/photos/markrittman/278528953/">Matt Elumba</a>&#8216;s talk on BI Suite Enterprise Edition Architecture, at 10.45 in Moscone South.</p>
<p>About half of the presentation was a general recap on BI Suite EE and it&#8217;s positioning, and we got to see what I presume to be the 10gR3 V10.1.3.2 &#8220;Maui&#8221; release in action. Here&#8217;s a few screenshots taken with my camera:</p>
<ul>
<li><a href="http://www.flickr.com/photos/markrittman/277831659/">Logging in</a></li>
<li><a href="http://www.flickr.com/photos/markrittman/278528810/">OracleBI Answers</a> (note the slightly different style, colours to the 7.8 release)</li>
<li><a href="http://www.flickr.com/photos/markrittman/278528821/">OracleBI Interactive Dashboards</a></li>
<li><a href="http://www.flickr.com/photos/markrittman/278528978/">OracleBI Administration</a></li>
</ul>
<p>The architecture part of the session walked through the basics of the BI Server and the BI Web Server, and there was a nice section on fragment handling (subsets of dimension tables used to assist lookups), <a href="http://www.flickr.com/photos/markrittman/278528941/">multi-user development</a> in the new release, the various levels of <a href="http://www.flickr.com/photos/markrittman/278528920/">caching</a> and the <a href="http://www.flickr.com/photos/markrittman/278528868/">calculation wizard</a> in the administration tool. From <a href="http://static.flickr.com/100/278528835_5a539851ef_m.jpg">this slide</a> it looks like the Enterprise Semantic Model is now called the Common Enterprise Information Model.</p>
<p>Straight after the BI EE Architecture session was <a href="http://www.flickr.com/photos/markrittman/278528755/">Mike Donahoe&#8217;s one on BI Publisher</a>. Mike used to be a Discoverer PM and now he&#8217;s moved over to XMLP, which is now being renamed &#8220;BI Publisher&#8221; with additional integration points into BI Suite Enterprise Edition, and BI Suite SE some point in the future. Some highlights of this session included a demonstration of the <a href="http://www.flickr.com/photos/markrittman/278528715/">integration with Oracle BI Suite EE</a> (you create the request, then go into the <a href="http://www.flickr.com/photos/markrittman/278528741/">XMLP report browser</a> and <a href="http://static.flickr.com/122/278528730_abb07d70d3.jpg?v=0">select &#8220;OracleBI&#8221; from the report source drop-down</a> &#8211; presumably Discoverer will be another source in the drop-down when Discoverer integration is completed), the latest version of the Word add-in (a new <a href="http://www.flickr.com/photos/markrittman/278528662/">Discoverer menu toolbar menu</a> more options, new <a href="http://www.flickr.com/photos/markrittman/278528683/">chart and table wizards</a>), <a href="http://www.flickr.com/photos/markrittman/278528694/">upload of report definitions from within Word</a> and a slightly spruced-up <a href="http://www.flickr.com/photos/markrittman/278528622/">look</a> <a href="http://www.flickr.com/photos/markrittman/278528613/">and</a> <a href="http://www.flickr.com/photos/markrittman/278528649/">feel</a> for the Enteprise product.</p>
<p>Next up was Ed Suen&#8217;s &#8220;Oracle BI Enterprise Edition Best Practices&#8221; &#8211; Ed was one of the co-founders of nQuire and now heads up development within Oracle BI. I was particularly looking forward to this session but at the end I had mixed feelings &#8211; it tried to cover too much and instead didn&#8217;t cover anything in enough detail. I&#8217;ve fallen in to this trap myself with my <a href="http://www.rittmanmead.com/files/16890%20-%20Best%20Practices%20for%20the%20OLAP%20Option%20to%20Oracle%20Database%2010g%20-%20Rittman.doc">OLAP Best Practices</a> paper &#8211; you feel obliged to include every best practice you can think of, when in fact just five or six covered to a proper depth would be more useful &#8211; but it was still very valuable to hear Ed&#8217; take on the BI EE development process, and to go through metadata creation best practices and some common design patterns. Anyway, some of the key points that came out of the presentation included:</p>
<ul>
<li>the key differentiator for BI Suite EE is it&#8217;s model-driven approach, which helps minimize requirements suprises as you develop the application</li>
<li>BI EE handles large data volumes through function shipping to the back-end DW database or OLAP server, rather than creating it&#8217;s internal data stores and trying to scale those</li>
<li>The model-driven approach makes early prototyping easier &#8211; prototyping rather than a long requirements-writing process is the preferred development method, with a fully-functional prototype featuring role-based dashboards being delivered at the end</li>
<li>A typical BI EE project would involve the prototyping/requirements gathering phase, a performance tuning phase, regression testing and subsequent projects/iteration</li>
<li>When you build the Common Enterprise Information Model, make sure detail-level transaction data is kept in separate subject areas to aggregate, summary data, as mixing the two creates unusable presentation catalogs and bad query performance</li>
<li>Although BI EE supports the integration of data across data sources, this shouldn&#8217;t be used as a way of creating a virtual data warehouse (EII) &#8211; according to Ed this just doesn&#8217;t work.</li>
<li>Understand the semantics of fact-based partitioning and logical table sources &#8211; by default every measure is a separate query block, but coalescing measure mappings in a single logical table source allows you to optimize by coalescing measures to reduce the number of queries</li>
<li>When implementing BI EE, resist the urge to rebuild the source data warehouse &#8211; instead create a handful of aggregates to speed up the slowest report, migrate these eventually to the source warehouses, use the caching and aggregate navigation features of EE to speed up the warehouse in-place.</li>
<li>When building analytics catalogs, keep to no more than seven top-level folders and seven columns per folder, minimize detailed columns (use navigation to access these instead), focus on adding measures and cross-fact calculations &#8211; this is where the value of EE is achieved, and use consistent order and naming &#8211; dimension folders at the top, measures at the bottom, and measure folders are named specifically so that end-users can distinguish between dims and measures.</li>
</ul>
<p>Anyway, I&#8217;m off to the blogger event soon, so it&#8217;s back to the hotel for a shower and then out again.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rittmanmead.com/2006/10/oracle-open-world-day-3-bi-suite-ee-bi-publisher/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

