Business Objects Bursting SDK - Part 2
Whether you choose single or multiple report bursting, eventually you will want to deliver the results to your users, and if you are delivering a custom application solution, that means understanding the object model around publications.
A publication object appears in a BOE folder just like a report does, and like a report, it too has historical instances. But whereas a report instance represents a snapshot of the report with data, a publication instance is a container that further holds (you guessed it) the report instances themselves.
The great thing about BOE publication architecture is that the report instances held in a publication instance are automatically filtered to the report instances the currently logged in user has been “bursted.” In other words, it makes no difference if a user has rights to the folder in which the publication resides; he/she must have been named (or at least the user group to which he/she belongs must have been named) as a burst recipient in the publication. Read the rest of this entry »
Business Objects Bursting SDK: Publication Nation
A common request in reporting is the ability to break apart a large report into parts and send each part to a recipient based on his/her area of responsibility. For example, a patient census report may be broken apart by care unit and each part sent to the supervisor of that unit. This process is called bursting.
Bursting in Business Objects Enterprise is accomplished by a combination of two technologies, Profiles and Publications, and in the current BOE version 3.1, has been improved with the introduction of single-pass bursting. Single-past bursting optimizes the report bursting process by retrieving the entire report’s data in one pass as opposed to executing a retrieve for each “burst.”
Let’s talk about Profiles. Profiles define how data should be limited for a given BOE user or group. In the profile, you are able to specify each user or group (aka “principal”), and a filter for that group. A filter is report platform specific: You define a filter for Crystal reports, and a separate filter for Webi reports. The idea behind a Profile existing independently of a Publication, strictly used to define the bursting process, is that the same Profile can be used over and over again, thereby saving time in configuration. Combined, BOE Profiles and Publications provide a flexible and efficient way to deliver personalized report content to your users. Stay tuned for Part 2 of Business Objects Bursting or visit us online at McManus Software.
How to use Crystal Report ActiveX viewer in your Tomcat J2EE application
If you ask the SAP developer support, they will say it’s not supported. However, there are complex Crystal Reports that renders properly in ActiveX viewer.
The only option right now is to use InfoView’s URL reporting. This is ok but there are a few places where this can get you into trouble. For example, let say your J2EE application is on the DMZ and your BOE server is inside of your corporate network. The firewall will only let certain ports (e.g. 6400) and no http requests. In case of URL reporting, you would have to call <BOE server>:<http port>/businessobjects/viewrpt.cwr from your J2EE applications. This will not work. In most cases, opening http port so that ActiveX viewer would work is not an option.
Here’s how to setup URL reporting as a part of you own application.
1) copy crystalreportviewers folder from infoview /businessobjects/viewers folder and place it in the root of your J2EE application
2) copy WEB-INF/lib/reportsourcebridge.jar from InfoView application and place it in WEB-INF/lib folder of your J2EE applicaiton
3) Edit WEB-INF/web.xml to include
<context-param>
<param-name>crystal_image_uri</param-name>
<param-value>/crystalreportviewers115</param-value>
</context-param>
<servlet>
<servlet-name>viewrpt</servlet-name>
<description>
Reportsource bridge used to support Java applet viewer and ActiveX viewer.
</description>
<servlet-class>com.businessobjects.crystalreports.reportsourcebridge.ReportSourceBridge</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>viewrpt</servlet-name>
<url-pattern>/viewrpt.cwr</url-pattern>
</servlet-mapping>
4) Restart Tomcat
5) You should be able to access URL reporting from <your J2EE application>/viewrpt.cwr
Taking Crystal reporting to the Edge
At face value this may look like a BOBJ marketing play on words. It is true that by implementing Edge, you can accomplish some of what will be discussed in this article. This is no sales pitch and that is not the point of the title. By taking Crystal reporting to the Edge, we mean:
- Empowering report users to manipulate and store parameter sets.
- Eliminating the need to leave applications to get reporting.
- Delivering reports via web applications to people within and outside an organization.
Let’s address these points one at a time.
Parameter manipulation is one of the more tedious and essential parts of examining data. If you are still delivering reports in a static format, it is time to move to a viewer. Many report viewers including BOBJ’s free viewer allow for parameter sorts and drill downs. This frees up report designers to focus on bigger things than a slight change in product sets or financial categories that as they add up take days out of the year. Another critical thing to look for is the report viewer’s ability to manage complex and dynamic cascading parameter sets.
Once you deliver parameter manipulation prepare for the next expectation. If usually comes within days if not minutes of new empowerment. Users are going to want to store these parameters so they can pull them up on demand. Quickly they learn what it takes for a report to me changed to meet their needs, and just as quickly it is forgotten that someone else used to do it for them. Make sure that any report viewer you deliver allows users to store their parameter sets quickly and easily.
The next point is one of the most challenging both strategically and financially. Users want their reports on demand and in the same program that they use for day to day activity. Sure, most systems have their own reporting, but it is in a silo and, well, what did you buy Crystal for in the first place?
The complication is that you have to develop integration into the application. This can be a costly and complicated process as you struggle to manage the development of a secure connection. There are some third party tools that will work. The Crystal Developer Advantage team did a presentation in February with McManus Software. Their Report Launch product puts Crystal reports in any web application with a single line of HTML code. This eliminates the need to develop and they seem to have a low price.
This brings us to the final point; internet access to reporting is critical as more companies and more consumers expect to have on demand access to detailed business intelligence. To empower external viewers to view data from within systems, security is essential. Either upgrading to CR server or a BOE product will answer these requirements, but often this limits you to licensing within the tools. If you are using 3rd party security or want to use a system that manages permissions at an application level, you will need to develop or find a 3rd party tool like McManus Launch.
As you start moving your reports to the Edge and really begin to enable on demand report consumption, think about these three points. Proper execution will make every report more effective. Missteps will cost you your most valuable commodity…time.
Reminders on what we focus on
This lat week I was reading some of my favorite blogs and some new ones as well. I ran across some great posts that serve as reminders to those of us working in the BI world. This may be clear cut stuff, but it is always nice to get some reminders.
1. Why we report in the first place:
This is a nice post on the purpose of BI- In Business Intelligence is for making Business Decisions the folks over at Intelligence Matrix give us a great example and reminder.
2. A great post over at Beye Network about a new Journal and the definition of Business Intelligence. This is a great new resource and one fantastic post.
3. This is a wonderful post on the right way to look at BOE and publishing reports. Crystal Reports version control is interesting.
4. And this one is just funny. I guess SAP is restricting the porn access for Crystal Reports??? What, well read more here: Ken Hamady say no more porn
Until next time, enjoy these reads.
SAP AG staying on top of Crystal and BOBJ
Check out this press release from SAP Business Objects and McManus Software + Consulting. Looks like they have released the Crystal Developer Advantage license to help ISV’s like McManus. They have a suite called Launch Applications and they are pretty cool. Everything from extending reporting to web applications to real time auditing of your BOBJ environment.
Here is the press release:
http://www.b-eye-network.com/channels/1543/view/9950
Oh, and about this blog. We will scour the blogosphere for anyhting and everything that is news int he Crystal Reports and Web Intelligence world.
Have fun!