cancel
Showing results for 
Search instead for 
Did you mean: 

How to create logon token in webi using SDK ?

Former Member
0 Kudos

Hello Everyone

I have created a report summary in dashboard designer and drilled down through series

to detailed webi report. Whenever I drill it, It is asking for log on credentials. After reading

some articles I came to know that one have to create log on token to skip this process.

As per the instructions provided in Web Intelligence ReportEngine Java SDK developer

guide and installed eclipse and JDK. I am new to this SDK stuffs(JAVA as well) and I have

some basic doubts like

1. What are the codes I should use while creating a log on token?

2. Other than admin privilege what are all the requisites to create log on token?

3. After creating the .jsp file what to name it and where to place it? 

I really appreciate If anyone can help me in a clear way what I should do after this.

Regards

Bala

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

I am considering that you are using BO XI 3.1 version

Here are the answers to your queries:

1. What are the codes I should use while creating a log on token?

You can refer to the SSO code for infoview here, the same code would be applicable to your scenario except it is redirecting to InfoView Home page. You would need to replace the url specified for InfoView homepage with the opendoc url for the webi report.

Also, here you have two options:

- You can develop one jsp for each report embedded in the dashboard. It means you will hardcode the report id(SI_ID or CUID) in the url that you will be providing in jsp file to be redirected to.

-  You can dynamically pass the id for the report to the ksp file using query string concept in java/jsp

2. Other than admin privilege what are all the requisites to create log on token?

It is not mandatory that you should use an admin account. You can use any of the BO user account to connect to business objects. The only point to consider here is that whatever id you will be specifying in the jsp file the user who will be accessing the report from the dashboard will have the same rights(as BO user) on the report. For example, if there is one user who is not allowed to modify webi reports and you specify administrator as the user in the jsp file to access webi reports, the same user can modify the webi report as he is connected to BO server as 'administrator'.

The best practice is to create a generic account, assign appropriate access to it and use that account in the jsp file.

3. After creating the .jsp file what to name it and where to place it? 

You can name it anything as per your business requirement and you can place it in Tomcat's webapps directory in any of the deployed war file like CmcApp and InfoViewApp to make it work.

Lets say you have developed a jsp file named 'abc.jsp' and place it inside CmcApp, then you have to specify url in the dashboard like this:

http://servername:8080/CmcApp/abc.jsp

You can also create a seperate web application in case you dont want to specify common naming conventions in the url like CmcApp or InfoVIewApp and can place your jsp file in it. You can open a new thread for the same.

Hope it helps.

Thanks,

Anchal

Former Member
0 Kudos

Thanks for your valuable share Anchal.

Answers (0)