<?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 SAS Viya Job with Task Prompt - Unable to read serverpath in SAS Studio</title>
    <link>https://communities.sas.com/t5/SAS-Studio/SAS-Viya-Job-with-Task-Prompt-Unable-to-read-serverpath/m-p/838896#M10586</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to write my first SAS Viya job with task prompts. I have added three elements : Combobox, datepicker and a fileselector. I can correctly read the values for combobox and datepicker, however fileselector is somehow not giving me the expected results.&lt;/P&gt;&lt;P&gt;Have pasted below code and Task prompt tabs from my job.&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Log:&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;PRE&gt;%put &amp;amp;COMBOREAL.;
ANZ
%put &amp;amp;DATEEXAMPLE;
03Oct2022
%put &amp;amp;FILESELECTOR.;
[object Object]&lt;/PRE&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Code:&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;%put &amp;amp;COMBOREAL.;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;%put &amp;amp;DATEEXAMPLE;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;%put &amp;amp;FILESELECTOR.;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;Task Prompt:&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;&amp;lt;?xml version="1.0" encoding="UTF-16"?&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;&amp;lt;Task schemaVersion="7.2"&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;&amp;lt;Registration&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;&amp;lt;Name&amp;gt;DS&amp;lt;/Name&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;&amp;lt;Description&amp;gt;Select the Client file to run default transfers&amp;lt;/Description&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;&amp;lt;Version&amp;gt;5.2&amp;lt;/Version&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;&amp;lt;/Registration&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;&amp;lt;Metadata&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;&amp;lt;Options&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;&amp;lt;Option inputType="string" name="GroupCombo"&amp;gt;Client&amp;lt;/Option&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;&amp;lt;Option inputType="string" name="LabelCombo"&amp;gt;Select the client name:&amp;lt;/Option&amp;gt; &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;&amp;lt;Option inputType="combobox" name="Comboreal" defaultvalue="Latitude" required="true"&amp;gt;&amp;lt;/Option&amp;gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;&amp;lt;Option inputType="string" name="Latitude"&amp;gt;Latitude&amp;lt;/Option&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;&amp;lt;Option inputType="string" name="ANZ"&amp;gt;ANZ&amp;lt;/Option&amp;gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;&amp;lt;Option name="GROUPDATE" inputType="string"&amp;gt;Sale Date&amp;lt;/Option&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;&amp;lt;Option name="dateEXAMPLE" inputType="datepicker" required="true"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;format="monyy7."&amp;gt;Choose a date:&amp;lt;/Option&amp;gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;&amp;lt;Option name="GROUPFile" inputType="string"&amp;gt;Select a file :&amp;lt;/Option&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;&amp;lt;Option name="fileSelector" inputType="sasserverpath"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;pathType="file" required="true" &amp;gt; Choose the file to run through the default transfers.&amp;lt;/Option&amp;gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;&amp;lt;/Options&amp;gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;&amp;lt;/Metadata&amp;gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;&amp;lt;UI&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;&amp;lt;Group open="true" option="GroupCombo"&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;&amp;lt;OptionItem option="LabelCombo"/&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;&amp;lt;OptionChoice option="Comboreal"&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;&amp;lt;OptionItem option="Latitude"/&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;&amp;lt;OptionItem option="ANZ"/&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;&amp;lt;/OptionChoice&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;&amp;lt;/Group&amp;gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;&amp;lt;Group open="true" option="GROUPDATE"&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;&amp;lt;OptionItem option="dateEXAMPLE"/&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;&amp;lt;/Group&amp;gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;&amp;lt;Group open="true" option="GROUPFile"&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;&amp;lt;OptionItem option="fileSelector"/&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;&amp;lt;/Group&amp;gt; &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;&amp;lt;/UI&amp;gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;&amp;lt;/Task&amp;gt;&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 17 Oct 2022 04:59:47 GMT</pubDate>
    <dc:creator>Balli</dc:creator>
    <dc:date>2022-10-17T04:59:47Z</dc:date>
    <item>
      <title>SAS Viya Job with Task Prompt - Unable to read serverpath</title>
      <link>https://communities.sas.com/t5/SAS-Studio/SAS-Viya-Job-with-Task-Prompt-Unable-to-read-serverpath/m-p/838896#M10586</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to write my first SAS Viya job with task prompts. I have added three elements : Combobox, datepicker and a fileselector. I can correctly read the values for combobox and datepicker, however fileselector is somehow not giving me the expected results.&lt;/P&gt;&lt;P&gt;Have pasted below code and Task prompt tabs from my job.&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Log:&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;PRE&gt;%put &amp;amp;COMBOREAL.;
ANZ
%put &amp;amp;DATEEXAMPLE;
03Oct2022
%put &amp;amp;FILESELECTOR.;
[object Object]&lt;/PRE&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Code:&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;%put &amp;amp;COMBOREAL.;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;%put &amp;amp;DATEEXAMPLE;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;%put &amp;amp;FILESELECTOR.;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;Task Prompt:&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;&amp;lt;?xml version="1.0" encoding="UTF-16"?&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;&amp;lt;Task schemaVersion="7.2"&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;&amp;lt;Registration&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;&amp;lt;Name&amp;gt;DS&amp;lt;/Name&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;&amp;lt;Description&amp;gt;Select the Client file to run default transfers&amp;lt;/Description&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;&amp;lt;Version&amp;gt;5.2&amp;lt;/Version&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;&amp;lt;/Registration&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;&amp;lt;Metadata&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;&amp;lt;Options&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;&amp;lt;Option inputType="string" name="GroupCombo"&amp;gt;Client&amp;lt;/Option&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;&amp;lt;Option inputType="string" name="LabelCombo"&amp;gt;Select the client name:&amp;lt;/Option&amp;gt; &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;&amp;lt;Option inputType="combobox" name="Comboreal" defaultvalue="Latitude" required="true"&amp;gt;&amp;lt;/Option&amp;gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;&amp;lt;Option inputType="string" name="Latitude"&amp;gt;Latitude&amp;lt;/Option&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;&amp;lt;Option inputType="string" name="ANZ"&amp;gt;ANZ&amp;lt;/Option&amp;gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;&amp;lt;Option name="GROUPDATE" inputType="string"&amp;gt;Sale Date&amp;lt;/Option&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;&amp;lt;Option name="dateEXAMPLE" inputType="datepicker" required="true"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;format="monyy7."&amp;gt;Choose a date:&amp;lt;/Option&amp;gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;&amp;lt;Option name="GROUPFile" inputType="string"&amp;gt;Select a file :&amp;lt;/Option&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;&amp;lt;Option name="fileSelector" inputType="sasserverpath"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;pathType="file" required="true" &amp;gt; Choose the file to run through the default transfers.&amp;lt;/Option&amp;gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;&amp;lt;/Options&amp;gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;&amp;lt;/Metadata&amp;gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;&amp;lt;UI&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;&amp;lt;Group open="true" option="GroupCombo"&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;&amp;lt;OptionItem option="LabelCombo"/&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;&amp;lt;OptionChoice option="Comboreal"&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;&amp;lt;OptionItem option="Latitude"/&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;&amp;lt;OptionItem option="ANZ"/&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;&amp;lt;/OptionChoice&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;&amp;lt;/Group&amp;gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;&amp;lt;Group open="true" option="GROUPDATE"&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;&amp;lt;OptionItem option="dateEXAMPLE"/&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;&amp;lt;/Group&amp;gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;&amp;lt;Group open="true" option="GROUPFile"&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;&amp;lt;OptionItem option="fileSelector"/&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;&amp;lt;/Group&amp;gt; &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;&amp;lt;/UI&amp;gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;&amp;lt;/Task&amp;gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Oct 2022 04:59:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/SAS-Viya-Job-with-Task-Prompt-Unable-to-read-serverpath/m-p/838896#M10586</guid>
      <dc:creator>Balli</dc:creator>
      <dc:date>2022-10-17T04:59:47Z</dc:date>
    </item>
  </channel>
</rss>

