Hi, 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. Have pasted below code and Task prompt tabs from my job. Log: %put &COMBOREAL.;
ANZ
%put &DATEEXAMPLE;
03Oct2022
%put &FILESELECTOR.;
[object Object] Code: %put &COMBOREAL.; %put &DATEEXAMPLE; %put &FILESELECTOR.; Task Prompt: <?xml version="1.0" encoding="UTF-16"?> <Task schemaVersion="7.2"> <Registration> <Name>DS</Name> <Description>Select the Client file to run default transfers</Description> <Version>5.2</Version> </Registration> <Metadata> <Options> <Option inputType="string" name="GroupCombo">Client</Option> <Option inputType="string" name="LabelCombo">Select the client name:</Option> <Option inputType="combobox" name="Comboreal" defaultvalue="Latitude" required="true"></Option> <Option inputType="string" name="Latitude">Latitude</Option> <Option inputType="string" name="ANZ">ANZ</Option> <Option name="GROUPDATE" inputType="string">Sale Date</Option> <Option name="dateEXAMPLE" inputType="datepicker" required="true" format="monyy7.">Choose a date:</Option> <Option name="GROUPFile" inputType="string">Select a file :</Option> <Option name="fileSelector" inputType="sasserverpath" pathType="file" required="true" > Choose the file to run through the default transfers.</Option> </Options> </Metadata> <UI> <Group open="true" option="GroupCombo"> <OptionItem option="LabelCombo"/> <OptionChoice option="Comboreal"> <OptionItem option="Latitude"/> <OptionItem option="ANZ"/> </OptionChoice> </Group> <Group open="true" option="GROUPDATE"> <OptionItem option="dateEXAMPLE"/> </Group> <Group open="true" option="GROUPFile"> <OptionItem option="fileSelector"/> </Group> </UI> </Task>
... View more