<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Creating PDF with links in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Creating-PDF-with-links/m-p/3416#M1469</link>
    <description>Hi:&lt;BR /&gt;
  In a PDF created by ODS I would like plot symbols and values in tables to link to external files or bookmarks in the same PDF.&lt;BR /&gt;
 Below is a test using a hard-coded link. If this feature works, I will modify the code so the link is based on the value.&lt;BR /&gt;
The PROC PRINT displays correctly, but clicking on a value does not initiate the link.&lt;BR /&gt;
The PROC GPLOT ignores the escape character.&lt;BR /&gt;
Is there a way to do this in 9.1.3?&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
DATA anno;&lt;BR /&gt;
 SET SUBSET_for_pdf_test;&lt;BR /&gt;
LENGTH linkval $ 60;&lt;BR /&gt;
 linkval = '0.99 ^S={URL="L:\users\bills\camnet_history.pdf"}';&lt;BR /&gt;
 xsys='2';ysys='2';&lt;BR /&gt;
 x=sample_start_date;y=nh4_ug_2_filters_;text=linkval;OUTPUT;&lt;BR /&gt;
&lt;BR /&gt;
RUN;&lt;BR /&gt;
ODS  escapechar="^";&lt;BR /&gt;
&lt;BR /&gt;
ODS PDF style=journal FILE="l:\users\bills\altkeytest.pdf" ;&lt;BR /&gt;
ODS LISTING close;&lt;BR /&gt;
PROC PRINT DATA=anno;&lt;BR /&gt;
 var  linkval nh4_ug_2_filters_;&lt;BR /&gt;
RUN;&lt;BR /&gt;
PROC GPLOT DATA=subset_for_pdf_test;&lt;BR /&gt;
 PLOT nh4_ug_2_filters_ * sample_start_date&lt;BR /&gt;
      /&lt;BR /&gt;
      anno=anno&lt;BR /&gt;
;&lt;BR /&gt;
&lt;BR /&gt;
RUN;&lt;BR /&gt;
QUIT;&lt;BR /&gt;
&lt;BR /&gt;
ODS PDF CLOSE;&lt;BR /&gt;
ODS LISTING;</description>
    <pubDate>Wed, 13 Jun 2007 15:12:00 GMT</pubDate>
    <dc:creator>Bill_in_Toronto</dc:creator>
    <dc:date>2007-06-13T15:12:00Z</dc:date>
    <item>
      <title>Creating PDF with links</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Creating-PDF-with-links/m-p/3416#M1469</link>
      <description>Hi:&lt;BR /&gt;
  In a PDF created by ODS I would like plot symbols and values in tables to link to external files or bookmarks in the same PDF.&lt;BR /&gt;
 Below is a test using a hard-coded link. If this feature works, I will modify the code so the link is based on the value.&lt;BR /&gt;
The PROC PRINT displays correctly, but clicking on a value does not initiate the link.&lt;BR /&gt;
The PROC GPLOT ignores the escape character.&lt;BR /&gt;
Is there a way to do this in 9.1.3?&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
DATA anno;&lt;BR /&gt;
 SET SUBSET_for_pdf_test;&lt;BR /&gt;
LENGTH linkval $ 60;&lt;BR /&gt;
 linkval = '0.99 ^S={URL="L:\users\bills\camnet_history.pdf"}';&lt;BR /&gt;
 xsys='2';ysys='2';&lt;BR /&gt;
 x=sample_start_date;y=nh4_ug_2_filters_;text=linkval;OUTPUT;&lt;BR /&gt;
&lt;BR /&gt;
RUN;&lt;BR /&gt;
ODS  escapechar="^";&lt;BR /&gt;
&lt;BR /&gt;
ODS PDF style=journal FILE="l:\users\bills\altkeytest.pdf" ;&lt;BR /&gt;
ODS LISTING close;&lt;BR /&gt;
PROC PRINT DATA=anno;&lt;BR /&gt;
 var  linkval nh4_ug_2_filters_;&lt;BR /&gt;
RUN;&lt;BR /&gt;
PROC GPLOT DATA=subset_for_pdf_test;&lt;BR /&gt;
 PLOT nh4_ug_2_filters_ * sample_start_date&lt;BR /&gt;
      /&lt;BR /&gt;
      anno=anno&lt;BR /&gt;
;&lt;BR /&gt;
&lt;BR /&gt;
RUN;&lt;BR /&gt;
QUIT;&lt;BR /&gt;
&lt;BR /&gt;
ODS PDF CLOSE;&lt;BR /&gt;
ODS LISTING;</description>
      <pubDate>Wed, 13 Jun 2007 15:12:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Creating-PDF-with-links/m-p/3416#M1469</guid>
      <dc:creator>Bill_in_Toronto</dc:creator>
      <dc:date>2007-06-13T15:12:00Z</dc:date>
    </item>
    <item>
      <title>Re: Creating PDF with links</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Creating-PDF-with-links/m-p/3417#M1470</link>
      <description>Hi:&lt;BR /&gt;
  SAS/Graph does not support the use of ODS Escapechar. ODS HTML does have a method to describe an HREF attribute to simulate drill-down or linking.&lt;BR /&gt;
 Check out this Tech Support Note on the capability:&lt;BR /&gt;
&lt;A href="http://support.sas.com/faq/035/FAQ03592.html" target="_blank"&gt;http://support.sas.com/faq/035/FAQ03592.html&lt;/A&gt;&lt;BR /&gt;
 &lt;BR /&gt;
If you created an HTML file and then distilled the HTML file to be a PDF file (with a 3rd party converter or an Adobe product), I do not know whether PDF would retain the hyperlinks or not. This is a question that is probably best answered by Tech Support.&lt;BR /&gt;
 &lt;BR /&gt;
Good luck!&lt;BR /&gt;
cynthia</description>
      <pubDate>Thu, 14 Jun 2007 00:00:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Creating-PDF-with-links/m-p/3417#M1470</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2007-06-14T00:00:48Z</dc:date>
    </item>
  </channel>
</rss>

