<?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 Is it possible to use a hosted feature layer from Portal in an AGOL notebook? in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/is-it-possible-to-use-a-hosted-feature-layer-from/m-p/1492712#M59724</link>
    <description>&lt;P&gt;Is it possible, and if so how, to use a hosted feature layer from our Enterprise Portal in an AGOL notebook? We don't have the Notebook Server Extension for Portal, so hoping to run a simple script from AGOL. Thanks!&lt;/P&gt;</description>
    <pubDate>Fri, 14 Jun 2024 13:46:14 GMT</pubDate>
    <dc:creator>ZenMasterZeke</dc:creator>
    <dc:date>2024-06-14T13:46:14Z</dc:date>
    <item>
      <title>Is it possible to use a hosted feature layer from Portal in an AGOL notebook?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/is-it-possible-to-use-a-hosted-feature-layer-from/m-p/1492712#M59724</link>
      <description>&lt;P&gt;Is it possible, and if so how, to use a hosted feature layer from our Enterprise Portal in an AGOL notebook? We don't have the Notebook Server Extension for Portal, so hoping to run a simple script from AGOL. Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2024 13:46:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/is-it-possible-to-use-a-hosted-feature-layer-from/m-p/1492712#M59724</guid>
      <dc:creator>ZenMasterZeke</dc:creator>
      <dc:date>2024-06-14T13:46:14Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use a hosted feature layer from Portal in an AGOL notebook?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/is-it-possible-to-use-a-hosted-feature-layer-from/m-p/1492727#M59725</link>
      <description>&lt;P&gt;Absolutely! We used to do that for nightly scripts. All you have to do is connect to your Portal in the notebook.&lt;/P&gt;&lt;LI-CODE lang="python"&gt;from arcgis.gis import GIS

gis = GIS('your portal url', 'user', 'password')

# do your stuff here&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 14 Jun 2024 14:00:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/is-it-possible-to-use-a-hosted-feature-layer-from/m-p/1492727#M59725</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2024-06-14T14:00:01Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use a hosted feature layer from Portal in an AGOL notebook?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/is-it-possible-to-use-a-hosted-feature-layer-from/m-p/1492738#M59726</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/363906"&gt;@jcarlson&lt;/a&gt;&amp;nbsp;!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2024 14:14:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/is-it-possible-to-use-a-hosted-feature-layer-from/m-p/1492738#M59726</guid>
      <dc:creator>ZenMasterZeke</dc:creator>
      <dc:date>2024-06-14T14:14:57Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use a hosted feature layer from Portal in an AGOL notebook?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/is-it-possible-to-use-a-hosted-feature-layer-from/m-p/1492743#M59727</link>
      <description>&lt;P&gt;Of course!&lt;/P&gt;&lt;P&gt;I know you didn't ask about this, but some advice: if you're using the AGOL notebook env, you may run into situations where you really need some other module that's not part of the default environment. If that happens, don't forget about throwing terminal commands into a cell with a "!" prefix.&lt;/P&gt;&lt;P&gt;If it's a small one-off, you can have the notebook install modules ad-hoc.&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;import&lt;/SPAN&gt;&lt;SPAN class=""&gt; sys&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;!{&lt;/SPAN&gt;&lt;SPAN class=""&gt;sys&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;executable&lt;/SPAN&gt;&lt;SPAN class=""&gt;}&lt;/SPAN&gt; &lt;SPAN class=""&gt;-&lt;/SPAN&gt;&lt;SPAN class=""&gt;m pip install some_other_module&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2024 14:24:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/is-it-possible-to-use-a-hosted-feature-layer-from/m-p/1492743#M59727</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2024-06-14T14:24:02Z</dc:date>
    </item>
  </channel>
</rss>

