<?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 Updating AGOL Notebook arcgis python api in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/updating-agol-notebook-arcgis-python-api/m-p/1114058#M6789</link>
    <description>&lt;P&gt;This could be a two part question because I discovered one based on the roadblock of the other.&lt;/P&gt;&lt;P&gt;Preface: I have a customer that needs multiple maps generated on a daily basis for hard copy reports. I can compile pdfs but I need the screen caps of the maps that are generated and have run into a lot of issues.&lt;/P&gt;&lt;P&gt;Tried doing a screen shot using a mapview. That doesn't work in a task since I guess it needs to render in a browser manually to work.&lt;/P&gt;&lt;P&gt;Switched over to trying to use WebMap.print() but when I ran it, it gave me an error that it doesn't have that method. So I checked the documentation and it turns out that print() is only available in 1.9.0 and later. However, AGOL notebooks run 1.8.4 by default. I tried pip upgrading and it looked like it initially upgraded properly but it did change the error. I restarted the kernel and that just killed everything.&lt;/P&gt;&lt;P&gt;Am I missing something on the upgrade and/or when will the default be 1.9 or higher?&lt;/P&gt;&lt;P&gt;Also tried to pip install third party geospatial libraries to visualize the maps but that didn't seem to work because reasons...&lt;/P&gt;</description>
    <pubDate>Thu, 04 Nov 2021 14:15:14 GMT</pubDate>
    <dc:creator>DougZietz1</dc:creator>
    <dc:date>2021-11-04T14:15:14Z</dc:date>
    <item>
      <title>Updating AGOL Notebook arcgis python api</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/updating-agol-notebook-arcgis-python-api/m-p/1114058#M6789</link>
      <description>&lt;P&gt;This could be a two part question because I discovered one based on the roadblock of the other.&lt;/P&gt;&lt;P&gt;Preface: I have a customer that needs multiple maps generated on a daily basis for hard copy reports. I can compile pdfs but I need the screen caps of the maps that are generated and have run into a lot of issues.&lt;/P&gt;&lt;P&gt;Tried doing a screen shot using a mapview. That doesn't work in a task since I guess it needs to render in a browser manually to work.&lt;/P&gt;&lt;P&gt;Switched over to trying to use WebMap.print() but when I ran it, it gave me an error that it doesn't have that method. So I checked the documentation and it turns out that print() is only available in 1.9.0 and later. However, AGOL notebooks run 1.8.4 by default. I tried pip upgrading and it looked like it initially upgraded properly but it did change the error. I restarted the kernel and that just killed everything.&lt;/P&gt;&lt;P&gt;Am I missing something on the upgrade and/or when will the default be 1.9 or higher?&lt;/P&gt;&lt;P&gt;Also tried to pip install third party geospatial libraries to visualize the maps but that didn't seem to work because reasons...&lt;/P&gt;</description>
      <pubDate>Thu, 04 Nov 2021 14:15:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/updating-agol-notebook-arcgis-python-api/m-p/1114058#M6789</guid>
      <dc:creator>DougZietz1</dc:creator>
      <dc:date>2021-11-04T14:15:14Z</dc:date>
    </item>
  </channel>
</rss>

