<?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>idea Programmatically Create Hosted Feature Service from Scratch or GeoJSON in ArcGIS Online Ideas</title>
    <link>https://community.esri.com/t5/arcgis-online-ideas/programmatically-create-hosted-feature-service/idi-p/934922</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;ArcGIS Online currently offers the ability to publish hosted feature services from zipped shapefiles, service definitions, and even csvs. &amp;nbsp;However, options are a bit limited for developers wanting to create a hosted feature service &amp;nbsp;by other means, without access to traditional GIS data. &amp;nbsp;This is especially true for non-point features (lines, polys).&lt;BR /&gt;&lt;BR /&gt;It would be&amp;nbsp;&lt;SPAN style="font-family: arial,sans-serif; font-size: 9pt;"&gt;advantageous&amp;nbsp;&lt;/SPAN&gt;to offer the ability to generate hosted feature services directly through the API. &amp;nbsp;I see at least two options for this.&lt;BR /&gt;&lt;BR /&gt;One would be to create REST endpoint that could be called to create an empty hosted service (&lt;A href="http://www.arcigs.com/sharing/rest/content/users/johnSmith/createService)"&gt;http://www.arcigs.com/sharing/rest/content/users/johnSmith/createService)&lt;/A&gt; by passing the necessary parameters in the POST:&amp;nbsp;
&lt;DIV style="margin-left: 40px;"&gt;{&lt;/DIV&gt;

&lt;DIV style="margin-left: 40px;"&gt;&amp;nbsp; &amp;nbsp; serviceType: 'feature',&lt;/DIV&gt;

&lt;DIV style="margin-left: 40px;"&gt;&amp;nbsp; &amp;nbsp; geometryType: 'point',&lt;/DIV&gt;

&lt;DIV style="margin-left: 40px;"&gt;&amp;nbsp; &amp;nbsp; name: 'name',&lt;/DIV&gt;

&lt;DIV style="margin-left: 40px;"&gt;&amp;nbsp; &amp;nbsp; alias: 'alias',&lt;/DIV&gt;

&lt;DIV style="margin-left: 40px;"&gt;&amp;nbsp; &amp;nbsp; coordinateSystem: [&amp;lt;coordinateSytstem Object],&lt;/DIV&gt;

&lt;DIV style="margin-left: 40px;"&gt;&amp;nbsp; &amp;nbsp; fields: [&lt;/DIV&gt;

&lt;DIV style="margin-left: 40px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ['name','alias', 'text', '50'],&lt;/DIV&gt;

&lt;DIV style="margin-left: 40px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ['name','alias', 'text', '50'],&lt;/DIV&gt;

&lt;DIV style="margin-left: 40px;"&gt;&amp;nbsp; &amp;nbsp; ]&lt;/DIV&gt;

&lt;DIV style="margin-left: 40px;"&gt;&amp;nbsp; &amp;nbsp; etc...&lt;/DIV&gt;

&lt;DIV style="margin-left: 40px;"&gt;}&lt;/DIV&gt;

&lt;DIV&gt;On success, the server would return the itemId of the service.&lt;BR /&gt;&lt;BR /&gt;The second would be similar to the first, but allow the passing of existing geoJSON in the POST to create hosted services&amp;nbsp;&lt;SPAN style="font-family: arial,sans-serif; font-size: 9pt;"&gt;containing&amp;nbsp;&lt;/SPAN&gt;data.&lt;BR /&gt;&lt;BR /&gt;These operations would help move ArcGIS Online further into the non-traditional GIS development community.&lt;/DIV&gt;

&lt;!-- content transformation source ID: 087E00000004nOU --&gt;

&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Jul 2013 13:52:00 GMT</pubDate>
    <dc:creator>PhilHolleran</dc:creator>
    <dc:date>2013-07-02T13:52:00Z</dc:date>
    <item>
      <title>Programmatically Create Hosted Feature Service from Scratch or GeoJSON</title>
      <link>https://community.esri.com/t5/arcgis-online-ideas/programmatically-create-hosted-feature-service/idi-p/934922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;ArcGIS Online currently offers the ability to publish hosted feature services from zipped shapefiles, service definitions, and even csvs. &amp;nbsp;However, options are a bit limited for developers wanting to create a hosted feature service &amp;nbsp;by other means, without access to traditional GIS data. &amp;nbsp;This is especially true for non-point features (lines, polys).&lt;BR /&gt;&lt;BR /&gt;It would be&amp;nbsp;&lt;SPAN style="font-family: arial,sans-serif; font-size: 9pt;"&gt;advantageous&amp;nbsp;&lt;/SPAN&gt;to offer the ability to generate hosted feature services directly through the API. &amp;nbsp;I see at least two options for this.&lt;BR /&gt;&lt;BR /&gt;One would be to create REST endpoint that could be called to create an empty hosted service (&lt;A href="http://www.arcigs.com/sharing/rest/content/users/johnSmith/createService)"&gt;http://www.arcigs.com/sharing/rest/content/users/johnSmith/createService)&lt;/A&gt; by passing the necessary parameters in the POST:&amp;nbsp;
&lt;DIV style="margin-left: 40px;"&gt;{&lt;/DIV&gt;

&lt;DIV style="margin-left: 40px;"&gt;&amp;nbsp; &amp;nbsp; serviceType: 'feature',&lt;/DIV&gt;

&lt;DIV style="margin-left: 40px;"&gt;&amp;nbsp; &amp;nbsp; geometryType: 'point',&lt;/DIV&gt;

&lt;DIV style="margin-left: 40px;"&gt;&amp;nbsp; &amp;nbsp; name: 'name',&lt;/DIV&gt;

&lt;DIV style="margin-left: 40px;"&gt;&amp;nbsp; &amp;nbsp; alias: 'alias',&lt;/DIV&gt;

&lt;DIV style="margin-left: 40px;"&gt;&amp;nbsp; &amp;nbsp; coordinateSystem: [&amp;lt;coordinateSytstem Object],&lt;/DIV&gt;

&lt;DIV style="margin-left: 40px;"&gt;&amp;nbsp; &amp;nbsp; fields: [&lt;/DIV&gt;

&lt;DIV style="margin-left: 40px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ['name','alias', 'text', '50'],&lt;/DIV&gt;

&lt;DIV style="margin-left: 40px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ['name','alias', 'text', '50'],&lt;/DIV&gt;

&lt;DIV style="margin-left: 40px;"&gt;&amp;nbsp; &amp;nbsp; ]&lt;/DIV&gt;

&lt;DIV style="margin-left: 40px;"&gt;&amp;nbsp; &amp;nbsp; etc...&lt;/DIV&gt;

&lt;DIV style="margin-left: 40px;"&gt;}&lt;/DIV&gt;

&lt;DIV&gt;On success, the server would return the itemId of the service.&lt;BR /&gt;&lt;BR /&gt;The second would be similar to the first, but allow the passing of existing geoJSON in the POST to create hosted services&amp;nbsp;&lt;SPAN style="font-family: arial,sans-serif; font-size: 9pt;"&gt;containing&amp;nbsp;&lt;/SPAN&gt;data.&lt;BR /&gt;&lt;BR /&gt;These operations would help move ArcGIS Online further into the non-traditional GIS development community.&lt;/DIV&gt;

&lt;!-- content transformation source ID: 087E00000004nOU --&gt;

&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jul 2013 13:52:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-ideas/programmatically-create-hosted-feature-service/idi-p/934922</guid>
      <dc:creator>PhilHolleran</dc:creator>
      <dc:date>2013-07-02T13:52:00Z</dc:date>
    </item>
    <item>
      <title>Re: Programmatically Create Hosted Feature Service from Scratch or GeoJSON</title>
      <link>https://community.esri.com/t5/arcgis-online-ideas/programmatically-create-hosted-feature-service/idc-p/934923#M2041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;While it is not done programatically, you can define the database schema on the fly from the UI in developers.arcgis.com.

&lt;!-- content transformation source ID: 00aE00000032CbK --&gt;

&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Sep 2013 05:29:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-ideas/programmatically-create-hosted-feature-service/idc-p/934923#M2041</guid>
      <dc:creator>KellyGerrow</dc:creator>
      <dc:date>2013-09-20T05:29:19Z</dc:date>
    </item>
    <item>
      <title>Re: Programmatically Create Hosted Feature Service from Scratch or GeoJSON - Status changed to: Closed</title>
      <link>https://community.esri.com/t5/arcgis-online-ideas/programmatically-create-hosted-feature-service/idc-p/1644420#M13026</link>
      <description />
      <pubDate>Thu, 21 Aug 2025 19:31:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-ideas/programmatically-create-hosted-feature-service/idc-p/1644420#M13026</guid>
      <dc:creator>ScottBall</dc:creator>
      <dc:date>2025-08-21T19:31:19Z</dc:date>
    </item>
  </channel>
</rss>

