<?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 temp1 = Templates.MONITOR in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/temp1-templates-monitor/m-p/1527708#M10469</link>
    <description>&lt;P&gt;Greetings,&lt;BR /&gt;The ESRI "&lt;STRONG&gt;Working with Web Experiences in the Python API"&lt;/STRONG&gt; in&amp;nbsp;&lt;STRONG&gt;Class Basics.&lt;BR /&gt;&lt;/STRONG&gt;It states the following code snipit.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;# import the module from the apps folder, and establish a GIS connection.
from arcgis.apps.expbuilder import WebExperience
from arcgis.gis import GIS
gis = GIS(profile="your_online_profile")

# template enum class example
from arcgis.apps.expbuilder import Templates
temp1 = Templates.MONITOR

# if using a notebook, can preview the template by calling preview()
temp1.preview()&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I call my Template, I get an error??&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;temp1 = Templates.COASTAL
print(temp1)&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;The Error message.&lt;BR /&gt;&lt;BR /&gt;AGOL LOGIN&lt;BR /&gt;CONNECTED to AGOL&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt;File "C:\Users\ci000030\PycharmProjects\DEV\.venv\DEV\Upload_Coastal.py", line 36, in &amp;lt;module&amp;gt;&lt;BR /&gt;temp1 = Templates.COASTAL&lt;BR /&gt;File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\enum.py", line 429, in __getattr__&lt;BR /&gt;raise AttributeError(name) from None&lt;BR /&gt;AttributeError: COASTAL&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 27 Aug 2024 09:03:22 GMT</pubDate>
    <dc:creator>CS_IBM</dc:creator>
    <dc:date>2024-08-27T09:03:22Z</dc:date>
    <item>
      <title>temp1 = Templates.MONITOR</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/temp1-templates-monitor/m-p/1527708#M10469</link>
      <description>&lt;P&gt;Greetings,&lt;BR /&gt;The ESRI "&lt;STRONG&gt;Working with Web Experiences in the Python API"&lt;/STRONG&gt; in&amp;nbsp;&lt;STRONG&gt;Class Basics.&lt;BR /&gt;&lt;/STRONG&gt;It states the following code snipit.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;# import the module from the apps folder, and establish a GIS connection.
from arcgis.apps.expbuilder import WebExperience
from arcgis.gis import GIS
gis = GIS(profile="your_online_profile")

# template enum class example
from arcgis.apps.expbuilder import Templates
temp1 = Templates.MONITOR

# if using a notebook, can preview the template by calling preview()
temp1.preview()&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I call my Template, I get an error??&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;temp1 = Templates.COASTAL
print(temp1)&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;The Error message.&lt;BR /&gt;&lt;BR /&gt;AGOL LOGIN&lt;BR /&gt;CONNECTED to AGOL&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt;File "C:\Users\ci000030\PycharmProjects\DEV\.venv\DEV\Upload_Coastal.py", line 36, in &amp;lt;module&amp;gt;&lt;BR /&gt;temp1 = Templates.COASTAL&lt;BR /&gt;File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\enum.py", line 429, in __getattr__&lt;BR /&gt;raise AttributeError(name) from None&lt;BR /&gt;AttributeError: COASTAL&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Aug 2024 09:03:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/temp1-templates-monitor/m-p/1527708#M10469</guid>
      <dc:creator>CS_IBM</dc:creator>
      <dc:date>2024-08-27T09:03:22Z</dc:date>
    </item>
    <item>
      <title>Re: temp1 = Templates.MONITOR</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/temp1-templates-monitor/m-p/1534076#M10605</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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is no COASTAL in the Templates enum, hence the error. The Templates enum options are listed below.&lt;/P&gt;&lt;LI-CODE lang="python"&gt; |  AVATARBOARD = &amp;lt;Templates.AVATARBOARD: 'avatarboard'&amp;gt;
 |  
 |  BILLBOARD = &amp;lt;Templates.BILLBOARD: 'billboard'&amp;gt;
 |  
 |  BLANKFULLSCREEN = &amp;lt;Templates.BLANKFULLSCREEN: 'blank_fullscreen'&amp;gt;
 |  
 |  BLANKSCROLLABLE = &amp;lt;Templates.BLANKSCROLLABLE: 'blank_scrollable'&amp;gt;
 |  
 |  BLANKSCROLLING = &amp;lt;Templates.BLANKSCROLLING: 'blank_scrolling'&amp;gt;
 |  
 |  BOOKING = &amp;lt;Templates.BOOKING: 'booking'&amp;gt;
 |  
 |  CHECKERBOARD = &amp;lt;Templates.CHECKERBOARD: 'checkerboard'&amp;gt;
 |  
 |  CHRONOLOGY = &amp;lt;Templates.CHRONOLOGY: 'chronology'&amp;gt;
 |  
 |  COLLAGE = &amp;lt;Templates.COLLAGE: 'collage'&amp;gt;
 |  
 |  COMPARATIST = &amp;lt;Templates.COMPARATIST: 'comparatist'&amp;gt;
 |  
 |  DART = &amp;lt;Templates.DART: 'dart'&amp;gt;
 |  
 |  DASH = &amp;lt;Templates.DASH: 'dash'&amp;gt;
 |  
 |  DASHBOARD = &amp;lt;Templates.DASHBOARD: 'dashboard'&amp;gt;
 |  
 |  DATACOLLECTOR = &amp;lt;Templates.DATACOLLECTOR: 'data_collector'&amp;gt;
 |  
 |  ELEVATE = &amp;lt;Templates.ELEVATE: 'elevate'&amp;gt;
 |  
 |  EPIC = &amp;lt;Templates.EPIC: 'epic'&amp;gt;
 |  
 |  EVENTS = &amp;lt;Templates.EVENTS: 'events'&amp;gt;
 |  
 |  EXHIBITION = &amp;lt;Templates.EXHIBITION: 'exhibition'&amp;gt;
 |  
 |  FOLDABLE = &amp;lt;Templates.FOLDABLE: 'foldable'&amp;gt;
 |  
 |  FRAME = &amp;lt;Templates.FRAME: 'frame'&amp;gt;
 |  
 |  GALLERY = &amp;lt;Templates.GALLERY: 'gallery'&amp;gt;
 |  
 |  GEAR = &amp;lt;Templates.GEAR: 'gear'&amp;gt;
 |  
 |  GENERAL = &amp;lt;Templates.GENERAL: 'general'&amp;gt;
 |  
 |  ILLUSTRATOR = &amp;lt;Templates.ILLUSTRATOR: 'illustrator'&amp;gt;
 |  
 |  INDICATOR = &amp;lt;Templates.INDICATOR: 'indicator'&amp;gt;
 |  
 |  INTRODUCTION = &amp;lt;Templates.INTRODUCTION: 'introduction'&amp;gt;
 |  
 |  JEWELERYBOX = &amp;lt;Templates.JEWELERYBOX: 'jewelrybox'&amp;gt;
 |  
 |  JOURNEY = &amp;lt;Templates.JOURNEY: 'journey'&amp;gt;
 |  
 |  KIT = &amp;lt;Templates.KIT: 'kit'&amp;gt;
 |  
 |  LAUNCHPAD = &amp;lt;Templates.LAUNCHPAD: 'launchpad'&amp;gt;
 |  
 |  LEAFLET = &amp;lt;Templates.LEAFLET: 'leaflet'&amp;gt;
 |  
 |  LENS = &amp;lt;Templates.LENS: 'lens'&amp;gt;
 |  
 |  MAPFLYER = &amp;lt;Templates.MAPFLYER: 'mapflyer'&amp;gt;
 |  
 |  MONITOR = &amp;lt;Templates.MONITOR: 'monitor'&amp;gt;
 |  
 |  MULTIVERSE = &amp;lt;Templates.MULTIVERSE: 'multiverse'&amp;gt;
 |  
 |  PAMPHLET = &amp;lt;Templates.PAMPHLET: 'pamphlet'&amp;gt;
 |  
 |  PANORAMA = &amp;lt;Templates.PANORAMA: 'panorama'&amp;gt;
 |  
 |  PARALLAX = &amp;lt;Templates.PARALLAX: 'parallax'&amp;gt;
 |  
 |  POCKET = &amp;lt;Templates.POCKET: 'pocket'&amp;gt;
 |  
 |  QUICKNAVIGATION = &amp;lt;Templates.QUICKNAVIGATION: 'quick_navigation'&amp;gt;
 |  
 |  REVEAL = &amp;lt;Templates.REVEAL: 'reveal'&amp;gt;
 |  
 |  RIBBON = &amp;lt;Templates.RIBBON: 'ribbon'&amp;gt;
 |  
 |  ROUTE = &amp;lt;Templates.ROUTE: 'route'&amp;gt;
 |  
 |  SCENIC = &amp;lt;Templates.SCENIC: 'scenic'&amp;gt;
 |  
 |  SEEKER = &amp;lt;Templates.SEEKER: 'seeker'&amp;gt;
 |  
 |  SHOWROOM = &amp;lt;Templates.SHOWROOM: 'showroom'&amp;gt;
 |  
 |  SKETCHBOOK = &amp;lt;Templates.SKETCHBOOK: 'sketchbook'&amp;gt;
 |  
 |  SNAPSHOT = &amp;lt;Templates.SNAPSHOT: 'snapshot'&amp;gt;
 |  
 |  SUMMARY = &amp;lt;Templates.SUMMARY: 'summary'&amp;gt;
 |  
 |  TIMELINE = &amp;lt;Templates.TIMELINE: 'timeline'&amp;gt;
 |  
 |  VACATION = &amp;lt;Templates.VACATION: 'vacation'&amp;gt;
 |  
 |  VOYAGE = &amp;lt;Templates.VOYAGE: 'voyage'&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Sep 2024 13:41:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/temp1-templates-monitor/m-p/1534076#M10605</guid>
      <dc:creator>Clubdebambos</dc:creator>
      <dc:date>2024-09-02T13:41:14Z</dc:date>
    </item>
  </channel>
</rss>

