cancel
Showing results for 
Search instead for 
Did you mean: 

crystal Viewer How do you pass the name of database in dbLogonInfo (JSP)

Former Member
0 Kudos

Hello,

How do you pass database logon information Hello

crystal Viewer How do you pass then of database in logon information ?

I have more database and i want pass the name of database in dbLogonInfo

Regards

Michel

Accepted Solutions (1)

Accepted Solutions (1)

aasavaribhave
Advisor
Advisor
0 Kudos

The report file (rpt) stores some database information so all you have to do is pass the database logon credentials in ConnectionInfo object. Do you want to change the DB at runtime and then view the report? Then you should use use RAS.

Former Member
0 Kudos

hello

Do you want to change the DB at runtime and then view the report?

yes

Then you should use use RAS.

what is it ? have you an example

Regards

Michel

dan_cuevas
Active Participant
0 Kudos

Hi Michel,

You can look at some of the sample code on the "Code and Samples" link.

This should be on the bottom of the left pane of this forum.

If you cannot find the link, you can also use the following:

[https://www.sdn.sap.com/irj/sdn/businessobjects-samples?rid=/webcontent/uuid/e02e0a54-6471-2b10-c99c-d66e07fab102]

I recommend you look at the "Report Application Server SDK Sample Code":

[https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/10a5bc2e-2b81-2b10-38b8-b30c152c0929]

If you are new to the SDK, I highly recommend that you go through the documentation found on the DevLibrary:

[http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/devsuite.htm]

Please note that settings the properties is not the difficult part.

The difficult part is determining what properties to set and what values to set it with.

One trick is to create a report with the exact database logon information that you want to use and then use the SDK to extract the information.

Once you have the information on what properties are being set and with what value, then it is a simple matter to setting them.

Hope this helps.

Regards,

Dan

Answers (0)