<?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 storymap.save() python error - 'Item' object has no attribute 'save' in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/storymap-save-python-error-item-object-has-no/m-p/1376942#M9604</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I'm following API tutorials to manipulate storymaps with python but am facing an issue with saving of storymaps.&lt;/P&gt;&lt;P&gt;The pythoncode below is throwing following python error on the last line:&lt;/P&gt;&lt;P&gt;AttributeError: 'Item' object has no attribute 'save'&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas what i'm doing wrong ?&lt;/P&gt;&lt;P&gt;Code:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;from&lt;/SPAN&gt; &lt;SPAN&gt;arcgis&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;gis&lt;/SPAN&gt; &lt;SPAN&gt;import&lt;/SPAN&gt; &lt;SPAN&gt;GIS&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;# create arcgis online connection&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;gis&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;GIS&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;A href="https://www.abc.com/arcgis" target="_blank" rel="noopener"&gt;https://www.abc.com/arcgis&lt;/A&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;"username"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;"password"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;# Retrieve a story by its ID&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;storymap_id&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;"xxxxxx"&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;storymap&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;gis&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;content&lt;/SPAN&gt;&lt;SPAN&gt;.get(&lt;/SPAN&gt;&lt;SPAN&gt;storymap_id&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;print&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;storymap&lt;/SPAN&gt;&lt;SPAN&gt;.title)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;storymap&lt;/SPAN&gt;&lt;SPAN&gt;.save()&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 01 Feb 2024 09:35:03 GMT</pubDate>
    <dc:creator>JanDeBelder</dc:creator>
    <dc:date>2024-02-01T09:35:03Z</dc:date>
    <item>
      <title>storymap.save() python error - 'Item' object has no attribute 'save'</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/storymap-save-python-error-item-object-has-no/m-p/1376942#M9604</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I'm following API tutorials to manipulate storymaps with python but am facing an issue with saving of storymaps.&lt;/P&gt;&lt;P&gt;The pythoncode below is throwing following python error on the last line:&lt;/P&gt;&lt;P&gt;AttributeError: 'Item' object has no attribute 'save'&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas what i'm doing wrong ?&lt;/P&gt;&lt;P&gt;Code:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;from&lt;/SPAN&gt; &lt;SPAN&gt;arcgis&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;gis&lt;/SPAN&gt; &lt;SPAN&gt;import&lt;/SPAN&gt; &lt;SPAN&gt;GIS&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;# create arcgis online connection&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;gis&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;GIS&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;A href="https://www.abc.com/arcgis" target="_blank" rel="noopener"&gt;https://www.abc.com/arcgis&lt;/A&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;"username"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;"password"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;# Retrieve a story by its ID&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;storymap_id&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;"xxxxxx"&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;storymap&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;gis&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;content&lt;/SPAN&gt;&lt;SPAN&gt;.get(&lt;/SPAN&gt;&lt;SPAN&gt;storymap_id&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;print&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;storymap&lt;/SPAN&gt;&lt;SPAN&gt;.title)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;storymap&lt;/SPAN&gt;&lt;SPAN&gt;.save()&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2024 09:35:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/storymap-save-python-error-item-object-has-no/m-p/1376942#M9604</guid>
      <dc:creator>JanDeBelder</dc:creator>
      <dc:date>2024-02-01T09:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: storymap.save() python error - 'Item' object has no attribute 'save'</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/storymap-save-python-error-item-object-has-no/m-p/1376976#M9605</link>
      <description>&lt;P&gt;I believe what you're looking for is update().&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/python/api-reference/arcgis.gis.toc.html#item" target="_blank"&gt;arcgis.gis module | ArcGIS API for Python&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You can &lt;EM&gt;print dir(storymap)&lt;/EM&gt; to get methods/attributes or&amp;nbsp;&lt;EM&gt;help(storymap)&lt;/EM&gt; to get the docs.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2024 12:33:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/storymap-save-python-error-item-object-has-no/m-p/1376976#M9605</guid>
      <dc:creator>JohnEvans6</dc:creator>
      <dc:date>2024-02-01T12:33:41Z</dc:date>
    </item>
    <item>
      <title>Re: storymap.save() python error - 'Item' object has no attribute 'save'</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/storymap-save-python-error-item-object-has-no/m-p/1379560#M9635</link>
      <description>&lt;P&gt;Hi John, thanks.&lt;/P&gt;&lt;P&gt;Indeed, dir(storymap) does not include save(); although the api documentation does, here:&amp;nbsp;&lt;A href="https://developers.arcgis.com/python/api-reference/arcgis.apps.storymap.html#storymap" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/python/api-reference/arcgis.apps.storymap.html#storymap&lt;/A&gt;&amp;nbsp;)&lt;/P&gt;&lt;P&gt;the save statement is also part of some tutorials I found, including this one&amp;nbsp;&lt;SPAN&gt;&lt;SPAN class=""&gt;&lt;A title="https://www.arcgis.com/home/item.html?id=f7e3bc074a3949c8b3c07512103e3917" href="https://www.arcgis.com/home/item.html?id=f7e3bc074a3949c8b3c07512103e3917" target="_blank" rel="noreferrer noopener"&gt;https://www.arcgis.com/home/item.html?id=f7e3bc074a3949c8b3c07512103e3917&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Did 'save' get deprecated, maybe?&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2024 09:14:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/storymap-save-python-error-item-object-has-no/m-p/1379560#M9635</guid>
      <dc:creator>JanDeBelder</dc:creator>
      <dc:date>2024-02-08T09:14:50Z</dc:date>
    </item>
  </channel>
</rss>

