<?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: Upload csv to portal in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/upload-csv-to-portal/m-p/1577619#M12517</link>
    <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/31757"&gt;@MK&lt;/a&gt;&lt;/P&gt;&lt;P&gt;Can you please explain a little more? You have custom data in a csv?&lt;/P&gt;</description>
    <pubDate>Tue, 21 Jan 2025 22:15:55 GMT</pubDate>
    <dc:creator>UmaHarano</dc:creator>
    <dc:date>2025-01-21T22:15:55Z</dc:date>
    <item>
      <title>Upload csv to portal</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/upload-csv-to-portal/m-p/1577312#M12512</link>
      <description>&lt;P&gt;Is it possible to upload a csv file to portal or create a feature service using the pro sdk? I couldn't find any samples in the documentation.&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/145101"&gt;@CharlesMacleod&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/9021"&gt;@UmaHarano&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/12882"&gt;@Wolf&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2025 00:22:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/upload-csv-to-portal/m-p/1577312#M12512</guid>
      <dc:creator>MK13</dc:creator>
      <dc:date>2025-01-21T00:22:28Z</dc:date>
    </item>
    <item>
      <title>Re: Upload csv to portal</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/upload-csv-to-portal/m-p/1577619#M12517</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/31757"&gt;@MK&lt;/a&gt;&lt;/P&gt;&lt;P&gt;Can you please explain a little more? You have custom data in a csv?&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2025 22:15:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/upload-csv-to-portal/m-p/1577619#M12517</guid>
      <dc:creator>UmaHarano</dc:creator>
      <dc:date>2025-01-21T22:15:55Z</dc:date>
    </item>
    <item>
      <title>Re: Upload csv to portal</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/upload-csv-to-portal/m-p/1577670#M12520</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/9021"&gt;@UmaHarano&lt;/a&gt;&amp;nbsp;yes. I have custom data that I generate in a pro sdk addin that I would like to save to ArcGIS Portal either as a csv file or a feature service.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jan 2025 01:45:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/upload-csv-to-portal/m-p/1577670#M12520</guid>
      <dc:creator>MK13</dc:creator>
      <dc:date>2025-01-22T01:45:30Z</dc:date>
    </item>
    <item>
      <title>Re: Upload csv to portal</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/upload-csv-to-portal/m-p/1577873#M12522</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/668647"&gt;@MK13&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you might already know, a plugin data cannot be shared as a web layer.&lt;/P&gt;&lt;P&gt;But, a csv file can be shared to an ArcGIS Enterprise portal- Here is a document that lists all the supported items on an&amp;nbsp; ArcGIS Enterprise portal:&lt;BR /&gt;&lt;A title="Content you can add in the ArcGIS Enterprise portal" href="https://enterprise.arcgis.com/en/portal/latest/use/supported-items.htm" target="_blank" rel="noopener"&gt;Content you can add in the ArcGIS Enterprise portal&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jan 2025 17:55:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/upload-csv-to-portal/m-p/1577873#M12522</guid>
      <dc:creator>UmaHarano</dc:creator>
      <dc:date>2025-01-22T17:55:04Z</dc:date>
    </item>
    <item>
      <title>Re: Upload csv to portal</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/upload-csv-to-portal/m-p/1577922#M12523</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/9021"&gt;@UmaHarano&lt;/a&gt;&amp;nbsp;do you have some example code to share a csv file to portal using the pro sdk?&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jan 2025 19:20:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/upload-csv-to-portal/m-p/1577922#M12523</guid>
      <dc:creator>MK13</dc:creator>
      <dc:date>2025-01-22T19:20:18Z</dc:date>
    </item>
    <item>
      <title>Re: Upload csv to portal</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/upload-csv-to-portal/m-p/1577977#M12524</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/668647"&gt;@MK13&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You will have to use EsriHttpClient to upload the csv file. I don't have a code snippet for it yet - will try and share some code in the next couple days.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jan 2025 21:14:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/upload-csv-to-portal/m-p/1577977#M12524</guid>
      <dc:creator>UmaHarano</dc:creator>
      <dc:date>2025-01-22T21:14:13Z</dc:date>
    </item>
    <item>
      <title>Re: Upload csv to portal</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/upload-csv-to-portal/m-p/1579548#M12542</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/9021"&gt;@UmaHarano&lt;/a&gt;&amp;nbsp;, have you had a chance to find a code snippet for an upload to portal? The documentation has lots of examples for get requests but no post examples.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2025 15:40:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/upload-csv-to-portal/m-p/1579548#M12542</guid>
      <dc:creator>MK13</dc:creator>
      <dc:date>2025-01-28T15:40:09Z</dc:date>
    </item>
    <item>
      <title>Re: Upload csv to portal</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/upload-csv-to-portal/m-p/1579634#M12546</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/668647"&gt;@MK13&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is a code snippet - I will add this to our docs too for posterity.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;// Create EsriHttpClient object
   var httpClient = new EsriHttpClient();
 
   // Upload CSV file to ArcGIS Online
   var itemToUpload = ItemFactory.Instance.Create(@"C:\Data\AddToMapCustomItem\AlaskaCitiesXY.csv");
   string[] tags = new string[] { "ArcGIS Pro", "SDK", "Internal Demo" };
   UploadDefinition uploadDefinition = new UploadDefinition(
     ArcGISPortalManager.Current.GetActivePortal().PortalUri.ToString(),
     itemToUpload,
     tags
     );
   var result = httpClient.Upload(uploadDefinition);
 
   if (result.Item1 == false)
     return;
 
   Thread.Sleep(2000);&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 28 Jan 2025 18:31:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/upload-csv-to-portal/m-p/1579634#M12546</guid>
      <dc:creator>UmaHarano</dc:creator>
      <dc:date>2025-01-28T18:31:39Z</dc:date>
    </item>
    <item>
      <title>Re: Upload csv to portal</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/upload-csv-to-portal/m-p/1579827#M12553</link>
      <description>&lt;P&gt;Works perfectly. Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2025 04:09:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/upload-csv-to-portal/m-p/1579827#M12553</guid>
      <dc:creator>MK13</dc:creator>
      <dc:date>2025-01-29T04:09:54Z</dc:date>
    </item>
  </channel>
</rss>

