<?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: Check to see if feature is hosted in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/check-to-see-if-feature-is-hosted/m-p/1144831#M63792</link>
    <description>&lt;P&gt;If you do a Describe on the feature class, a hosted feature catalog path should start with 'https'.&lt;/P&gt;&lt;LI-CODE lang="python"&gt;fc = 'https://services2.arcgis.com/dJOijx2lWTlGQBDJ/arcgis/rest/services/CW_3872/FeatureServer'

arcpy.Describe(fc).catalogPath
'https://services2.arcgis.com/dJOijx2lWTlGQBDJ/arcgis/rest/services/CW_3872/FeatureServer'&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 16 Feb 2022 19:38:52 GMT</pubDate>
    <dc:creator>DonMorrison1</dc:creator>
    <dc:date>2022-02-16T19:38:52Z</dc:date>
    <item>
      <title>Check to see if feature is hosted</title>
      <link>https://community.esri.com/t5/python-questions/check-to-see-if-feature-is-hosted/m-p/1144806#M63791</link>
      <description>&lt;P&gt;Hi all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a quick question this time:&lt;/P&gt;&lt;P&gt;How can you check if something is a hosted feature using python?&lt;/P&gt;&lt;P&gt;Use case: my script only works on local Feature Classes, and will throw an error if you use a hosted feature.&amp;nbsp;I would like to check that it's not hosted so it can be skipped if it is hosted.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 16 Feb 2022 19:06:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/check-to-see-if-feature-is-hosted/m-p/1144806#M63791</guid>
      <dc:creator>AlfredBaldenweck</dc:creator>
      <dc:date>2022-02-16T19:06:50Z</dc:date>
    </item>
    <item>
      <title>Re: Check to see if feature is hosted</title>
      <link>https://community.esri.com/t5/python-questions/check-to-see-if-feature-is-hosted/m-p/1144831#M63792</link>
      <description>&lt;P&gt;If you do a Describe on the feature class, a hosted feature catalog path should start with 'https'.&lt;/P&gt;&lt;LI-CODE lang="python"&gt;fc = 'https://services2.arcgis.com/dJOijx2lWTlGQBDJ/arcgis/rest/services/CW_3872/FeatureServer'

arcpy.Describe(fc).catalogPath
'https://services2.arcgis.com/dJOijx2lWTlGQBDJ/arcgis/rest/services/CW_3872/FeatureServer'&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Feb 2022 19:38:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/check-to-see-if-feature-is-hosted/m-p/1144831#M63792</guid>
      <dc:creator>DonMorrison1</dc:creator>
      <dc:date>2022-02-16T19:38:52Z</dc:date>
    </item>
  </channel>
</rss>

