<?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: Not getting expected output from SAS Viya Job Definition in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Not-getting-expected-output-from-SAS-Viya-Job-Definition/m-p/914023#M17799</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I understand properly your question, you are willing to display a preview of the generated file and then allow the user to download what they see as an Excel file.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this is the approach, I would suggest to create an HTML preview of the results using ods html with the webout destination. At the same time you create the HTML version, you can create an Excel file and store it in the SAS File Server. This file may then be downloaded using a button displayed on the HTML version of the results.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can most probably use this &lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/How-to-customize-data-export-in-SAS-Visual-Analytics/ta-p/862880" target="_blank" rel="noopener"&gt;article&lt;/A&gt;&amp;nbsp;as a reference. Most part of the article covers the integration with SAS Visual Analytics, but the job itself is similar in the way it works. This &lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/How-to-display-results-from-a-SAS-Viya-Job-in-the-same-page/ta-p/908154" target="_blank" rel="noopener"&gt;article&lt;/A&gt;&amp;nbsp;may also be interesting as it describes how to display the result on the same page.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let me know if you have questions.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Xavier&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 01 Feb 2024 14:04:10 GMT</pubDate>
    <dc:creator>XavierBizoux</dc:creator>
    <dc:date>2024-02-01T14:04:10Z</dc:date>
    <item>
      <title>Not getting expected output from SAS Viya Job Definition</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Not-getting-expected-output-from-SAS-Viya-Job-Definition/m-p/913749#M17794</link>
      <description>&lt;P&gt;Hello Guys,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I Created a SAS Viya Job definition for download excel files of reports, Now I getting he excel file but I also want to show the user what are they downloading.&lt;/P&gt;
&lt;P&gt;I attached the SAS code which I used in this job also the html Form to understanding.&lt;/P&gt;
&lt;P&gt;Also attached the snapshot of Preview of HTML Form.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Deep04_0-1706698847582.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/93095iEDF0ED9C91D5774C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Deep04_0-1706698847582.png" alt="Deep04_0-1706698847582.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2024 11:01:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Not-getting-expected-output-from-SAS-Viya-Job-Definition/m-p/913749#M17794</guid>
      <dc:creator>Deep04</dc:creator>
      <dc:date>2024-01-31T11:01:37Z</dc:date>
    </item>
    <item>
      <title>Re: Not getting expected output from SAS Viya Job Definition</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Not-getting-expected-output-from-SAS-Viya-Job-Definition/m-p/914023#M17799</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I understand properly your question, you are willing to display a preview of the generated file and then allow the user to download what they see as an Excel file.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this is the approach, I would suggest to create an HTML preview of the results using ods html with the webout destination. At the same time you create the HTML version, you can create an Excel file and store it in the SAS File Server. This file may then be downloaded using a button displayed on the HTML version of the results.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can most probably use this &lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/How-to-customize-data-export-in-SAS-Visual-Analytics/ta-p/862880" target="_blank" rel="noopener"&gt;article&lt;/A&gt;&amp;nbsp;as a reference. Most part of the article covers the integration with SAS Visual Analytics, but the job itself is similar in the way it works. This &lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/How-to-display-results-from-a-SAS-Viya-Job-in-the-same-page/ta-p/908154" target="_blank" rel="noopener"&gt;article&lt;/A&gt;&amp;nbsp;may also be interesting as it describes how to display the result on the same page.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let me know if you have questions.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Xavier&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2024 14:04:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Not-getting-expected-output-from-SAS-Viya-Job-Definition/m-p/914023#M17799</guid>
      <dc:creator>XavierBizoux</dc:creator>
      <dc:date>2024-02-01T14:04:10Z</dc:date>
    </item>
  </channel>
</rss>

