<?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: Identify and work with items in a group in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/identify-and-work-with-items-in-a-group/m-p/881136#M5114</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not a problem, Allen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Aug 2019 00:58:05 GMT</pubDate>
    <dc:creator>MehdiPira1</dc:creator>
    <dc:date>2019-08-15T00:58:05Z</dc:date>
    <item>
      <title>Identify and work with items in a group</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/identify-and-work-with-items-in-a-group/m-p/881133#M5111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Very simple issue (and can do it manually, but what's the fun in that?) - Just want to mark all of the items (they are all feature layers) in a group as authoritative.&lt;/P&gt;&lt;P&gt;I get the group - but can't figure out how to start working with the items in that group.&amp;nbsp; All documentation I have found is about group members, and acting on them.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd like just to use the group as an identifier of items/content, and then the rest is easy as far as marking as authoritative.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;grps = portal.groups.search(query = 'title: mygroupname')&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;grp.get_items()&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Obviously that doesn't work but that's the gist of what I'd like.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks -&amp;nbsp;&lt;/P&gt;&lt;P&gt;Allen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Aug 2019 23:21:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/identify-and-work-with-items-in-a-group/m-p/881133#M5111</guid>
      <dc:creator>AllenScully</dc:creator>
      <dc:date>2019-08-13T23:21:01Z</dc:date>
    </item>
    <item>
      <title>Re: Identify and work with items in a group</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/identify-and-work-with-items-in-a-group/m-p/881134#M5112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/134638" target="_blank"&gt;Allen Scully&lt;/A&gt;‌, Here's the code you can use to access the group items to work with:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;groups &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; gis&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;groups&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;search&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;query &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'title: "GROUP NAME"'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;for&lt;/SPAN&gt; group &lt;SPAN class="keyword token"&gt;in&lt;/SPAN&gt; groups&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
    &lt;SPAN class="keyword token"&gt;for&lt;/SPAN&gt; group_item &lt;SPAN class="keyword token"&gt;in&lt;/SPAN&gt; group&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;content&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
        &lt;SPAN class="keyword token"&gt;print&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;group_item&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 11:07:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/identify-and-work-with-items-in-a-group/m-p/881134#M5112</guid>
      <dc:creator>MehdiPira1</dc:creator>
      <dc:date>2021-12-12T11:07:35Z</dc:date>
    </item>
    <item>
      <title>Re: Identify and work with items in a group</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/identify-and-work-with-items-in-a-group/m-p/881135#M5113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Mehdi -&amp;nbsp;&lt;/P&gt;&lt;P&gt;Of course it's that easy when you know how!&amp;nbsp; Much appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Allen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Aug 2019 14:39:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/identify-and-work-with-items-in-a-group/m-p/881135#M5113</guid>
      <dc:creator>AllenScully</dc:creator>
      <dc:date>2019-08-14T14:39:37Z</dc:date>
    </item>
    <item>
      <title>Re: Identify and work with items in a group</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/identify-and-work-with-items-in-a-group/m-p/881136#M5114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not a problem, Allen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Aug 2019 00:58:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/identify-and-work-with-items-in-a-group/m-p/881136#M5114</guid>
      <dc:creator>MehdiPira1</dc:creator>
      <dc:date>2019-08-15T00:58:05Z</dc:date>
    </item>
  </channel>
</rss>

