Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

BI Launchpad & XI vs Web Services SDK - BusinessObjects 4.x

Hello,

I am new to using the .NET SDK and have noticed that there are two different versions that do similar things. I am looking to add functionality into my company's .NET-based website where we can add BO users on the fly into preset groups. I noticed that this administrative functionality is available with the XI .NET SDK (CrystalDecisions,etc) but it is not available with the Web Services SDK (BusinessObjects.DSWS,etc). Is this something that can be done with the Web Services SDK? If not, is it a good practice to use the XI SDK for Web Applications?

I am also looking to log into the BI Launchpad programmatically so user's do not see the login screen. I have tried logging the user into BO using the Web Services SDK and saving the proper information into cookies that are created when one logs into the BI Launchpad. While I created all the proper cookies, when I navigate to the webpage with the embedded Launchpad it will not recognize these cookies, prompt for login credentials, and overwrite them if I log in. I set the property allowInsecureToken=true in BILaunchpad.properties so I can at least work with it in an IFrame. Is this a good way to go about this task? If not, is there a better way?

I have been working on this for a week or two and read a lot of articles, viewed samples, experimented with code, etc. Any help is greatly appreciated.

Thanks,

Dustin

Tags:
Former Member
replied

AFAIK, the web services do not have any user management in them - they're primarily for use when rolling your own user interface instead of using BI Launchpad.

I have a basic SDK functionality sample program on my website:  www.dellstinnett.com/sample_code.html - look for "BI 4.0 fp3, Visual Studio 2010" under ".NET SDK Tutorials.

For user management samples, you can go here:  SAP BUSINESSOBJECTS BI 4.x - DEVELOPER SDK LIBRARY and search for the word "User".  Most of the samples are for earlier versions of the SDK, but very little has changed.  The main things you have to do to upgrade the code are:

1.  Be sure to use the full .NET Framework, not one of the "Client" frameworks.

2.  If you're using .NET 4.0 or higher, the CrystalDecisions references have a new property called "Embed Interop Types" - this MUST be set to "false".

If you can't find what you're looking for, post back here with your exact requirement.  I might be able to come up with some sample code that will get you started.

-Dell

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question