<?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: Enterprise Sites using the 'sites' property of the 'GIS' object in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/enterprise-sites-using-the-sites-property-of-the/m-p/1368644#M9510</link>
    <description>&lt;P&gt;Have you seen this page?&amp;nbsp;&lt;A href="https://www.esri.com/arcgis-blog/products/arcgis-hub/announcements/introducing-arcgis-hub-python-api-for-sites/" target="_blank"&gt;Introducing ArcGIS Hub Python API for Sites (esri.com)&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 10 Jan 2024 21:36:12 GMT</pubDate>
    <dc:creator>Dan_Brumm</dc:creator>
    <dc:date>2024-01-10T21:36:12Z</dc:date>
    <item>
      <title>Enterprise Sites using the 'sites' property of the 'GIS' object</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/enterprise-sites-using-the-sites-property-of-the/m-p/1368149#M9502</link>
      <description>&lt;P&gt;Hi folks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This ESRI documentation &lt;A href="https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdevelopers.arcgis.com%2Fpython%2Fguide%2Fenterprise-sites-guide%2F&amp;amp;data=05%7C02%7Cacoughlin%40escondido.org%7C1c0bb5a2491346aad06508dc11562dee%7C8e41b8d015184553bd972cb8cf030ee4%7C0%7C0%7C638404309069278118%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C7000%7C%7C%7C&amp;amp;sdata=9ROckrzIHrtXR2ZHlMdFytv3%2BN0K64wOKveynfGH9m4%3D&amp;amp;reserved=0" target="_blank"&gt;page&lt;/A&gt; states “We can work with Enterprise Sites using the &lt;STRONG&gt;sites&lt;/STRONG&gt; property of the &lt;STRONG&gt;GIS&lt;/STRONG&gt; object”.&lt;/P&gt;&lt;P&gt;Specifically, I’m trying to create a site using the API – here’s the code from that page.&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;portal_site = gis_portal.sites.add(&lt;SPAN&gt;'Portal Python Site'&lt;/SPAN&gt;, subdomain=&lt;SPAN&gt;'site-in-python-new'&lt;/SPAN&gt;)&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;However, I’m getting the error:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;AttributeError: 'GIS' object has no attribute 'sites'&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I’ve cloned my python environment and updated all modules…, but still no success.&lt;/P&gt;&lt;P&gt;I’m doing this from Pro 10.9.1 to ArcGIS Enterprise 10.9.1.&lt;/P&gt;&lt;P&gt;I’d love to learn why this isn’t working.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;EM&gt;HAPPY NEW YEAR!!!&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jan 2024 22:04:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/enterprise-sites-using-the-sites-property-of-the/m-p/1368149#M9502</guid>
      <dc:creator>AbeCoughlin</dc:creator>
      <dc:date>2024-01-09T22:04:16Z</dc:date>
    </item>
    <item>
      <title>Re: Enterprise Sites using the 'sites' property of the 'GIS' object</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/enterprise-sites-using-the-sites-property-of-the/m-p/1368644#M9510</link>
      <description>&lt;P&gt;Have you seen this page?&amp;nbsp;&lt;A href="https://www.esri.com/arcgis-blog/products/arcgis-hub/announcements/introducing-arcgis-hub-python-api-for-sites/" target="_blank"&gt;Introducing ArcGIS Hub Python API for Sites (esri.com)&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jan 2024 21:36:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/enterprise-sites-using-the-sites-property-of-the/m-p/1368644#M9510</guid>
      <dc:creator>Dan_Brumm</dc:creator>
      <dc:date>2024-01-10T21:36:12Z</dc:date>
    </item>
    <item>
      <title>Re: Enterprise Sites using the 'sites' property of the 'GIS' object</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/enterprise-sites-using-the-sites-property-of-the/m-p/1368656#M9511</link>
      <description>I think in passing, ages ago, but whenever I searched online for documentation etc it never showed up!&lt;BR /&gt;Thanks! I'll jump into this later today and advise how it goes!&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 10 Jan 2024 21:52:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/enterprise-sites-using-the-sites-property-of-the/m-p/1368656#M9511</guid>
      <dc:creator>AbeCoughlin</dc:creator>
      <dc:date>2024-01-10T21:52:56Z</dc:date>
    </item>
  </channel>
</rss>

