Note that there are some explanatory texts on larger screens.

plurals
  1. POASP.NET get variables from Crystal Report not transferring properly to external application
    text
    copied!<p>I have a Crystal Report that redirects to another application URL and includes get variables in the link. For some reason those variables disappear when the page loads in the second application, and I'm not sure why.</p> <p>When I view the source of the Crystal Report output, here is an example link:</p> <pre><code>&lt;a href="javascript:parent.bobj.event.publish(&amp;#39;hyperlinkClicked&amp;#39;,&amp;#39;CrystalReportViewer1__UI&amp;#39;,&amp;#39;target=_self&amp;amp;url=%2fintranet%2fAPI_PriceInc_Ltr%2fStart.aspx%3fslmno%3d1007%26cusno%3d2455%26venno%3d22364%26cutoff%3d08%2f01%2f2013%26increase%3d.01%26shipaddr%3d0%26effective%3d08%2f05%2f2013%26slmname%3dXXX#39;)" target="_self" class="fcb0e6b53e-82c1-4e73-b9a7-b7cebfc74add-5"&gt;GLASS&amp;nbsp;BLOWING&amp;nbsp;SHOP&lt;/a&gt; </code></pre> <p>When I plug this into an html decoder to make sure it's correct, I get this result:</p> <pre><code>javascript:parent.bobj.event.publish('hyperlinkClicked','CrystalReportViewer1__UI','target=_self&amp;url=/intranet/API_PriceInc_Ltr/Start.aspx?slmno=ZZZ&amp;cusno=7597&amp;venno=50065&amp;cutoff=08/01/2013&amp;increase=.01&amp;shipaddr=773&amp;effective=08/05/2013&amp;slmname=XXXX') </code></pre> <p>The above string works perfectly when I plug it into the web page URL bar manually(adding the server IP, of course.) However, when I click on the link from the Crystal Report, I get this instead:</p> <pre><code>http://SERVER-IP/intranet/API_PriceInc_Ltr/Start.aspx?slmno </code></pre> <p>For some reason everything after the name of the first variable gets cut off. Any suggestions as to why?</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload