<?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 Proper way to pass gpDataFile when uploading from REST endpoint in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/proper-way-to-pass-gpdatafile-when-uploading-from/m-p/50505#M1834</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Alright all&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hopefully, a helpful point in the right way would be helpful for my issue I am having. I am trying to port a desktop script I wrote to ArcGIS server 10.1. And I am MUCH more experienced in the desktop end of things then the server end. This translates to I should know the answer for this???&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So I wrote a script which ingests a file format does some conversions, manipulations, calculations and kicks out a feature class (for now). And it works totally fine (on desktop). I then export it to server and map it via toolbox, access it from various other ArcGIS Desktop machines (10 &amp;amp; 10.1) and it works fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The end user will not have ArcGIS Desktop, they will be accessing this via other processes (specifically the rest endpoint). The rest endpoint accepts a single input for the file, as well as a couple of value lists. I can get the process working if I manually upload first and then pass it {"itemID" : "&amp;lt;itemID&amp;gt;" }&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Which brings me to my question.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;Is there any other way I can get it to work by it's the other format for a flat file that is located locally.&amp;nbsp; Something along the lines of ??? { "url" : "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://myserver/myfile" rel="nofollow" target="_blank"&gt;http://myserver/myfile&lt;/A&gt;&lt;SPAN&gt;" }. Please bear in mind I realize I realize it???s not a website or a URL. I just would ???ideally??? like to use a format like this and only have to feed the data once.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-e&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Jul 2013 16:46:20 GMT</pubDate>
    <dc:creator>EricFinnen</dc:creator>
    <dc:date>2013-07-11T16:46:20Z</dc:date>
    <item>
      <title>Proper way to pass gpDataFile when uploading from REST endpoint</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/proper-way-to-pass-gpdatafile-when-uploading-from/m-p/50505#M1834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Alright all&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hopefully, a helpful point in the right way would be helpful for my issue I am having. I am trying to port a desktop script I wrote to ArcGIS server 10.1. And I am MUCH more experienced in the desktop end of things then the server end. This translates to I should know the answer for this???&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So I wrote a script which ingests a file format does some conversions, manipulations, calculations and kicks out a feature class (for now). And it works totally fine (on desktop). I then export it to server and map it via toolbox, access it from various other ArcGIS Desktop machines (10 &amp;amp; 10.1) and it works fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The end user will not have ArcGIS Desktop, they will be accessing this via other processes (specifically the rest endpoint). The rest endpoint accepts a single input for the file, as well as a couple of value lists. I can get the process working if I manually upload first and then pass it {"itemID" : "&amp;lt;itemID&amp;gt;" }&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Which brings me to my question.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;Is there any other way I can get it to work by it's the other format for a flat file that is located locally.&amp;nbsp; Something along the lines of ??? { "url" : "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://myserver/myfile" rel="nofollow" target="_blank"&gt;http://myserver/myfile&lt;/A&gt;&lt;SPAN&gt;" }. Please bear in mind I realize I realize it???s not a website or a URL. I just would ???ideally??? like to use a format like this and only have to feed the data once.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-e&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jul 2013 16:46:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/proper-way-to-pass-gpdatafile-when-uploading-from/m-p/50505#M1834</guid>
      <dc:creator>EricFinnen</dc:creator>
      <dc:date>2013-07-11T16:46:20Z</dc:date>
    </item>
  </channel>
</rss>

