<?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 Re: Interactive rtf/pdf document with links in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Interactive-rtf-pdf-document-with-links/m-p/449605#M20745</link>
    <description>&lt;P&gt;You can use Proc REPORT with the CALL DEFINE and the URL attribute to set your link. See sample code below.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also have a look at&amp;nbsp;&lt;A href="http://support.sas.com/kb/24/182.html" target="_blank"&gt;http://support.sas.com/kb/24/182.html&lt;/A&gt; concerning the color around the link&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data test;
  format TABLE $6. LINK $25.;
  input TABLE LINK;
  datalines;
Table1 C:\ProjectX\Table1.rtf
Table2 C:\ProjectX\Table2.rtf
Table3 C:\ProjectX\Table3.rtf
;
run;

ods pdf file="c:\temp\sample.pdf";
proc report data=test;
  column table link _dummy;
  define table / display;
  define link / display noprint;
  define _dummy / computed noprint;
  compute _dummy;
    call define ("table", "URL", link);
/*    call define("table", "style", "style={LINKCOLOR=white}");*/
  endcomp;
run;
ods pdf close;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 29 Mar 2018 09:47:27 GMT</pubDate>
    <dc:creator>BrunoMueller</dc:creator>
    <dc:date>2018-03-29T09:47:27Z</dc:date>
    <item>
      <title>Interactive rtf/pdf document with links</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Interactive-rtf-pdf-document-with-links/m-p/449587#M20744</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please help with the table reporting that should contain links on the correspondent files. I have a dataset that with tables names and should receive &lt;STRONG&gt;a one column with the names and each name should be an interactive.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It has to be an &lt;STRONG&gt;rtf and pdf documents&lt;/STRONG&gt;. Is it possible with SAS?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data test;
  format TABLE $6. LINK $25.;
  input TABLE LINK;
  datelines;
Table1 C:\ProjectX\Table1.rtf
Table2 C:\ProjectX\Table2.rtf
Table3 C:\ProjectX\Table3.rtf
;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Mar 2018 07:21:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Interactive-rtf-pdf-document-with-links/m-p/449587#M20744</guid>
      <dc:creator>DmytroYermak</dc:creator>
      <dc:date>2018-03-29T07:21:21Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive rtf/pdf document with links</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Interactive-rtf-pdf-document-with-links/m-p/449605#M20745</link>
      <description>&lt;P&gt;You can use Proc REPORT with the CALL DEFINE and the URL attribute to set your link. See sample code below.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also have a look at&amp;nbsp;&lt;A href="http://support.sas.com/kb/24/182.html" target="_blank"&gt;http://support.sas.com/kb/24/182.html&lt;/A&gt; concerning the color around the link&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data test;
  format TABLE $6. LINK $25.;
  input TABLE LINK;
  datalines;
Table1 C:\ProjectX\Table1.rtf
Table2 C:\ProjectX\Table2.rtf
Table3 C:\ProjectX\Table3.rtf
;
run;

ods pdf file="c:\temp\sample.pdf";
proc report data=test;
  column table link _dummy;
  define table / display;
  define link / display noprint;
  define _dummy / computed noprint;
  compute _dummy;
    call define ("table", "URL", link);
/*    call define("table", "style", "style={LINKCOLOR=white}");*/
  endcomp;
run;
ods pdf close;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 29 Mar 2018 09:47:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Interactive-rtf-pdf-document-with-links/m-p/449605#M20745</guid>
      <dc:creator>BrunoMueller</dc:creator>
      <dc:date>2018-03-29T09:47:27Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive rtf/pdf document with links</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Interactive-rtf-pdf-document-with-links/m-p/449606#M20746</link>
      <description>Thank you, Bruno! It has worked.</description>
      <pubDate>Thu, 29 Mar 2018 10:07:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Interactive-rtf-pdf-document-with-links/m-p/449606#M20746</guid>
      <dc:creator>DmytroYermak</dc:creator>
      <dc:date>2018-03-29T10:07:28Z</dc:date>
    </item>
  </channel>
</rss>

