<?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: Publish Hosted Feature Layer without attachments - ArcGIS Online in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/publish-hosted-feature-layer-without-attachments/m-p/1589755#M73808</link>
    <description>&lt;P&gt;Might work to export a copy of the feature layer without attachments, and publish that?&lt;/P&gt;&lt;P&gt;&lt;A href="https://support.esri.com/en-us/knowledge-base/how-to-create-a-copy-of-a-feature-class-without-attachm-000034219" target="_blank"&gt;https://support.esri.com/en-us/knowledge-base/how-to-create-a-copy-of-a-feature-class-without-attachm-000034219&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 26 Feb 2025 20:55:29 GMT</pubDate>
    <dc:creator>BobBooth1</dc:creator>
    <dc:date>2025-02-26T20:55:29Z</dc:date>
    <item>
      <title>Publish Hosted Feature Layer without attachments - ArcGIS Online</title>
      <link>https://community.esri.com/t5/python-questions/publish-hosted-feature-layer-without-attachments/m-p/1589743#M73807</link>
      <description>&lt;P&gt;As the subject states, I'm trying to figure out the best way (if there is one) to publish a new feature layer to ArcGIS Online using Python.&lt;/P&gt;&lt;P&gt;The data is coming from an enterprise geodatabase. The feature class has attachments enabled and the attachments are a ton of photos from inspections.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have the script working for publishing the feature layer with attachments. However, I don't need all of the attachments included for this scenario. When publishing the layer through ArcGIS Pro, I didn't see a setting anywhere that would allow me to not include the attachments.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The script is creating a 10GB service definition due to all of the photos. This is taking a significant amount of time to create, upload into ArcGIS Online, and then publish.&lt;/P&gt;&lt;P&gt;Any help you could provide would be greatly appreciated!&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2025 20:45:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/publish-hosted-feature-layer-without-attachments/m-p/1589743#M73807</guid>
      <dc:creator>mhudson</dc:creator>
      <dc:date>2025-02-26T20:45:41Z</dc:date>
    </item>
    <item>
      <title>Re: Publish Hosted Feature Layer without attachments - ArcGIS Online</title>
      <link>https://community.esri.com/t5/python-questions/publish-hosted-feature-layer-without-attachments/m-p/1589755#M73808</link>
      <description>&lt;P&gt;Might work to export a copy of the feature layer without attachments, and publish that?&lt;/P&gt;&lt;P&gt;&lt;A href="https://support.esri.com/en-us/knowledge-base/how-to-create-a-copy-of-a-feature-class-without-attachm-000034219" target="_blank"&gt;https://support.esri.com/en-us/knowledge-base/how-to-create-a-copy-of-a-feature-class-without-attachm-000034219&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2025 20:55:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/publish-hosted-feature-layer-without-attachments/m-p/1589755#M73808</guid>
      <dc:creator>BobBooth1</dc:creator>
      <dc:date>2025-02-26T20:55:29Z</dc:date>
    </item>
    <item>
      <title>Re: Publish Hosted Feature Layer without attachments - ArcGIS Online</title>
      <link>https://community.esri.com/t5/python-questions/publish-hosted-feature-layer-without-attachments/m-p/1589878#M73816</link>
      <description>&lt;P&gt;This looks promising. I'll use the arcpy.env.maintainAttachments = False in my script while exporting the features to a new feature class. I'll report back and mark it as a solution if I'm successful.&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2025 03:24:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/publish-hosted-feature-layer-without-attachments/m-p/1589878#M73816</guid>
      <dc:creator>mhudson</dc:creator>
      <dc:date>2025-02-27T03:24:06Z</dc:date>
    </item>
    <item>
      <title>Re: Publish Hosted Feature Layer without attachments - ArcGIS Online</title>
      <link>https://community.esri.com/t5/python-questions/publish-hosted-feature-layer-without-attachments/m-p/1590356#M73824</link>
      <description>&lt;P&gt;This will work for our use case! Thank you again for the response.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2025 21:30:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/publish-hosted-feature-layer-without-attachments/m-p/1590356#M73824</guid>
      <dc:creator>mhudson</dc:creator>
      <dc:date>2025-02-27T21:30:17Z</dc:date>
    </item>
  </channel>
</rss>

