Passing Parameter in URL button

L

Lloyd

I have created a button that launches a crystal report through Business
Objects Enterprise using a URL. The URL example is below:

http://pdres001a:8080/CrystalReport...password=mypassword&apsauthtype=secEnterprise

The URL works fine if I cut/paste it directly into IE and send it.

The URL works fine when I just use:

http://pdres001a:8080/CrystalReports/viewrpt.cwr?id=1980

However when I add on the remaining parameters to pass the username and
password and security type
"&apspassword=mypassword&apsauthtype=secEnterprise" those portions of the URL
seem to be ignored as I am presented with a logon page by the business
objects application.

From my testing I do not believe this is a business objects issues as the
URL works fine when typed directly into a browser URL, however it doesnt work
correctly when pasted into the hyperlink address property of the button I
created. It only seems to pass part of the URL to internet explorer.

Can anyone give me an idea on how to proceed to resolve this?
 
J

John Hawker

I ran into this a while back on our intranet. Try replacing the ampersand (&)
in your URL with %26

John
 
L

Lloyd

I am not using any code, in the propertys box, I am using the "hyperlink
address" field on a command button. when the button is pushed, it launches
IE and the address from the hyperlink address property is used.
 
L

Lloyd

I am using the hyperlink address field property of the command button. Can
I copy all this into that filed or would this need to be put into an on-click
event or something? if so what would the code be to utilize it in that
fashion?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top