<?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: SAS Viya jobs with parameters from both HTML form and URL in SAS Viya</title>
    <link>https://communities.sas.com/t5/SAS-Viya/SAS-Viya-jobs-with-parameters-from-both-HTML-form-and-URL/m-p/968720#M2879</link>
    <description>&lt;P&gt;To add, parameter1 is getting passed to the SAS Viya Job properly through URL parameter value declarations. But when I add an HTML form with parameter 2, only parameter2 gets passed to the SAS Code, and parameter1 resolves as null.&lt;/P&gt;</description>
    <pubDate>Tue, 10 Jun 2025 23:44:20 GMT</pubDate>
    <dc:creator>JAE2019</dc:creator>
    <dc:date>2025-06-10T23:44:20Z</dc:date>
    <item>
      <title>SAS Viya jobs with parameters from both HTML form and URL</title>
      <link>https://communities.sas.com/t5/SAS-Viya/SAS-Viya-jobs-with-parameters-from-both-HTML-form-and-URL/m-p/968719#M2878</link>
      <description>&lt;P&gt;Hi Experts!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I understand SAS Viya Jobs can get input parameter values from the (1) URL:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://documentation.sas.com/doc/en/jobexeccdc/v_004/jobexecug/n0zbw74vpejkqsn1hq1leqlgrrcg.htm" target="_blank" rel="noopener"&gt;https://documentation.sas.com/doc/en/jobexeccdc/v_004/jobexecug/n0zbw74vpejkqsn1hq1leqlgrrcg.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JAE2019_1-1749598277090.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/107742i21EFACCFECC8CF84/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JAE2019_1-1749598277090.png" alt="JAE2019_1-1749598277090.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;or from a (2) prompt/html form:&lt;/P&gt;&lt;P&gt;&lt;A href="https://documentation.sas.com/doc/en/jobexeccdc/v_004/jobexecug/p169gfaxth918ln1c6w5hiqz3ngu.htm" target="_blank" rel="noopener"&gt;https://documentation.sas.com/doc/en/jobexeccdc/v_004/jobexecug/p169gfaxth918ln1c6w5hiqz3ngu.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JAE2019_0-1749598239306.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/107741iE86B101C5C1B8401/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JAE2019_0-1749598239306.png" alt="JAE2019_0-1749598239306.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Is it actually possible to pass parameters to a SAS Viya job first form the URL -&amp;gt; then to the HTML form -&amp;gt; then both set of paramers get passed to the sas code? How can we achieve this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;such that if I call my URL Job from my iframe like this:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" rel="noopener"&gt;https://&amp;lt;domain&amp;gt;/SASJobExecution/?_program=%2FFOLDERNAME%2FJOBNAME&amp;amp;paramter1=value&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the job can recognize the value declared for parameter1, and at the same time, still allow users to select the value for parameter2 (via HTML form).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is because my SAS Viya Job is embedded in an ifram within SAS Visual Investigator where SAS VI passes a parameter1 to the SAS Viya Job. But at the same time, we were hoping to use the HTML form to still allow the users to select a value for parameter2. Then I want to execute the SAS Viya job based on parameter1 and parameter2.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Looking forward to your recommendations! Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jun 2025 23:42:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/SAS-Viya-jobs-with-parameters-from-both-HTML-form-and-URL/m-p/968719#M2878</guid>
      <dc:creator>JAE2019</dc:creator>
      <dc:date>2025-06-10T23:42:17Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Viya jobs with parameters from both HTML form and URL</title>
      <link>https://communities.sas.com/t5/SAS-Viya/SAS-Viya-jobs-with-parameters-from-both-HTML-form-and-URL/m-p/968720#M2879</link>
      <description>&lt;P&gt;To add, parameter1 is getting passed to the SAS Viya Job properly through URL parameter value declarations. But when I add an HTML form with parameter 2, only parameter2 gets passed to the SAS Code, and parameter1 resolves as null.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jun 2025 23:44:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/SAS-Viya-jobs-with-parameters-from-both-HTML-form-and-URL/m-p/968720#M2879</guid>
      <dc:creator>JAE2019</dc:creator>
      <dc:date>2025-06-10T23:44:20Z</dc:date>
    </item>
  </channel>
</rss>

