<?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: Hyperlink which open pop up with data in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Hyperlink-which-open-pop-up-with-data/m-p/599301#M172977</link>
    <description>&lt;P&gt;i am looking for html format. a link at the end of the report. onclick should open popup window with dataset.(sh1.deployments)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods html body='ttest.htm' style=HTMLBlue;&lt;/P&gt;&lt;P&gt;proc report data=sh1.deployments;&lt;BR /&gt;run;&lt;BR /&gt;ods html close;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods _all_ close;&lt;BR /&gt;ods html body='ttest.htm'&lt;BR /&gt;style=HTMLBlue;&lt;BR /&gt;title2 j=l height = 14 pt link="ttest.htm/";&lt;BR /&gt;ods html close;&lt;BR /&gt;ods html;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 25 Oct 2019 12:03:12 GMT</pubDate>
    <dc:creator>radha009</dc:creator>
    <dc:date>2019-10-25T12:03:12Z</dc:date>
    <item>
      <title>Hyperlink which open pop up with data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Hyperlink-which-open-pop-up-with-data/m-p/599151#M172897</link>
      <description>I am looking to create a hyperlink to ‘this week changes’ once I click pop up opens with data.&lt;BR /&gt;&lt;BR /&gt;How can I do it.</description>
      <pubDate>Thu, 24 Oct 2019 20:10:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Hyperlink-which-open-pop-up-with-data/m-p/599151#M172897</guid>
      <dc:creator>radha009</dc:creator>
      <dc:date>2019-10-24T20:10:48Z</dc:date>
    </item>
    <item>
      <title>Re: Hyperlink which open pop up with data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Hyperlink-which-open-pop-up-with-data/m-p/599157#M172900</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; What is your destination of interest, RTF, PDF, HTML? When do you mean by "popup" -- a popup Word doc, a popup window, a flyover window, a new HTML page?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; What code have you tried? What procedures are you using? There are several ways to create hyperlinks in SAS and then to generate links for "drill-down" from a summary report to a detail report, for example. Here's one Forum posting, with code: &lt;A href="https://communities.sas.com/t5/SAS-Procedures/How-to-do-a-Drill-Down/td-p/103086" target="_blank"&gt;https://communities.sas.com/t5/SAS-Procedures/How-to-do-a-Drill-Down/td-p/103086&lt;/A&gt; and here's another with a PDF example that is a bit different: &lt;A href="https://communities.sas.com/t5/ODS-and-Base-Reporting/links-with-PDF-destination/td-p/62869" target="_blank"&gt;https://communities.sas.com/t5/ODS-and-Base-Reporting/links-with-PDF-destination/td-p/62869&lt;/A&gt; .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cynthia&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2019 20:39:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Hyperlink-which-open-pop-up-with-data/m-p/599157#M172900</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2019-10-24T20:39:01Z</dc:date>
    </item>
    <item>
      <title>Re: Hyperlink which open pop up with data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Hyperlink-which-open-pop-up-with-data/m-p/599301#M172977</link>
      <description>&lt;P&gt;i am looking for html format. a link at the end of the report. onclick should open popup window with dataset.(sh1.deployments)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods html body='ttest.htm' style=HTMLBlue;&lt;/P&gt;&lt;P&gt;proc report data=sh1.deployments;&lt;BR /&gt;run;&lt;BR /&gt;ods html close;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods _all_ close;&lt;BR /&gt;ods html body='ttest.htm'&lt;BR /&gt;style=HTMLBlue;&lt;BR /&gt;title2 j=l height = 14 pt link="ttest.htm/";&lt;BR /&gt;ods html close;&lt;BR /&gt;ods html;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2019 12:03:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Hyperlink-which-open-pop-up-with-data/m-p/599301#M172977</guid>
      <dc:creator>radha009</dc:creator>
      <dc:date>2019-10-25T12:03:12Z</dc:date>
    </item>
    <item>
      <title>Re: Hyperlink which open pop up with data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Hyperlink-which-open-pop-up-with-data/m-p/599365#M173007</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; I am confused because your BODY= option is creating TTEST.HTM in BOTH of the ODS HTML statement but your LINK= is pointing to the SAME file TTEST.HTM -- that doesn't make sense to me.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; This works for me:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="how_linking_works.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/33404iDC23A9DC95B585F3/image-size/large?v=v2&amp;amp;px=999" role="button" title="how_linking_works.png" alt="how_linking_works.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Notice how 2 separate files are created: detail.htm and master.htm. Notice that the detail.htm file (yellow) has a link to master.htm (blue). And notice also that master.htm, the summary file, (blue) has a link to detail.htm(yellow).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It would not work if all the links referred to "detail.htm" or "master.htm".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You should be able to try my code to see how it works. It just uses sashelp.class.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cynthia&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2019 15:20:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Hyperlink-which-open-pop-up-with-data/m-p/599365#M173007</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2019-10-25T15:20:18Z</dc:date>
    </item>
  </channel>
</rss>

