<?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: Visual Analytics 7.4: Report with Hyperlink Column in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Visual-Analytics-7-4-Report-with-Hyperlink-Column/m-p/811318#M16017</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/12447"&gt;@Patrick&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have you considered setting up an external link from the VA List Table object to the Stored Process? Please see &lt;A href="https://support.sas.com/documentation/cdl/en/vaug/69957/HTML/default/viewer.htm#n0avi8j19qgkkun1q5znm94euwlk.htm" target="_blank"&gt;Creating Report Links :: SAS® Visual Analytics 7.4: User's Guide&lt;/A&gt;. You could set the Stored Process URL to receive the target URL or a descriptive text as a parameter and use the Stored Process code to use a lookup table to retrieve the URL based on the description. You wouldn't have a true hyperlink like in your example but you would be able to click anywhere in the row to launch the Stored Process.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Renato&lt;/P&gt;</description>
    <pubDate>Tue, 03 May 2022 21:05:27 GMT</pubDate>
    <dc:creator>Renato_sas</dc:creator>
    <dc:date>2022-05-03T21:05:27Z</dc:date>
    <item>
      <title>Visual Analytics 7.4: Report with Hyperlink Column</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Visual-Analytics-7-4-Report-with-Hyperlink-Column/m-p/810781#M16012</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My first VA question ever! Please treat me as VA beginner.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;What I have&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;- SAS 9.4M7 under RHEL, SAS Visual Analytics (VAAR) 7.4&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;What I need&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Create a VA report that has a column with a clickable http link (different per cell).&lt;/P&gt;
&lt;P&gt;When clicking the link a Excel file gets created from a data source not loaded into Lasr (via a SAS Stored Process).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;What I can do&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Load data into Lasr that got the fully working link already pre-populated in one of the variables.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;What I don't manage to get working&lt;/STRONG&gt;&lt;BR /&gt;The link not just showing as text but as a "clickable" hyperlink to an "external page".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The link points to a SAS Stored Process that creates an Excel file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Below sample SP works if called directly out of Chrome using a link like:&amp;nbsp;&lt;BR /&gt;https://&amp;lt;server&amp;gt;/SASStoredProcess/do?_action=form,properties,execute,nobanner,newwindow&amp;amp;_program=&amp;lt;path &amp;amp; prog&amp;gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would now just need this link in a VA report but can't get this to work.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For my real case: The link will differ per cell - but I can create the link before loading into VA so there it can be static on a cell level.&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
*Process Body;
data _null_;
 /* Set HTTP headers */
  rc = stpsrv_header('Content-type','application/vnd.openxmlformats-officedocument.spreadsheetml.sheet');
  rc = stpsrv_header('Content-disposition',"inline; filename=class.xlsx"); 
run;
%let _odsdest=EXCEL;
%let _odsoptions=;
%stpbegin;
ods EXCEL options(sheet_interval="proc" sheet_name="Test"); 
proc print data=sashelp.class;
run; 
ods EXCEL close; 
%stpend;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;STRONG&gt;Ideally&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;I would like to surface some "description" in VA and not the full link if that's possible.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've seen that VA also allows directly for Stored Processes and I could easily load the parameter value (the key value) such a VA Stored Process needs (but: The SP must execute under the functional SP server user).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That's how this VA report would need to look like:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Patrick_1-1651316766185.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/71009i6787F4B23D0AE0A3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Patrick_1-1651316766185.png" alt="Patrick_1-1651316766185.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I could ideally surface the link like in row 4 - but it's also o.k. to show the actual link.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope I could explain my challenge sufficiently clear.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any guidance how to go about this highly appreciated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Patrick&lt;/P&gt;</description>
      <pubDate>Sat, 30 Apr 2022 11:24:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Visual-Analytics-7-4-Report-with-Hyperlink-Column/m-p/810781#M16012</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2022-04-30T11:24:43Z</dc:date>
    </item>
    <item>
      <title>Re: Visual Analytics 7.4: Report with Hyperlink Column</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Visual-Analytics-7-4-Report-with-Hyperlink-Column/m-p/811318#M16017</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/12447"&gt;@Patrick&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have you considered setting up an external link from the VA List Table object to the Stored Process? Please see &lt;A href="https://support.sas.com/documentation/cdl/en/vaug/69957/HTML/default/viewer.htm#n0avi8j19qgkkun1q5znm94euwlk.htm" target="_blank"&gt;Creating Report Links :: SAS® Visual Analytics 7.4: User's Guide&lt;/A&gt;. You could set the Stored Process URL to receive the target URL or a descriptive text as a parameter and use the Stored Process code to use a lookup table to retrieve the URL based on the description. You wouldn't have a true hyperlink like in your example but you would be able to click anywhere in the row to launch the Stored Process.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Renato&lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2022 21:05:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Visual-Analytics-7-4-Report-with-Hyperlink-Column/m-p/811318#M16017</guid>
      <dc:creator>Renato_sas</dc:creator>
      <dc:date>2022-05-03T21:05:27Z</dc:date>
    </item>
    <item>
      <title>Re: Visual Analytics 7.4: Report with Hyperlink Column</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Visual-Analytics-7-4-Report-with-Hyperlink-Column/m-p/811319#M16018</link>
      <description>&lt;P&gt;I forgot to mention that the Stored Process could work as a proxy and determine what to do depending on the URL passed as parameter, to simulate different URLs in each cell like you described.&lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2022 21:11:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Visual-Analytics-7-4-Report-with-Hyperlink-Column/m-p/811319#M16018</guid>
      <dc:creator>Renato_sas</dc:creator>
      <dc:date>2022-05-03T21:11:05Z</dc:date>
    </item>
    <item>
      <title>Re: Visual Analytics 7.4: Report with Hyperlink Column</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Visual-Analytics-7-4-Report-with-Hyperlink-Column/m-p/811649#M16020</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/1484"&gt;@Renato_sas&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your guidance. I luckily found someone in our project team who wasn't as ignorant as I am. It turned out that defining the column as URL and then passing the HTML string as parameter did the trick.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Not sure why I've missed this when looking into the documentation. I was reading the right section but apparently misunderstood what was explained there.&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2022 12:29:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Visual-Analytics-7-4-Report-with-Hyperlink-Column/m-p/811649#M16020</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2022-05-05T12:29:58Z</dc:date>
    </item>
    <item>
      <title>Re: Visual Analytics 7.4: Report with Hyperlink Column</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Visual-Analytics-7-4-Report-with-Hyperlink-Column/m-p/811664#M16022</link>
      <description>&lt;P&gt;I'm glad it worked!&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2022 13:35:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Visual-Analytics-7-4-Report-with-Hyperlink-Column/m-p/811664#M16022</guid>
      <dc:creator>Renato_sas</dc:creator>
      <dc:date>2022-05-05T13:35:56Z</dc:date>
    </item>
  </channel>
</rss>

