Java BusinessObjects Enterprise SDK Samples

Java BusinessObjects Enterprise SDK Samples

General
Exporting/Printing
Scheduling
Viewing
Security Management
Content Management
Server Management
User Management
Publications

General


BusinessObjects Enterprise XI R2 Java SDK API functionality
The samples in this collection are grouped by the API functionality they demonstrate. Each group is contained in the folder listed below:

  • Scheduling - Scheduling objects using the Enterprise SDK.
  • Viewing - Viewing/Exporting reports using the Viewer SDK.
  • RAS - Report modification and creation using the Report Application Server (RAS) SDK.
  • Content Management - Managing reports, events, packages, and other objects.
  • REBean - Report modification and creation of Web Intelligence documents using the Report Engine Java SDK and advanced viewing of Web Intelligence documents.

BusinessObjects Enterprise XI R2 SDK Java sample application
This Java sample demonstrates logging on and off of Business Objects Enterprise XI R2 as well as scheduling, renaming, and viewing reports.

BusinessObjects Enterprise Java SDK Feature Samples

Contains JSP sample code pages that highlight features of the BusinessObjects Enterprise SDK, including authentication, scheduling, publishing, server administration and auditing, and managing repository objects.

Exporting/Printing


Java_RAS-Managed_BE12_Export_XML (XI 3.x)
This Java Server Pages (JSP) sample demonstrates how to export a Crystal Report to XML format using the XI 3.x Report Application Server (RAS) SDK.

Scheduling


Scheduling to Destinations
Scheduling to SMTP, User's Inbox and Disk sample

Retrieve Email Addresses from existing Schedules
This sample retrieves email addresses that a scheduled report is going to. This works for already scheduled or recurring instances.

Java_Enterprise_BE115_send_report_to_smtp (XI R2, XI 3.x)
This Java Server Pages (JSP) sample demonstrates how to send a crystal report to SMTP on a Business Objects Enterprise XI R2 system.

Java_Enterprise_BE115_send_report_to_inbox (XI R2, XI 3.x)
This Java Server Pages (JSP) sample demonstrates how to send a crystal report to a users inbox on a Business Objects Enterprise XI R2 system.

Java_Enterprise_BE115_send_report_to_ftp (XI R2, XI 3.x)
This Java Server Pages (JSP) sample demonstrates how to send a crystal report to ftp on a Business Objects Enterprise XI R2 system.

Java_Enterprise_BE115_send_report_to_disk (XI R2, XI 3.x)
This Java Server Pages (JSP) sample demonstrates how to send a crystal report to disk on a Business Objects Enterprise XI R2 system.

Java_Enterprise_BE115_schedule_webi_prompts (XI R2, XI 3.x)
This Java Server Pages (JSP) sample demonstrates how to schedule a webi report while passing parameters a Business Objects Enterprise XI R2 system.

Java_Enterprise_BE115_schedule_webi_now (XI R2, XI 3.x)
This Java Server Pages (JSP) sample demonstrates how to schedule a webi report to run immediately on a Business Objects Enterprise XI R2 system.

Java_Enterprise_BE115_schedule_report_view (XI R2, XI 3.x)
This Java Server Pages (JSP) sample demonstrates how to schedule a crystal report, wait for the job to finish scheduling, and the view the resulting instance on a Business Objects Enterprise XI R2 system.

Java_Enterprise_BE115_schedule_report_to_smtp (XI R2, XI 3.x)
This Java Server Pages (JSP) sample demonstrates how to schedule a crystal report to smtp on a Business Objects Enterprise XI R2 system.

Java_Enterprise_BE115_schedule_report_to_printer (XI R2, XI 3.x)
This Java Server Pages (JSP) sample demonstrates how to schedule a crystal report to a printer on a Business Objects Enterprise XI R2 system.

Java_Enterprise_BE115_schedule_report_to_inbox (XI R2, XI 3.x)
This Java Server Pages (JSP) sample demonstrates how to schedule a crystal report to a users enterprise inbox on a Business Objects Enterprise XI R2 system.

Java_Enterprise_BE115_schedule_report_to_ftp (XI R2, XI 3.x)
This Java Server Pages (JSP) sample demonstrates how to schedule a crystal report to FTP on a Business Objects Enterprise XI R2 system.

Java_Enterprise_BE115_schedule_report_to_disk (XI R2, XI 3.x)
This Java Server Pages (JSP) sample demonstrates how to schedule a crystal report to disk on a Business Objects Enterprise XI R2 system.

Java_Enterprise_BE115_schedule_report_selection_formula (XI R2, XI 3.x)
This Java Server Pages (JSP) sample demonstrates how to schedule a crystal report while setting the recordselection formula on a Business Objects Enterprise XI R2 system.

Java_Enterprise_BE115_schedule_report_recurring (XI R2, XI 3.x)
This Java Server Pages (JSP) sample demonstrates how to schedule a crystal report as a recurring report on a Business Objects Enterprise XI R2 system.

Java_Enterprise_BE115_schedule_report_parameters (XI R2, XI 3.x)
This Java Server Pages (JSP) sample demonstrates how to schedule a crystal report while passing parameters a Business Objects Enterprise XI R2 system.

Java_Enterprise_BE115_schedule_report_now (XI R2, XI 3.x)
This Java Server Pages (JSP) sample demonstrates how to schedule a crystal report to run immediately on a Business Objects Enterprise XI R2 system.

Java_Enterprise_BE115_schedule_report_dblogon (XI R2, XI 3.x)
This Java Server Pages (JSP) sample demonstrates how to schedule a crystal report while passing database logon information on a Business Objects Enterprise XI R2 system.

Java_Enterprise_BE115_schedule_report_calendar (XI R2, XI 3.x)
This Java Server Pages (JSP) sample demonstrates how to schedule a crystal report using a calendar object on a Business Objects Enterprise XI R2 system.

Java_Enterprise_BE115_schedule_program_object (XI R2, XI 3.x)
This Java Server Pages (JSP) sample demonstrates how to schedule a program object on a Business Objects Enterprise XI R2 system.

Viewing


Viewers Java SDK Feature Samples
Contains JSP sample code pages that highlight features of the Viewers SDK, including viewing and exporting a report.

Getting Started Tutorials in the Viewer Java SDK Guide (XI R2) Sample Code
This sample web application accompanies the Getting Started Tutorials in the Viewer Java SDK Guide (XI R2). It demonstrates the two principal uses of the Viewer Java SDK---displaying Crystal reports, and exporting them to a different format.

Security Management


Java_Enterprise_BE12_SSO_InfoView (XI 3.x)
This Java Server Pages (JSP) sample demonstrates how to single sign-on to XI 3.x Java InfoView by creating and passing a serialized Enterprise Session.01 Apr 2008

Java_Enterprise_BE12_Assign_Access_Level (XI 3.x)
This Java Server Pages (JSP) sample demonstrates how to assign Access Levels (also known as Custom Roles) to a Principal in BusinessObjects Enterprise XI 3.0. Previous versions of Enterprise allowed only a single Access Level to be assigned. XI 3.x allows multiple Access Levels to be assigned.

Java_Enterprise_BE12_Assign_No_Access (XI 3.x)
This Java Server Pages (JSP) sample demonstrates how to assign the "No Access" Access Level to an InfoObject in BusinessObjects Enterprise XI 3.x. Previous versions of Enterprise have a "No Access" Access Level assignable to an ObjectPrincipal. With XI 3.x, there is no "No Access" Access Level - rather, the "No Access" is defined as an ExplicitPrincipal having no explicit roles or rights assigned, and rights inheritance from Folder and UserGroup parents disabled.

Java_Enterprise_BE12_Create_Access_Level (XI 3.x)
This Java Server Pages (JSP) sample demonstrates how to create a new Access Level (CustomRole) using XI 3.x BusinessObjects Enterprise Java SDK

Java_Enterprise_BE12_Clone_Access_Level (XI 3.x)
This Java Server Pages (JSP) sample demonstrates how to clone a pre-existing Access Level (also known as a Custom Role) using the XI 3.x BusinessObjects Enterprise Java SDK. Since BusinessObjects Enterprise has quite a number of rights, it is convenient to clone a default Access Level and grant/deny rights as required

Java_Enterprise_BE115_Set_Advanced-Rights (XI R1, XI R2)
This Java Server Pages (JSP) sample demonstrates how to set advanced rights on a Folder for the Administrators UserGroup.


Content Management


Add Processing Extension to BusinessObjects Enterprise (XI R1, XI R2, XI 3.x)
This sample JSP shows how to register your Processing Extension to BusinessObjects Enterprise system.

Add Processing Extension to Report (XI R1, XI R2, XI 3.x)
This sample demonstrates how to add a Processing Extension to a managed report in BusinessObjects Enterprise. Running the report will cause the processing extension to run.

Federation SDK Sample Application
This sample application shows how to use the federation SDK. The JSP displays a form that prompts the user to enter information about the origin site and the destination site. When the form is submitted, it creates a replication list on the origin, creates the remote connection and replication job on the destination, and schedules the job to execute immediately. NOTE: to run this sample application, you need two BusinessObjects Enterprise deployments, one to act as the origin site and the other to act as the destination.

Java-Enterprise_BE115 _List_Active-users (XI R1, XI R2, XI 3.x)
This Java Script (JS) sample lists the current Active Users Logged on to Enterprise and some of their properties.

Java_Enterprise_BE115_Modify_Inbox-Properties(XI R1, XI R2, XI 3.x)
This Java Server Pages (JSP) sample demonstrates how to modify the properties of an inbox.

Java_Enterprise_BE12_Atomic_Commit(XI 3.x)
This Java Server Pages (JSP) sample demonstrates how to use the new InfoStore atomic commit functionality.

Java_Enterprise_BE12_Create_Publication-CR-PDF(XI 3.x)
This Java Server Pages (JSP) sample demonstrates how to create a Publication with a Crystal Report using the BusinessObjects Enterprise SDK. The Crystal Reports will merged into a single PDF and password protected.

Java_Enterprise_BE12_Create_Publication-CR(XI 3.x)
This Java Server Pages (JSP) sample demonstrates how to create a Publication with a Crystal Report document. It will save the Publication in the User's Favorites folder.

Java_Enterprise_BE12_Export_Biar(XI 3.x)
This Java Server Pages (JSP) sample demonstrates how to export content from BusinessObjects Enterprise to a Business Intelligence Archive (biar) file.

Java_Enterprise_BE12_Import_Biar(XI 3.x)
This Java Server Pages (JSP) sample demonstrates how to import content from a Business Intelligence Archive (biar) file into BusinessObjects Enterprise.

Java_Enterprise_BE115_Modify_Report-Files(XI R1, XI R2, XI 3.x)
This Java Server Pages (JSP) sample demonstrates how to publish a report and overwrite the si_files. Instances of the original report are unchanged.

Add Folder to BusinessObjects Enterprise(XI R1, XI R2, XI 3.x)
This Java Server Pages (JSP) sample demonstrates how to add a folder to BusinessObjects Enterprise and Crystal Report Server.

Add an Object to a Category(XI R1, XI R2, XI 3.x)
This Java sample demonstrates how to add a object in the CMS to a category.

Add an Object to an 'Object Package'(XI R1, XI R2, XI 3.x)
This sample JSP shows how to add an object to an 'Object Package' in BusinessObjects Enterprise.

Create 'Object Package' in BusinessObjects Enterprise(XI R1, XI R2, XI 3.x)
This Java sample shows how to create an 'Object Package' in BusinessObjects Enterprise and Crystal Reports Server.

Create a Report Shortcut in BusinessObjects Enterprise(XI R1, XI R2, XI 3.x)
This Java sample demonstrates how to create a report shortcut in BusinessObjects Enterprise XI.

Delete Inbox Object from Business Objects Enterprise(XI R1, XI R2, XI 3.x)
Java sample shows how to remove an object from an Enterprise Inbox.

Delete a Folder in Business Objects Enterprise(XI R1, XI R2, XI 3.x)
JSP sample to demonstrate deleting a folder in Business Objects Enterprise or Crystal Reports Server.

Create a new BusinessObjects Enterprise Category(XI R1, XI R2, XI 3.x)
This Java Server Pages (JSP) sample demonstrates how to add a new category to BusinesObjects Enterprise.

Java_Enterprise_BE12_Publishing_Report(XI R1, XI R2, XI 3.x)
This Java Server Pages (JSP) sample demonstrates how to publish a Crystal Report to BusinesObjects Enterprise.

Java_Enterprise_BE12_Delete_Report(XI R1, XI R2, XI 3.x)
This Java Server Pages (JSP) sample demonstrates how to delete a Crystal Report from BusinesObjects Enterprise.

Java_Enterprise_BE12_Update_Database_Information(XI R1, XI R2, XI 3.x)
This Java Server Pages (JSP) sample demonstrates how to update username and password for a Crystal Report published to Business Objects Enterprise.

Server Management


Java_WebServices_BE115_Add_Server-to-Group (XI R1, XI R2, XI 3.x)
This Java Server Pages (JSP) sample demonstrates how to add an existing Server to an existing Server Group in a BusinessObjects Enterprise system using the WebServices SDK.

Java_Enterprise_BE12_Clone_Server (XI 3.x)
This Java Server Pages (JSP) sample demonstrates how to clone a BusinessObjects Enterprise XI 3.x Server.

Java_Enterprise_BE12_Create_Server (XI 3.x)
This Java Server Pages (JSP) sample demonstrates how to create a Server on BusinessObjects Enterprise XI 3.x In previous versions, Enterprise Servers are managed as Windows Services or Unix daemons that are created through the Central Configuration Manager(CCM). With XI 3.x, the Service Intelligence Agent (SIA) manages the Enterprise Servers, and Server creation is done through the Enterprise Java SDK. In this new model, the SDK interface to the SIA is the EnterpriseNode. The EnterpriseNode manages a collection of Servers, such as the Central Management Server (CMS) or the Report Application Server (RAS).

Java_Enterprise_BE12_List_Server-Services (XI 3.x)
This Java Server Pages (JSP) sample demonstrates how to retrieve BusinessObjects Enterprise XI 3.x Server properties and their hosted Services. Hosted Services are new with XI 3.x.

Java_WebServices_BE115_List_Server-Group-Servers (XI R1, XI R2, XI 3.x)
This Java Server Pages (JSP) sample demonstrates how to display a list of the Servers in a Server Group.

Java_WebServices_BE115_List_Server-Groups (XI R1, XI R2, XI 3.x)
This Java Server Pages (JSP) sample demonstrates how to display a list of the Server Groups.

Java_WebServices_BE115_List_Servers (XI R1, XI R2, XI 3.x)
This Java Server Pages (JSP) sample demonstrates how to display a list of servers.

Java_WebServices_BE115_Manage_Enterprise-Server (XI R1, XI R2, XI 3.x)
This Java Server Pages (JSP) sample demonstrates how to start, restart, enable and disable an Enterprise Server using the WebServices SDK.
Java_Enterprise_BE115_Wait_for_CMS
This Java Server Pages (JSP) sample demonstrates how to wait until the Business Objects Enterprise CMS is up and ready for use.

Java_Enterprise_BE12_Stop Server (XI R1, XI R2, XI 3.x)
This Java Server Pages (JSP) sample demonstrates how to stop a server on a Business Objects Enterprise XI 3.1 system.

Java_Enterprise_BE12_Start Server (XI R1, XI R2, XI 3.x)
This Java Server Pages (JSP) sample demonstrates how to start a server on a Business Objects Enterprise XI 3.1 system.

Java_Enterprise_BE12_SetAdaptiveServerDestinationOpts (XI 3.x)
This Java Server Pages (JSP) sample demonstrates how to set the adaptive server destination options on a Business Objects Enterprise XI 3.1 system.

Java_Enterprise_BE12_List_All_ServerGroups (XI R1, XI R2, XI 3.x)
This Java Server Pages (JSP) sample demonstrates how to display all the servergroups on a Business Objects Enterprise XI 3.1 system.

Java_Enterprise_BE12_Add_ServerGroup (XI R1, XI R2, XI 3.x)
This Java Server Pages (JSP) sample demonstrates how to add a server group to a Business Objects Enterprise XI 3.1 system.

Java_Enterprise_BE12_Delete_ServerGroup (XI R1, XI R2, XI 3.x)
This Java Server Pages (JSP) sample demonstrates how to delete a server group on a Business Objects Enterprise XI 3.1 system.

Java_Enterprise_BE12_Display_Server_Metrics (XI 3.x)
This Java Server Pages (JSP) sample demonstrates how to display some server metrics for a Business Objects Enterprise XI 3.1 system.

User Management


Java_Enterprise_BE115_Change_Username
This Java Server Pages (JSP) sample demonstrates how to change a Business Objects Enterprise User Name.

Java_Enterprise_BE12_Remove_User_from_User_Group (XI R1, XI R2, XI 3.x)
This Java Server Pages (JSP) sample demonstrates how to remove a user from a usergroup on a Business Objects Enterprise XI 3.1 system.

Java_Enterprise_BE12_List_User_Aliases (XI R1, XI R2, XI 3.x)
This Java Server Pages (JSP) sample demonstrates how to display all the user aliases for a user account on a Business Objects Enterprise XI 3.1 system.

Java_Enterprise_BE12_List_All_Users (XI R1, XI R2, XI 3.x)
This Java Server Pages (JSP) sample demonstrates how to display all the user accounts on a Business Objects Enterprise XI 3.1 system.

Java_Enterprise_BE12_List_All_Groups_that_a_User_Belongs_to (XI 3.x)
This Java Server Pages (JSP) sample demonstrates how to display all the groups that a user belongs to on a Business Objects Enterprise XI 3.1 system.

Java_Enterprise_BE12_Disable_User_Account (XI R1, XI R2, XI 3.x)
This Java Server Pages (JSP) sample demonstrates how to disable a user account on a Business Objects Enterprise XI 3.1 system.

Java_Enterprise_BE12_Delete_User (XI R1, XI R2, XI 3.x)
This Java Server Pages (JSP) sample demonstrates how to delete a user account on a Business Objects Enterprise XI 3.1 system.

Java_Enterprise_BE12_Change_User_Password (XI R1, XI R2, XI 3.x)
This Java Server Pages (JSP) sample demonstrates how to change a users password on a Business Objects Enterprise XI 3.1 system.

Java_Enterprise_BE12_Change_User_Name (XI R1, XI R2, XI 3.x)
This Java Server Pages (JSP) sample demonstrates how to change a users username on a Business Objects Enterprise XI 3.1 system.

Java_Enterprise_BE12_Add_User_To_User_Group(2).zip (XI R1, XI R2, XI 3.x)
This Java Server Pages (JSP) sample demonstrates how to add a user sub-group to a Business Objects Enterprise XI 3.1 system.

Java_Enterprise_BE12_Add_User_To_User_Group (XI R1, XI R2, XI 3.x)
This Java Server Pages (JSP) sample demonstrates how to add a user to a user group on a Business Objects Enterprise XI 3.1 system.

Java_Enterprise_BE12_Add_User_Group (XI R1, XI R2, XI 3.x)
This Java Server Pages (JSP) sample demonstrates how to add a user group to a Business Objects Enterprise XI 3.1 system.

Java_Enterprise_BE12_Add_User_Alias (XI R1, XI R2, XI 3.x)
This Java Server Pages (JSP) sample demonstrates how to add an alias to a user account on a Business Objects Enterprise XI 3.1 system.

Java_Enterprise_BE12_Add_User (XI R1, XI R2, XI 3.x)
This Java Server Pages (JSP) sample demonstrates how to add a user to a Business Objects Enterprise XI 3.1 system.

Java_Enterprise_BE115_Set_Infoview_Viewer (XI R1, XI R2, XI 3.x)
This Java Server Pages (JSP) sample demonstrates how to set users default viewer in Infoview using the Java Enterprise SDK.

Publications


Java_Enterprise_BE12_Create_basic_publication (XI 3.x)
This Java Server Pages (JSP) sample demonstrates how to create a basic publication in Business Objects Enterprise XI 3.1

Java_Enterprise_BE12_Create_Publication_with_CR (XI 3.x)
This Java Server Pages (JSP) sample demonstrates how to create a basic publication with a crystal report in Business Objects Enterprise XI 3.1

Java_Enterprise_BE12_Create-Publication_CR-PDF (XI 3.x)
This Java Server Pages (JSP) sample demonstrates how to create a basic publication with a crystal report in Business Objects Enterprise XI 3.1. The results will be combined into a single password protected PDF.

Java_Enterprise_BE12_Add_Enterprise_User_to_publication (XI 3.x)
This Java Server Pages (JSP) sample demonstrates how to add an enterprise user as a recipient to a publication in Business Objects Enterprise XI 3.1

Java_Enterprise_BE12_Add_Enterprise_Group_to_publication (XI 3.x)
This Java Server Pages (JSP) sample demonstrates how to add dynamic recipients from a webi report for a publication in Business Objects Enterprise XI 3.1

Java_Enterprise_BE12_Add_Dynamic_Recipient_From_Webi (XI 3.x)
This Java Server Pages (JSP) sample demonstrates how to add dynamic recipients from a webi report for a publication in Business Objects Enterprise XI 3.1

Java_Enterprise_BE12_Add_CR_To_Publication (XI 3.x)
This Java Server Pages (JSP) sample demonstrates how to add a crystal report to a publication in Business Objects Enterprise XI 3.1

Java_Enterprise_BE12_Set_Publication_Profile_Personalization_Param (XI 3.x)
This Java Server Pages (JSP) sample demonstrates how to set a parameter value for a personalization value for a publication in Business Objects Enterprise XI 3.1

Java_Enterprise_BE12_Set_Param_Values_In_Publication_with_refresh (XI 3.x)
This Java Server Pages (JSP) sample demonstrates how to set parameter values for a report in a publication in Business Objects Enterprise XI 3.1. At the same time, it will also update the processing values in the publication with the ones in the report.

Java_Enterprise_BE12_Set_Param_Values_In_Publication (XI 3.x)
This Java Server Pages (JSP) sample demonstrates how to set parameter values for a report in a publication in Business Objects Enterprise XI 3.1

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.