<?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 push data from map to arcgis Online in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/push-data-from-map-to-arcgis-online/m-p/1306821#M81645</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp; In arcgis Online we can upload Geojson after logging into ArcGIS Online. Can we do the same thing from JavaScript using any api i.e we click on a button and the data should be pushed in content of ArcGIS online?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Aditya&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 09 Jul 2023 14:35:34 GMT</pubDate>
    <dc:creator>ADITYAKUMAR1</dc:creator>
    <dc:date>2023-07-09T14:35:34Z</dc:date>
    <item>
      <title>push data from map to arcgis Online</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/push-data-from-map-to-arcgis-online/m-p/1306821#M81645</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp; In arcgis Online we can upload Geojson after logging into ArcGIS Online. Can we do the same thing from JavaScript using any api i.e we click on a button and the data should be pushed in content of ArcGIS online?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Aditya&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 09 Jul 2023 14:35:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/push-data-from-map-to-arcgis-online/m-p/1306821#M81645</guid>
      <dc:creator>ADITYAKUMAR1</dc:creator>
      <dc:date>2023-07-09T14:35:34Z</dc:date>
    </item>
    <item>
      <title>Re: push data from map to arcgis Online</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/push-data-from-map-to-arcgis-online/m-p/1306948#M81652</link>
      <description>&lt;P&gt;Are you looking to create a new item in your content?&amp;nbsp; If so, I think you'd need to post a request to the ArcGIS REST API for content managment - specifically the &lt;A href="https://developers.arcgis.com/rest/users-groups-and-items/add-item.htm" target="_self"&gt;addItem&lt;/A&gt; API.&amp;nbsp; You could do this using the &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-request.html" target="_self"&gt;esriRequest&lt;/A&gt; function from the ArcGIS SDK for JavaScript (I'm not aware off-hand of a specific function for this in the SDK).&amp;nbsp; You could also consider the &lt;A href="https://developers.arcgis.com/arcgis-rest-js/api-reference/arcgis-rest-portal/createItem" target="_self"&gt;createItem&lt;/A&gt; method provided by ArcGIS REST JS (a separate library).&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jul 2023 14:42:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/push-data-from-map-to-arcgis-online/m-p/1306948#M81652</guid>
      <dc:creator>mleahy_cl</dc:creator>
      <dc:date>2023-07-10T14:42:35Z</dc:date>
    </item>
  </channel>
</rss>

