Skip to Content
author's profile photo Former Member
Former Member

How to create logon token in webi using SDK ?

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 😊

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Nov 23, 2012 at 09:20 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.