How to pass user name and password in the OpenDoc link

When i have BO report link using OpenDoc on my corporate web page.
User will click it prompt me username and password, but i have generic user name and password.
Is there a way i can pass that generic user name and password in my opendoc link. so user who ever click the report in the corporate web page it will open report with out asking any credentials.
We don’t have any single sighn on set up, we have LDAP but not SSO.
I just need the way how to pass generic credentials in OpenDoc Syntax.


kum (BOB member since 2004-03-15)

Use the following:

&lsSUsername="+URLEncode([username object])+"
&lsSPassword="+URLEncode([password object])+"

Assuming the prompts there for username and password are “Username” and “Password” respectively.

I hope this helps. do share the result.

Cheers,


shiva.tomar (BOB member since 2007-10-05)

You can’t pass login credentials directly into the opendocument.aspx page, but if you can use the Enterprise SDK from your corporate webpage, then you can login thru code and create a logon token that you can pass to the opendocument.aspx page.

Take a look at be_xi_r2_opendocument.pdf on the SAP support site for details of the opendocument.aspx URL command.


ajunell :us: (BOB member since 2004-05-03)

I have the same problem,I have read the opendocument.pdf but I haven’t found a way to pass the username and password ,I just got the logon form page of infoview!


lucy_lxy0 (BOB member since 2009-08-28)

Hello lucy_lxy0,

Let’s say that your hyperlink syntax is something like this

="<a href=“http://”+[servername]+":9280/businessobjects/enterprise115/desktoplaunch/opendoc/openDocument.jsp?

Instead of that you can try to use ="<a href="http:…/…/opendoc/openDocument.jsp?. This way you won’t be asked for user/password.

Give it a try!


biankutzu22 :romania: (BOB member since 2008-05-16)

Hi Sir /Miss:
for example:
http://pww.dashboard.tw-khh01.nxp.com:8080/businessobjects/enterprise115/desktoplaunch/opendoc/openDocument.jsp?sType=wid&iDocID=593107&sRefresh=Y&sWindow=New&lsSEnter

if user_id = ‘watson’
password = ‘ws1234’

How to change the syntax, then I can pass user name and password ?
many thanks!


watsonin (BOB member since 2009-09-14)