<?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: Update a table in ArcGIS Online Open Data in ArcGIS Hub Questions</title>
    <link>https://community.esri.com/t5/arcgis-hub-questions/update-a-table-in-arcgis-online-open-data/m-p/638536#M3229</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah yes, that bug with the CSV explains my missing records. I've since published my table as part of a feature service since I found out FME 2016 will have the ability to write to hosted tables in ArcGIS Online in the same way it can write to feature services.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2015 14:59:16 GMT</pubDate>
    <dc:creator>WarrenDavison</dc:creator>
    <dc:date>2015-11-25T14:59:16Z</dc:date>
    <item>
      <title>Update a table in ArcGIS Online Open Data</title>
      <link>https://community.esri.com/t5/arcgis-hub-questions/update-a-table-in-arcgis-online-open-data/m-p/638528#M3221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi There,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd like to be be able to routinely update a table that I have published to my ArcGIS Open Data site. Has anyone implemented something like this? I've been creating it as a CSV and replacing it on our web server using a script but my Open Data site only references an external download. So users are unable to query and filter the data. Has anyone been able to update a table in a way that users can still interact with it as a feature service?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Warren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Sep 2015 17:08:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-hub-questions/update-a-table-in-arcgis-online-open-data/m-p/638528#M3221</guid>
      <dc:creator>WarrenDavison</dc:creator>
      <dc:date>2015-09-21T17:08:18Z</dc:date>
    </item>
    <item>
      <title>Re: Update a table in ArcGIS Online Open Data</title>
      <link>https://community.esri.com/t5/arcgis-hub-questions/update-a-table-in-arcgis-online-open-data/m-p/638529#M3222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi There,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I haven't found a solution to this yet... I briefly talked to &lt;A href="https://community.esri.com/migrated-users/44083"&gt;Daniel Fenton&lt;/A&gt;​ and &lt;A href="https://community.esri.com/migrated-users/43773"&gt;Courtney Claessens&lt;/A&gt;​ about this in Sand Diego this year, any chance you guys have some thoughts?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Oct 2015 18:47:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-hub-questions/update-a-table-in-arcgis-online-open-data/m-p/638529#M3222</guid>
      <dc:creator>WarrenDavison</dc:creator>
      <dc:date>2015-10-09T18:47:53Z</dc:date>
    </item>
    <item>
      <title>Re: Update a table in ArcGIS Online Open Data</title>
      <link>https://community.esri.com/t5/arcgis-hub-questions/update-a-table-in-arcgis-online-open-data/m-p/638530#M3223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Warren, have you tried uploading that CSV directly to ArcGIS Online then replacing that CSV item?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Nov 2015 18:24:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-hub-questions/update-a-table-in-arcgis-online-open-data/m-p/638530#M3223</guid>
      <dc:creator>DanielFenton1</dc:creator>
      <dc:date>2015-11-11T18:24:03Z</dc:date>
    </item>
    <item>
      <title>Re: Update a table in ArcGIS Online Open Data</title>
      <link>https://community.esri.com/t5/arcgis-hub-questions/update-a-table-in-arcgis-online-open-data/m-p/638531#M3224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/44083"&gt;Daniel Fenton&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have indeed uploaded a table as a CSV directly ArcGIS Online and I recognize that I can replace this item in order to update it with an updated source file. However, much of our data is sensor data or data that we would like to keep up to date on a daily basis. Therefore, my goal with this post was to seek out alternatives to would allow us to keep our data near real time without manually updating this information as it would be very labour intensive.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With all of our other open data that has a spatial context we've been using FME to publish directly to the ArcGIS Online feature service. Ideally I would like to be able to do something very similar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I did upload my CSV to ArcGIS Online I had it create a hosted table as well, would it not be possible to interact with the hosted table since it seems to have all the features of a feature service when I view the REST endpoint?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I appreciate your suggestions,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Warren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Nov 2015 19:26:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-hub-questions/update-a-table-in-arcgis-online-open-data/m-p/638531#M3224</guid>
      <dc:creator>WarrenDavison</dc:creator>
      <dc:date>2015-11-12T19:26:30Z</dc:date>
    </item>
    <item>
      <title>Re: Update a table in ArcGIS Online Open Data</title>
      <link>https://community.esri.com/t5/arcgis-hub-questions/update-a-table-in-arcgis-online-open-data/m-p/638532#M3225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Warren, a couple thoughts here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. You can script uploads of that CSV. The best way to see how that works is to Open dev tools in your browser and visit the CSV Item page in ArcGIS Online. Then hit the upload button and replace the csv while watching the API calls your browser makes in the network activity tab. Here's the relevant documentation for that. &lt;A href="http://resources.arcgis.com/EN/HELP/ARCGIS-REST-API/index.html#/Update_Features/02r3000000zt000000/" title="http://resources.arcgis.com/EN/HELP/ARCGIS-REST-API/index.html#/Update_Features/02r3000000zt000000/"&gt;http://resources.arcgis.com/EN/HELP/ARCGIS-REST-API/index.html#/Update_Features/02r3000000zt000000/&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. The other way you can go is adding the features to a hosted service. You can do that programmatically as well. Each time your underlying data updates, you can update the features in place, or delete all the features and upload over them. You can do all this while maintaining the same service. Here's the docs for that: &lt;A href="http://resources.arcgis.com/EN/HELP/ARCGIS-REST-API/index.html#/Update_Features/02r3000000zt000000/" title="http://resources.arcgis.com/EN/HELP/ARCGIS-REST-API/index.html#/Update_Features/02r3000000zt000000/"&gt;http://resources.arcgis.com/EN/HELP/ARCGIS-REST-API/index.html#/Update_Features/02r3000000zt000000/&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If neither of these ways work, I've got a few other ideas for you, but they're going to be more difficult and less supported.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know what you think.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2015 14:39:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-hub-questions/update-a-table-in-arcgis-online-open-data/m-p/638532#M3225</guid>
      <dc:creator>DanielFenton1</dc:creator>
      <dc:date>2015-11-16T14:39:05Z</dc:date>
    </item>
    <item>
      <title>Re: Update a table in ArcGIS Online Open Data</title>
      <link>https://community.esri.com/t5/arcgis-hub-questions/update-a-table-in-arcgis-online-open-data/m-p/638533#M3226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As &lt;A href="https://community.esri.com/migrated-users/44083"&gt;Daniel Fenton&lt;/A&gt;​ said, the `&lt;A href="http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#/Apply_Edits_Feature_Service_Layer/02r3000000r6000000/"&gt;applyEdits&lt;/A&gt;` REST API call would be very useful here. Here is a &lt;A href="https://github.com/Esri/ArcREST/blob/master/samples/adds_rows_to_service.py"&gt;Python ArcREST example&lt;/A&gt;​. There are also Javascript, Ruby and probably a few other examples that may be useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2015 14:50:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-hub-questions/update-a-table-in-arcgis-online-open-data/m-p/638533#M3226</guid>
      <dc:creator>AndrewTurner</dc:creator>
      <dc:date>2015-11-16T14:50:05Z</dc:date>
    </item>
    <item>
      <title>Re: Update a table in ArcGIS Online Open Data</title>
      <link>https://community.esri.com/t5/arcgis-hub-questions/update-a-table-in-arcgis-online-open-data/m-p/638534#M3227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks &lt;A href="https://community.esri.com/migrated-users/44083"&gt;Daniel Fenton&lt;/A&gt;​ and &lt;A href="https://community.esri.com/migrated-users/17517"&gt;Andrew Turner&lt;/A&gt;​,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will give the ArcGIS REST API a shot, I've been using FME to upload our open data so I think I should be able to put it together with an http call.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll update this post when I make some progress.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On a somewhat related note, any chance either of you can explain why my CSV in ArcGIS Online seems to be missing records from the original that I uploaded?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Warren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2015 17:40:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-hub-questions/update-a-table-in-arcgis-online-open-data/m-p/638534#M3227</guid>
      <dc:creator>WarrenDavison</dc:creator>
      <dc:date>2015-11-16T17:40:51Z</dc:date>
    </item>
    <item>
      <title>Re: Update a table in ArcGIS Online Open Data</title>
      <link>https://community.esri.com/t5/arcgis-hub-questions/update-a-table-in-arcgis-online-open-data/m-p/638535#M3228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One idea, there is an existing bug about: &lt;/P&gt;&lt;P&gt;ArcGIS Online looks at the first 10 fields to determine whether an attribute is string or numeric. Any rows after that where the field contains a different type than was determined will be thrown out. The resolution is to make sure there are some string fields within the top 10 rows when updating the csv.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does that help?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Nov 2015 17:03:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-hub-questions/update-a-table-in-arcgis-online-open-data/m-p/638535#M3228</guid>
      <dc:creator>DanielFenton1</dc:creator>
      <dc:date>2015-11-24T17:03:40Z</dc:date>
    </item>
    <item>
      <title>Re: Update a table in ArcGIS Online Open Data</title>
      <link>https://community.esri.com/t5/arcgis-hub-questions/update-a-table-in-arcgis-online-open-data/m-p/638536#M3229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah yes, that bug with the CSV explains my missing records. I've since published my table as part of a feature service since I found out FME 2016 will have the ability to write to hosted tables in ArcGIS Online in the same way it can write to feature services.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2015 14:59:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-hub-questions/update-a-table-in-arcgis-online-open-data/m-p/638536#M3229</guid>
      <dc:creator>WarrenDavison</dc:creator>
      <dc:date>2015-11-25T14:59:16Z</dc:date>
    </item>
  </channel>
</rss>

