<?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 Different hosted feature types when run through notebook and IDE in ArcGIS Notebooks Questions</title>
    <link>https://community.esri.com/t5/arcgis-notebooks-questions/different-hosted-feature-types-when-run-through/m-p/1524071#M887</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Notebooks have some nice features. Maintaining a python environment between users is fantastic, but actually coding in Notebooks is horrible. There is no debug, no breakpoints, no way to visually see the possible variables like in other notebooks. So, I code mostly in PyCharm and then just bring it into a notebook when I know the code will actually work. However, I'm getting different behaviors that are causing changes in the data.&lt;/P&gt;&lt;P&gt;When I put data in a df and then use the .to_featurelayer() function it uploads the data differently based on my environment. When I'm in the IDE it publishes the hosted layer with the data as a GDB and when I run it in Notebooks it publishes the hosted layer as a shapefile. The issue here is that I have a field that is getting deleted in the GDB but not in the shapefile. It doesn't seem like there is a parameter to force it to be a shapefile. Does anyone know how to get around this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;E: I was able to use the sanitize column and the missing column came in which is weird because it didnt have symbols and there are longer field names. Would still be nice to understand the difference between the environments and if that is controllable.&lt;/P&gt;</description>
    <pubDate>Mon, 19 Aug 2024 23:02:34 GMT</pubDate>
    <dc:creator>ChrisCowin_dhs</dc:creator>
    <dc:date>2024-08-19T23:02:34Z</dc:date>
    <item>
      <title>Different hosted feature types when run through notebook and IDE</title>
      <link>https://community.esri.com/t5/arcgis-notebooks-questions/different-hosted-feature-types-when-run-through/m-p/1524071#M887</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Notebooks have some nice features. Maintaining a python environment between users is fantastic, but actually coding in Notebooks is horrible. There is no debug, no breakpoints, no way to visually see the possible variables like in other notebooks. So, I code mostly in PyCharm and then just bring it into a notebook when I know the code will actually work. However, I'm getting different behaviors that are causing changes in the data.&lt;/P&gt;&lt;P&gt;When I put data in a df and then use the .to_featurelayer() function it uploads the data differently based on my environment. When I'm in the IDE it publishes the hosted layer with the data as a GDB and when I run it in Notebooks it publishes the hosted layer as a shapefile. The issue here is that I have a field that is getting deleted in the GDB but not in the shapefile. It doesn't seem like there is a parameter to force it to be a shapefile. Does anyone know how to get around this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;E: I was able to use the sanitize column and the missing column came in which is weird because it didnt have symbols and there are longer field names. Would still be nice to understand the difference between the environments and if that is controllable.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2024 23:02:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-notebooks-questions/different-hosted-feature-types-when-run-through/m-p/1524071#M887</guid>
      <dc:creator>ChrisCowin_dhs</dc:creator>
      <dc:date>2024-08-19T23:02:34Z</dc:date>
    </item>
    <item>
      <title>Re: Different hosted feature types when run through notebook and IDE</title>
      <link>https://community.esri.com/t5/arcgis-notebooks-questions/different-hosted-feature-types-when-run-through/m-p/1548717#M888</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The issue with fgdb not being deleted should be fixed. The reason there is filegeodatabase vs shapefile depends on whether you have arcpy in your environment or not. If you would like for it to be consistent then I would recommend having consistent environments: either use arcpy or use shapely.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2024 15:59:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-notebooks-questions/different-hosted-feature-types-when-run-through/m-p/1548717#M888</guid>
      <dc:creator>NanaeAubry</dc:creator>
      <dc:date>2024-10-15T15:59:14Z</dc:date>
    </item>
    <item>
      <title>Re: Different hosted feature types when run through notebook and IDE</title>
      <link>https://community.esri.com/t5/arcgis-notebooks-questions/different-hosted-feature-types-when-run-through/m-p/1548806#M889</link>
      <description>&lt;P&gt;Oh ok that makes sense, the notebook environment only has the API for Python, thanks for the reply!&lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2024 19:18:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-notebooks-questions/different-hosted-feature-types-when-run-through/m-p/1548806#M889</guid>
      <dc:creator>ChrisCowin_dhs</dc:creator>
      <dc:date>2024-10-15T19:18:06Z</dc:date>
    </item>
  </channel>
</rss>

