|
If you want to include reporting into your own web application but do not want to provide your users with the entire InfoView functionality, it may make sense to just include the report viewers. BOInterface makes it easy for you to create such a poor man's InfoView. You need at least version 11.5.37 of BOInterface for this application.
The archive linked at the end of this article gives you a framework for such a poor man's InfoView web application. It basically consists of a form (index.jsp) that asks for login parameters and report location and then calls a wrapper (viewer.jsp) around the actual viewers. Whenever you have a viewer open, you can call export.jsp to export the document in the given state. A request parameter ?format=pdf, attached to export.jsp, specifies the export format. Valid formats are pdf, xls, xlsdata, rep, rpt; the latter two ones are of course document type specific.
With one single web application you can view WebIntelligence, DesktopIntelligence and CrystalReports documents. These can be seen in their original formats (using the InfoView viewers, with the option of choosing the interactive or non interactive viewer for WebIntelligence documents) or in PDF or XLS. You also have the option to see a given report itself or the latest successful instance from a previous schedule job. If you require to view a report in PDF or XLS, the conversion is clever enough to convert a report to PDF or XLS only if it is not already in that format (which may be the case for an instance).
As the web application consists of three jsp's only, it is pretty easy for you to adapt. The viewer.jsp contains many comments that show clearly where you are likely to adapt things. Just search for "ADAPT" in that file; there are three locations which you may probably want to modify.
The viewers themselves are not contained in this file. You can copy them from the viewers directory of your InfoView web application. You need to copy into the viewers directory the following subdirectories from InfoView's viewers directory:
cdz_adv
crystalreportviewers115
The WEB-INF/lib directory contains libraries that are not part of the standard distribution of InfoView.
The first library that you need in addition is BOInterface.jar. In order to get that library, click on this link to learn about BOInterface and request to buy that library. You then need the following libraries from your InfoView installation at a minimum:
adv_ivcdzview.jar
boconfig.jar
cecore.jar
celib.jar
ceplugins.jar
cereports.jar
cesession.jar
corbaidl.jar
ebus405.jar
jtools.jar
log4j.jar
MetafileRenderer.jar
rasapp.jar
rascore.jar
rebean.common.jar
rebean.fc.jar
rebean.jar
rebean.wi.jar
serialization.jar
URIUtil.jar
webreporting.jar
wilog.jar
xpp3.jar
To download Poor Man's InfoView, you either need to be a Business Objects employee or you need to be registered by me. In either case, enter your eMail address in the following form and click the "Request Poor Man's InfoView!" button. Make sure that you enter correctly our email address, as this address is used to look up your record in the database. Alternately, you can user your own email client and send an email to bointerface(at)mnsoft.org. If you have not yet been registered, use the form anyway; I shall be notified about your request and will contact you back as soon as possible.
Important information for BO Employees: The Postini Mailfilter Application seems to be blocking the response mails. If you do not receive the response mail, check your postini filter and explicitely enable that email. We are working on solving the problem...
|