<?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 EXB .zip creates Draft, Not Published in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/exb-zip-creates-draft-not-published/m-p/1522951#M10436</link>
    <description>&lt;P&gt;I used a&amp;nbsp;&amp;nbsp;file = gis.content.add() example to add a EXB.zip to AGOL.&lt;BR /&gt;The script worked, but I needed to Publish the EXB App.&lt;BR /&gt;&lt;BR /&gt;I am only getting a Draft now, not a Published EXB App.&lt;BR /&gt;I cannot work out why, any suggestions would be appreciated.&lt;BR /&gt;I cannot do Save or Publish??&lt;BR /&gt;&lt;BR /&gt;The code is:&lt;BR /&gt;&lt;BR /&gt;### Data&lt;/P&gt;&lt;P&gt;layers=r"C:\EXB\v3.zip"&lt;/P&gt;&lt;P&gt;### XEB.zip to AGOL&lt;BR /&gt;file = gis.content.add(&lt;BR /&gt;item_properties={"type": "Web Experience", "title": "v3",&lt;BR /&gt;"description": "v3 Layers", "tags": "v3 Layers",&lt;BR /&gt;},&lt;BR /&gt;data=layers,&lt;BR /&gt;)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;When I add&amp;nbsp;&lt;BR /&gt;file =&amp;nbsp;WebExperience.publish()&lt;BR /&gt;&lt;BR /&gt;I get an error:&lt;BR /&gt;file = WebExperience.publish()&lt;BR /&gt;AttributeError: type object 'WebExperience' has no attribute 'publish'&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 16 Aug 2024 16:54:20 GMT</pubDate>
    <dc:creator>CS_IBM</dc:creator>
    <dc:date>2024-08-16T16:54:20Z</dc:date>
    <item>
      <title>EXB .zip creates Draft, Not Published</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/exb-zip-creates-draft-not-published/m-p/1522951#M10436</link>
      <description>&lt;P&gt;I used a&amp;nbsp;&amp;nbsp;file = gis.content.add() example to add a EXB.zip to AGOL.&lt;BR /&gt;The script worked, but I needed to Publish the EXB App.&lt;BR /&gt;&lt;BR /&gt;I am only getting a Draft now, not a Published EXB App.&lt;BR /&gt;I cannot work out why, any suggestions would be appreciated.&lt;BR /&gt;I cannot do Save or Publish??&lt;BR /&gt;&lt;BR /&gt;The code is:&lt;BR /&gt;&lt;BR /&gt;### Data&lt;/P&gt;&lt;P&gt;layers=r"C:\EXB\v3.zip"&lt;/P&gt;&lt;P&gt;### XEB.zip to AGOL&lt;BR /&gt;file = gis.content.add(&lt;BR /&gt;item_properties={"type": "Web Experience", "title": "v3",&lt;BR /&gt;"description": "v3 Layers", "tags": "v3 Layers",&lt;BR /&gt;},&lt;BR /&gt;data=layers,&lt;BR /&gt;)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;When I add&amp;nbsp;&lt;BR /&gt;file =&amp;nbsp;WebExperience.publish()&lt;BR /&gt;&lt;BR /&gt;I get an error:&lt;BR /&gt;file = WebExperience.publish()&lt;BR /&gt;AttributeError: type object 'WebExperience' has no attribute 'publish'&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2024 16:54:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/exb-zip-creates-draft-not-published/m-p/1522951#M10436</guid>
      <dc:creator>CS_IBM</dc:creator>
      <dc:date>2024-08-16T16:54:20Z</dc:date>
    </item>
    <item>
      <title>Re: EXB .zip creates Draft, Not Published</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/exb-zip-creates-draft-not-published/m-p/1523726#M10439</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/760022"&gt;@CS_IBM&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Try the following:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;# Data
layers=r"C:\EXB\v3.zip"

# XEB.zip to AGOL
file = gis.content.add(
            item_properties={"type": "Web Experience", "title": "v3",
                             "description": "v3 Layers", "tags": "v3 Layers",
                             },
            data=layers,
        )

# Publish Experience Builder App
app_properties = {'typeKeywords': 'status: Published'}
file.update(item_properties=app_properties)&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 19 Aug 2024 11:59:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/exb-zip-creates-draft-not-published/m-p/1523726#M10439</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2024-08-19T11:59:39Z</dc:date>
    </item>
    <item>
      <title>Re: EXB .zip creates Draft, Not Published</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/exb-zip-creates-draft-not-published/m-p/1524335#M10446</link>
      <description>&lt;P&gt;Hi Jake,&lt;/P&gt;&lt;P&gt;Thanks for the advice, that Publishes, but the EXB is still empty.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Clive&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2024 12:43:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/exb-zip-creates-draft-not-published/m-p/1524335#M10446</guid>
      <dc:creator>CS_IBM</dc:creator>
      <dc:date>2024-08-20T12:43:32Z</dc:date>
    </item>
    <item>
      <title>Re: EXB .zip creates Draft, Not Published</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/exb-zip-creates-draft-not-published/m-p/1524540#M10449</link>
      <description>&lt;P&gt;Was the EXB app created with the EXB App Developer Edition?&amp;nbsp; I'm not an expert with EXB, but I'm not sure if you can create an app in the DEV edition, and publish to AGOL/Enterprise.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2024 17:15:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/exb-zip-creates-draft-not-published/m-p/1524540#M10449</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2024-08-20T17:15:11Z</dc:date>
    </item>
  </channel>
</rss>

