cancel
Showing results for 
Search instead for 
Did you mean: 

OpenDocument without credentials

Former Member
0 Kudos

Hi Experts,

I searched the forum regarding open document.

But My requirement is to open the report in "open document" it should redirect with HTML hyper link,but user should not enter user name and password,

it should directly redirect the reports.

Kindly explain with screen shots plz.

Thanks in advance

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member211235
Active Participant
0 Kudos

Hi,

http://masd4545.mandgroupnet.com/BOE/OpenDocument/opendoc/openDocument.jsp?sIDType=CUID&iDocID=Aexh8...


In the above link, the first portion:http://masd4545.mandgroupnet.com/

It is the portal link.


Now the portion from BOE/....is the document link, which is obtained fromDocument linking feature.


="<a href=\"../../opendoc/openDocument.jsp?iDocID=Aexh8r1quYJBoIhTUaQPmFc&sIDType=CUID&sType=wid&lsSpsEnter%20Idea%20ID%3A="+URLEncode(""+[Idea ID])+"\" title=\"\" target=\"_blank\" nav=\"doc\">"+[Ideas].[Ideas].[Problem Statement]+"</a>"


So in here, the report is opened whenever it is clicked from the portal without the username and password. If its asking for username and password, then try to get token id and place it in the REST services. and other reason for username and password is: if the report has prompts in it, then that part also should be placed in the above link by placing "&" and the "lsSpsEnter%20Idea%20ID%3A="


Grtz

-Anila.


saurabh_sonawane
Active Contributor
0 Kudos

Former Member
0 Kudos

Hi Saurabh,

I m Talking about Open Document

Not about hyper link.Which is Mentioned as hyper link is for "HTML"coding.

saurabh_sonawane
Active Contributor
0 Kudos

https://help.sap.com/businessobject/product_guides/sbo41/en/sbo41_opendocument_en.pdf

copy the document link

and edit the document link

by remove the server name and port from it then it will be like this

/BOE/OpenDocument/opendoc/openDocument.jsp ?iDocID=Aa6GrrM79cRAmaOSMGoadKI

your document link could be like above.

and this would not ask for a user name and password

Former Member
0 Kudos

How come if i remove server name and port from document link,

then how it ll display the report..

It shows error

saurabh_sonawane
Active Contributor
0 Kudos

if you remove the server name and port the it become the relative path url

please go throught the below document

after you convert the url to relative url then it would not ask for user name and password

Former Member
0 Kudos

Hi Saurabh,

I m not getting it if i use as relative path.So kindly help me out

saurabh_sonawane
Active Contributor
0 Kudos

how does the relative path work

we have two BI launch pad url like

http;//xyz:8080/BOE/OpenDocument/opendoc/openDocument.jsp ?iDocID=Aa6GrrM79cRAmaOSMGoadKI

and second one is

http://123.45.67.1:80808/BOE/OpenDocument/opendoc/openDocument.jsp ?iDocID=Aa6GrrM79cRAmaOSMGoadKI

supose the user uses a 1st url to access the bi launch pad i.e

http;//xyz:8080/BOE/BI

then our document link sould be starting for http;//xyz:8080/BOE/.......

if we use both the link same then the user name and password of user will be taken from the current cach or a current running session of the same site.

if we use mismatch url

for eg

user is accessing the BI launch pad via



http://123.45.67.1:80808/BOE

and you had given the document link as

http;//xyz:8080/BOE/OpenDocument/opendoc/openDocument.jsp ?iDocID=Aa6GrrM79cRAmaOSMGoadKI

then the server does not find any session or any password and user name for this site so it ask for the user name and password

if we use a relative path then it will automaticaly thake the starting url from the local system session and we dont want to enter the user name and password

Former Member
0 Kudos

hi ,

I m using BO 4.0 and i have only one BI lunch Pad that too i m working for Production.

I understand the concept of Relative Path.

But finally its not working.

I used <a href> path also ..I dont know whats the problem

saurabh_sonawane
Active Contributor
0 Kudos

plesase past the url

Former Member
0 Kudos

Saurabh,

Send me the exact Syntax.

Coz i tired all the ways.

saurabh_sonawane
Active Contributor
0 Kudos



please send me the document link

/BOE/OpenDocument/opendoc/openDocument.jsp ?iDocID=Aa6GrrM79cRAmaOSMGoadKI

Former Member
Former Member
0 Kudos

As you said i tired the relative path and passed the link in the URL but it does not redirect any pages

what i should do actually??

saurabh_sonawane
Active Contributor
0 Kudos

http://../../OpenDocument/opendoc/openDocument.jsp?sIDType=CUID&iDocID=AbI3sGVYtbFIiNWdivD634U

use this link but make sure that ur using a document link

how we can get the document link

right click on the table olumn and select the linking

and in linking select the document link

in that browse the document which u want to open

and which version of BO ur using

Former Member
0 Kudos

I used the link which u gave,but it shows server not found.

I m using SAP BO 4.0

And for the document link

If the right click the report ,it shows Document link

saurabh_sonawane
Active Contributor
0 Kudos

perfect select the document link

in that u have to select the document which u want to call

click on browse button and select the doucment

and make sure that you uncheck the all the option in the hyperlink property

Former Member
0 Kudos

If your dont mind can you send me the step by step screen shot and procedures to be followed.

coz i m bit confused.

Thanks in advance

saurabh_sonawane
Active Contributor
0 Kudos

please go throught  it

Former Member
0 Kudos

Saurbah,

1.I need to create HTML file and i have to use HTML coding for hyperlink

2.for example: <a href="http:servername:port/opendoc.jsp?

3.Once i created the HTML link with open document link

4.It should redirects to the Report Directly,So end user can view the report and data direct without using credentials ,i mean username and password.

former_member211235
Active Participant
0 Kudos

Hi Maya,

Are you trying to create report to report linking? or Portal to report linking?

Grtz

-Anila.

Former Member
0 Kudos

Not report to report.

Want to use open document with HMTL hyperlink coding

without username and password

saurabh_sonawane
Active Contributor
0 Kudos

great can you explain me what you want to do

in details

former_member211235
Active Participant
0 Kudos

Ok. So can you paste the open document link.."<"a href..." and the document link of the report?

Former Member
0 Kudos

Saurabh,

1. Have to write HTMl coding in Notepad and save it as HTML.com

2.HTML coding is

<html>

<head>

<META HTTP-EQUIV="refresh" CONTENT="0;URL=http:///BOE/OpenDocument/opendoc/openDocument.jsp?sIDType=CUID&iDocID=ARAL_oe9YsRIohtV8g9H1AA">

<title>Redirect</title>

</head>

<body><p> Please wait </p></body>

</html>

3.Once i Create the HTML file ,Need to click the file and It directly goes to BI launh PAD

it means, End users will  view the report directly

4.But should not ask for username and password

Hope u got my point??

Former Member
0 Kudos

Anila

kindly refer my last reply to Saurabh,

Without user name and passowrd open document should be accessable

how?

former_member211235
Active Participant
0 Kudos

Maya,

See the notepad is saved as .html file and BO report is saved as .wid. Basically there should be some integration between the html file and BO. If there is no integration it will ask the username and password for logging into BI launchpad. I think you need to use RESTful web services for this.

former_member211235
Active Participant
0 Kudos

Maya,

Sorry for the above post. No need of RESTful web services. We had the same requirement. So we just checked the authentication and passed the URL along with the prompts if any. The authentication should be Windows AD. I mean it should match at both the ends.

Former Member
0 Kudos

Really appreciate for understanding my requirement.

Actually mu authentication is SAP,if i change it as Windows AD it throws error.

So can you plz help me out to make my requirement done

former_member211235
Active Participant
0 Kudos

Maya,

Our portal was having Windows AD authentication which was developed on .net basis where the security authentication is set and BO is also on the same type. So we used it. But in your case it will be different. Actually I think you need to set up some basic authentication onto the HTML side which matches up with BO.

Former Member
0 Kudos

hi Anila,

I dont have authentication for Windows AD..

If you help me to resolve my requirement.ll be thankful so much.

kindly send me step by step process to achieve it.

former_member211235
Active Participant
0 Kudos

Maya,

Try to pass the user credentials in the URL itself. But then it gonna be the static as username and password will be hard coded.You can try adding it by using "&usr=" and "&pwd=" onto the URL.

Former Member
0 Kudos

anila,

Its again asking username n password if i pass the credential in the URL parameter.

I m really dont know what to do..Stuck up with this for couple of week.

is it possible to have private chat.

If any suggestion and idea let me know plz

former_member211235
Active Participant
0 Kudos

Maya,

If it was Win AD then it would have been done automatically. Actually you need to use any of the header scripts while passing auth info like ajax,jquery..etc.where you'll be specifying the auth type and other user info which can be taken as dynamically.Without the header scripts I don't think it would be possible. And confidentiality will be lost if we try to pass the user name and password in the URL. Its not the correct way to say. Try changing the authentication as Win AD onto BO side or use some of the header scripts. A static HTML files will sure be asking for credentials without Win AD.

Former Member
0 Kudos

Anila,

Thanks for your valuable time and information.

If you dont mind can you share the process which you used with windows AD.

Coz i m gonna try to create authentication for windows AD.

If possible share the screenshot too

former_member211235
Active Participant
0 Kudos

https://scn.sap.com/docs/DOC-26314

http://blog.jamiebaldanza.org/wp-content/uploads/2012/04/Crystal-2011-AD-Authentication.pdf

Windows AD authentication for Business Objects using Kerberos

Please follow those links for setting up Win AD. I have not been part of it while setting up at our end. This should be done at CMC.

Kindly mark as Helpful Answer if you felt you have gained enough information.

Former Member
0 Kudos

Anila,

Thanks for your help.If  any help regarding creating windows AD i should contact you.so kindly need to have a private chat.

saurabh_sonawane
Active Contributor
0 Kudos

Hi

i had spoken with my team they are saying inseated of changing autenication to WINDOW AD

try to create a url which will pass the token and session when the user click on link

you just have to enable the SSO thats it

and make sure you gothrough the below document that how to create a token and session in a opendoc url

just go through the chapter 4 and chapter 5

https://help.sap.com/businessobject/product_guides/boexir4/en/xi4_opendocument_en.pdf

Former Member
0 Kudos

Hi Saurabh,

Thanks for your effort and reply.

Actually i have read already about the document which u suggest me . But its not explained so detailed.

I m searching for the detailed SSO Enable. If you come across anything or Your team mates can share its really well and good.

Ways to be done

1.SSO

2.windows AD

former_member201488
Contributor