Quantcast
Channel: Crystal Reports
Viewing all articles
Browse latest Browse all 1507

Update from Crystal Report 2008 to 2011 breaks in-report links by making GET parameters disappear on click.

$
0
0

I've got a report that generates a URL link to an external application using a number of variables which are passed via GET. When I pull up the same report and same data on the older 2008 installation versus the newer 2011 installation, those links look very different and the 2011 link does not work. What happens is that everything after the first parameter disappears when the link is clicked.

Here are the links created by the report in each version, which I'm getting by right-clicking and choosing "copy link" in Chrome:

2008: http://www.host.com/intranet/API_PriceInc_Ltr/Start.aspx?slmno=1001&cusno=18301&venno=15&cutoff=08/01/2013&increase=1&shipaddr=77486&effective=08/30/2013&slmname=XXX

2011: parent.bobj.event.publish('hyperlinkClicked','CrystalReportViewer1__UI','target=_self&url=%2fintranet%2fAPI_PriceInc_Ltr%2fStart.aspx%3fslmno%3d1001%26cusno%3d1830 1%26venno%3d15%26cutoff%3d08%2f01%2f2013%26increase%3d1%26shipaddr%3d77486%26effective%3d08%2f30%2f2013%26slmname%3dXXX')


The URL that's actually comes up when I click on the link from the 2011 version is this:

http://host/intranet/API_PriceInc_Ltr/Start.aspx?slmno

 Now, if I feed the URL from the 2011 version into a URL decoder, I get this: target=_self&url=/intranet/API_PriceInc_Ltr/Start.aspx?slmno=1001&cusno=18301&venno=15&cutoff=08/01/2013&increase=1&shipaddr=77486&effective=08/30/2013&slmname=xxx

If I paste the decoded URL into my browser it comes up fine, so this isn't a problem caused by the new server as far as I can tell. It seems instead to be an issue with the way bobj is processing the link in the 2011 version. Since the get parameters are simply not appearing after the link is clicked, I'm not sure how to resolve this. 

Any suggestions?


Viewing all articles
Browse latest Browse all 1507

Trending Articles