COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: LFedel on 15 Apr 2009 07:09:24 AM

Title: Dynamic HTML Links in PDF
Post by: LFedel on 15 Apr 2009 07:09:24 AM
I added an HTML object to a report.  I construct a dynamic link on each record of a report.  When rendered to HTML, the user can click on a  link and I pass all relevent data to an internal web site.  If the HTML is too large it takes quite some time to open.  If I render to PDF, the download is much quicker, but the link is not rendered.  The table of contents link works taking you anywhere in the PDF document.   

Is there something I'm missing with rendering a link in PDF?

Here is the link I build:

<html><a href="http://server45t/secure/form.aspx?facility='+
[Facility]+'&control2='+[Control #]+
'&svcfdt='+[Svc From Date]+
'&svctdt='+[Svc Thru Date]+
'&Hold='+[Hold Reason]+
'&RespDpt='+[Responsible Department] +
'&mr='+[Mr#]+
'&source='+[Source]+
'&revcode='+[Daily Holds].[Rev Code]+
'&hcpcscd='+[Daily Holds].[HCPCS]+
'&ins='+[Daily Holds].[Ins Plan Code]+
'&billTyp='+[Daily Holds].[Bill Type]+
'&rejdesc='+[Rejection Description]+
'&LineItem='+[line Item Error]+
'&claim='+[Daily Holds].[Claim No]+
'&cpi='+[CPI #]+
'&seqno='+[Daily Holds].[Sequence Number]+
'&patname='+[Daily Holds].[Patient]+
'&acctstat='+[Daily Holds].[Account Status]+
'" TARGET="_BLANK">e-CRD</a></html>'

Thanks
Lou