<?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: Pass input file path in Alteryx Gallery API in Alteryx Server Discussions</title>
    <link>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Pass-input-file-path-in-Alteryx-Gallery-API/m-p/1241054#M15023</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I think you need to first use this endpoint (POST) -&amp;nbsp; /user/v2/inputfiles/- to&amp;nbsp;&lt;SPAN&gt;publish a temporary file to be used as an input to an Analytic App.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;API Documentation:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Implementation Notes&lt;BR /&gt;Use a MultiPart/Form-Data request to publish a temporary file to be used as an input to an Analytic App. The name of the required form-data section is inputFile.&lt;/P&gt;&lt;P&gt;--FORM-BOUNDARY&lt;BR /&gt;Content-Disposition: form-data; name="inputFile"; filename={fileName}&lt;BR /&gt;Content-Type: {contentType}&lt;BR /&gt;{fileContents}&lt;BR /&gt;--FORM-BOUNDARY&lt;/P&gt;&lt;P&gt;Use the fileId returned as an input parameter in an Analytic App.&lt;/P&gt;&lt;P&gt;Response Class&lt;/P&gt;</description>
    <pubDate>Thu, 15 Feb 2024 14:20:26 GMT</pubDate>
    <dc:creator>TimN</dc:creator>
    <dc:date>2024-02-15T14:20:26Z</dc:date>
    <item>
      <title>Pass input file path in Alteryx Gallery API</title>
      <link>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Pass-input-file-path-in-Alteryx-Gallery-API/m-p/1240591#M15012</link>
      <description>&lt;P&gt;I am using Alteryx Gallery API (POST /v1/workflows/{appId}/jobs) to execute a workflow.&lt;BR /&gt;I am passing the file path as value but I keep getting the error -&amp;nbsp;&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;"The Action \"ToolId:3\" has an error: The file name is empty."&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How should the file path be passed so that it is read by API.&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;Attached image of value that I am passing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2024 11:45:17 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Pass-input-file-path-in-Alteryx-Gallery-API/m-p/1240591#M15012</guid>
      <dc:creator>snigdha25</dc:creator>
      <dc:date>2024-02-14T11:45:17Z</dc:date>
    </item>
    <item>
      <title>Re: Pass input file path in Alteryx Gallery API</title>
      <link>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Pass-input-file-path-in-Alteryx-Gallery-API/m-p/1241054#M15023</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I think you need to first use this endpoint (POST) -&amp;nbsp; /user/v2/inputfiles/- to&amp;nbsp;&lt;SPAN&gt;publish a temporary file to be used as an input to an Analytic App.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;API Documentation:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Implementation Notes&lt;BR /&gt;Use a MultiPart/Form-Data request to publish a temporary file to be used as an input to an Analytic App. The name of the required form-data section is inputFile.&lt;/P&gt;&lt;P&gt;--FORM-BOUNDARY&lt;BR /&gt;Content-Disposition: form-data; name="inputFile"; filename={fileName}&lt;BR /&gt;Content-Type: {contentType}&lt;BR /&gt;{fileContents}&lt;BR /&gt;--FORM-BOUNDARY&lt;/P&gt;&lt;P&gt;Use the fileId returned as an input parameter in an Analytic App.&lt;/P&gt;&lt;P&gt;Response Class&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2024 14:20:26 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Pass-input-file-path-in-Alteryx-Gallery-API/m-p/1241054#M15023</guid>
      <dc:creator>TimN</dc:creator>
      <dc:date>2024-02-15T14:20:26Z</dc:date>
    </item>
    <item>
      <title>Re: Pass input file path in Alteryx Gallery API</title>
      <link>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Pass-input-file-path-in-Alteryx-Gallery-API/m-p/1291621#M15673</link>
      <description>&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;I'm joining this thread to ask you: what exactly should I enter in this form?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;--FORM-BOUNDARY&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Content-Disposition: form-data; name="inputFile"; filename={fileName}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Content-Type: {contentType}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{fileContents}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;--FORM-BOUNDARY&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;fileName is the path of the file I want to upload?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;what are "contentType" and "fileContents" fields?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you very much for your help!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Gilberto&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jul 2024 15:49:56 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Pass-input-file-path-in-Alteryx-Gallery-API/m-p/1291621#M15673</guid>
      <dc:creator>Gilberto92</dc:creator>
      <dc:date>2024-07-04T15:49:56Z</dc:date>
    </item>
  </channel>
</rss>

