BusinessObjects XI SDK Sample Code                         
Last Updated: 9/14/2012
Here are a number of files containing sample code that uses the SAP BusinessObjects Enterprise .NET SDK.  The code was written in C# using the following tools: 

XI r2 .NET SDK and Visual Studio 2005

XI 3.x .NET SDK and Visual Studio 2008

BI 4.x .NET SDK and Visual Studio 2010

All code is provided as is for example purposes only.  While I may answer questions about it, I will not provide support for fixing any issues or extending it.

NOTE: The BusinessObjects Enterprise XI r2 assemblies DO NOT WORK in Visual Studio 2008! Also, Crystal XI will not integrate with VS 2008. So, if you need to work in VS 2008, you need to upgrade to BusinessObjects Enterprise 3.x.  However, the 3.x assemblies will not allow you to connect to an XI r2 or earlier CMS (you can run Crystal XI reports, though, if you have the Crystal 2008 assemblies.) So be aware of your software versions as you start working with the SDK.
NOTE2: There are some major quirks to using the BI 4.x SDK. If you're using VS 2008, you must change your code to use the Interface version of the classes (IInfoStore, IInfoObjects, etc.) If you're using VS2010, after you add the  assemblies to your project, go to the properties of each and set "Embed Interop Type" to false in order to use the non-interface classes. Also, most of the classes to manipulate report properties have been removed from the BI 4.x SDK - if you need to work with the report properties, you MUST use the  .NET version of the Web Services SDK (see below for a brief tutorial program.)
Sample Code Downloads:
Code for BOECommonInfo Assembly
This zip file contains an assembly that is used by ALL of the other code samples.  It provides a set of common utilities for logging in to a CMS and converting names to ID's and ID's to names as well as various other common functions. The BO XI 3.1/VS 2008 version has additional functions not found in the older version. BO XI 3.1/VS 2008 version
Code for BOEScheduleCrystal Assembly
This zip file contains an assembly that is used for scheduling Crystal reports in BO XI. In addition to scheduling a report to run, options include scheduling to printer, unmanaged file, and FTP.
Code for BOEPublishFiles Assembly
This zip file contains an assembly that is used for publishing non-report documents to BO XI. File types include Excel, Word, PowerPoint, RTF, PDF and Text.
Code for BOERptArchiver Assembly
This zip file contains an assembly that is used by the report archiving application described in my 2006 Business Objects Insight conference presentation.
Code for BOEUserAudit application - BO XI r2/VS 2005
This zip file contains the user auditing application described in my 2007 Business Objects Insight conference presentation.
Code for BOEUserAudit application - BO XI 3.1/VS 2008
This zip file contains the user auditing application described in my 2010 ASUG SAP BusinessObjects User Conference presentation. This requires the XI 3.1/VS 2008 version of BOECommonInfo
Code for BOEUniverseDependencyCheck application
This zip file contains the universe dependency checker application described in my 2008 GBN User Conference presentation.
Code for CrystalDocumenter application
This zip file contains code for a utility that documents Crystal reports. It doesn't yet provide as much information as the export to "Report Definition" available in Crystal, but the information is organized better and easier to find. This is a work in progress and hasn't been commented as well as some of the other code samples.
.NET SDK Tutorials:
BO XI sp2, Visual Studio 2005
BO XI 3.1, Visual Studio 2008
BI 4.0 fp3, Visual Studio 2008
BI 4.0 fp3, Visual Studio 2010
Tutorial for accessing basic user and group information in VS 2010 and BI 4.x.
Basic Business Objects .NET Web Services SDK Tutorial for VS 2010 and BI 4.x.
Other file Downloads:
Report Archiving Presentation from 2006 Business Objects Insight Conference
User License Auditing Presentation from 2007 Business Objects Insight Conference
Universe dependency checker presentation from the 2008 GBN User Conference
User License Auditing presentation from 2010 ASUG SAP BusinessObjects User Conference
Integrating SAP Dashboards into SAP Crystal Reports presentation from 2012 ASUG SAP BusinessObjects User Conference
Crystal Reports and SAP Dashboards (Xcelsius) files from Integrating SAP Dashboards into SAP Crystal Reports presentation.
MS-SQL 2008 backup of data used in the examples from Integrating SAP Dashboards into SAP Crystal Reports presentation.
XI r2.NET SDK Installation Instructions
Contact Info:
Name: Dell Stinnett
Email: dellstinnett_at_gmail