<?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 Re: gis.content.search --&amp;gt; exclude a user in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/gis-content-search-gt-exclude-a-user/m-p/829424#M3104</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Earl (I'm responding from a different account!) That worked perfectly.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Jul 2019 15:42:46 GMT</pubDate>
    <dc:creator>MichaelKnapp1</dc:creator>
    <dc:date>2019-07-29T15:42:46Z</dc:date>
    <item>
      <title>gis.content.search --&gt; exclude a user</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/gis-content-search-gt-exclude-a-user/m-p/829422#M3102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi there -&lt;/P&gt;&lt;P&gt;&amp;nbsp;I'm trying o build a list of our Portal content, but we have Living Atlas enabled, and even with&amp;nbsp;"outside_org=False" , the search still return all the living atlas layers. There's probably an easy way to exclude them, but I can't quite see it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's the search line:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;services = gis.content.search(query="", item_type="Feature Layer", max_items=maxItems, outside_org=False)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any help would be much appreciated!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike Knapp&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Jul 2019 01:38:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/gis-content-search-gt-exclude-a-user/m-p/829422#M3102</guid>
      <dc:creator>Michael_Knapp</dc:creator>
      <dc:date>2019-07-27T01:38:36Z</dc:date>
    </item>
    <item>
      <title>Re: gis.content.search --&gt; exclude a user</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/gis-content-search-gt-exclude-a-user/m-p/829423#M3103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mike,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can do that like so:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new, courier, monospace;"&gt;services = gis.content.search(query="NOT owner: username", item_type="Feature Layer", max_items=maxItems, outside_org=False)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Earl&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Jul 2019 15:50:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/gis-content-search-gt-exclude-a-user/m-p/829423#M3103</guid>
      <dc:creator>EarlMedina</dc:creator>
      <dc:date>2019-07-27T15:50:48Z</dc:date>
    </item>
    <item>
      <title>Re: gis.content.search --&gt; exclude a user</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/gis-content-search-gt-exclude-a-user/m-p/829424#M3104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Earl (I'm responding from a different account!) That worked perfectly.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jul 2019 15:42:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/gis-content-search-gt-exclude-a-user/m-p/829424#M3104</guid>
      <dc:creator>MichaelKnapp1</dc:creator>
      <dc:date>2019-07-29T15:42:46Z</dc:date>
    </item>
    <item>
      <title>Re: gis.content.search --&gt; exclude a user</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/gis-content-search-gt-exclude-a-user/m-p/1125106#M6892</link>
      <description>&lt;P&gt;Curious how this could work -- won't it only remove users named "username"? I use "NOT owner:esri_*" as the query to omit outside content and that seems to work.&lt;/P&gt;&lt;P&gt;I wonder why Esri has not fixed this bug in 3 years.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Dec 2021 23:30:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/gis-content-search-gt-exclude-a-user/m-p/1125106#M6892</guid>
      <dc:creator>Brian_Wilson</dc:creator>
      <dc:date>2021-12-10T23:30:01Z</dc:date>
    </item>
  </channel>
</rss>

