Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Current situation: A JAVA applica 1

Status
Not open for further replies.

milmand

Programmer
Nov 22, 2002
24
US
Current situation:
A JAVA application uses a custom servelet to take users from its GUI to the appropriate Upfront page based on the user's security credentials. After that, user must select a report to run.

I need to know if it is possible to bypass that user class's main report page and to take user directly to a particular report (if there are no prompts) or to the prompt page of a particular report.

Basically, I want to be able to display output of an IWR report within another application with out forcing the user to click the newsitem link in Upfront.

If anyone has experience with this, please let me know. Right now, I'm thinking to simply use the URL of an IWR report and to somehow include UID and PW in the URL string.

Thanks in advance for your help.

Dmitry.
 
Menno,
Thanks a lot for your reply.
Please forgive my ignorance, but where do UID and PW go?

Thanks.

Dmitry.
 
Menno,
I am stuck!
I've looked through the Upfront Dev Guide and do not see any reference to passing the user's Upfront login credentials!
I was expecting to find it in chapter 4, but it's not there.

Please help!

Thanks.

Dmitry.
 
Dmitry,

You are right on this. In a simmilar case as you have descibed I wasn't facing this problem because the users all have os sign ons (as set in access manager), so the passing of login and password is al under water and not bothering the user. This might work for you. If thats not an option i would say you can't do it with a url, you have to build a xml script as described in chapter 3 of the dev guide.

Regards,

Menno
 
Good news!
I just got a reply from cognos support technitian who actually knows what he's doing!
Here's his solution that I tried and it works:
QUOTE:____________________________________________________________
To get in straight to a report one has to call the report newsitem, run the report .... bookmark it and get the link that takes you to the login page and modify it there for usage. For example I run the sample iwr customer order report and when the report runs, the url shown is:


Take this url and paste into a new browser, I get a login page with the following url:


I modify the middle return upto the return_url= to embed the userid and password and the resulting url to use is :


Hope this explain how to get a url of a iwr report to embed the userid and password. The process is pretty similar with other type of newsitem with the final modification made to embed the userid and password.


END QUOTE __________________________________________________

Hope it's useful to everyone on the forum.
Mennooo, thanks for your help.

Dmitry.
 
Thank you for this whole thread. I just had a requirement for this exact URL. Success for me too! This works great.

Mary
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top