<?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 Identify groups with the Shared Update capability in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/identify-groups-with-the-shared-update-capability/m-p/1389784#M9711</link>
    <description>&lt;P&gt;I'd like to use the ArcGIS API for Python to identify all of the groups in the organization that have Shared Update capabilities.&amp;nbsp; The API Reference page says there is a group property of "users_update_items" but it is not recognized as a property when trying to query for it in a script.&amp;nbsp; I've seen reference of alternate query syntax for querying other properties (like isInvitation in place of is_invitation_only) but cannot find any documentation on how to query for these "special" groups.&amp;nbsp; Has anybody else had any luck?&lt;/P&gt;</description>
    <pubDate>Fri, 01 Mar 2024 23:29:58 GMT</pubDate>
    <dc:creator>HeathBrackett1</dc:creator>
    <dc:date>2024-03-01T23:29:58Z</dc:date>
    <item>
      <title>Identify groups with the Shared Update capability</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/identify-groups-with-the-shared-update-capability/m-p/1389784#M9711</link>
      <description>&lt;P&gt;I'd like to use the ArcGIS API for Python to identify all of the groups in the organization that have Shared Update capabilities.&amp;nbsp; The API Reference page says there is a group property of "users_update_items" but it is not recognized as a property when trying to query for it in a script.&amp;nbsp; I've seen reference of alternate query syntax for querying other properties (like isInvitation in place of is_invitation_only) but cannot find any documentation on how to query for these "special" groups.&amp;nbsp; Has anybody else had any luck?&lt;/P&gt;</description>
      <pubDate>Fri, 01 Mar 2024 23:29:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/identify-groups-with-the-shared-update-capability/m-p/1389784#M9711</guid>
      <dc:creator>HeathBrackett1</dc:creator>
      <dc:date>2024-03-01T23:29:58Z</dc:date>
    </item>
    <item>
      <title>Re: Identify groups with the Shared Update capability</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/identify-groups-with-the-shared-update-capability/m-p/1389790#M9712</link>
      <description>&lt;P&gt;&lt;A href="https://developers.arcgis.com/rest/users-groups-and-items/common-parameters.htm" target="_blank"&gt;https://developers.arcgis.com/rest/users-groups-and-items/common-parameters.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You can get the group and then check the group capabilities. If the&amp;nbsp;&lt;SPAN&gt;updateitemcontrol capability is returned, it's shared update. If it's not returned, it's not. You'll need to handle it this way - i.e. get capabilities, then if it exists. Not that it's false as it won't be there.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-60px"&gt;gm=arcgis.gis.GroupManager(myGIS)&lt;/P&gt;&lt;P class="lia-indent-padding-left-60px"&gt;myGroup=gm.get("groupID")&lt;/P&gt;&lt;P class="lia-indent-padding-left-60px"&gt;myGroup.capabilites&lt;/P&gt;</description>
      <pubDate>Sat, 02 Mar 2024 00:24:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/identify-groups-with-the-shared-update-capability/m-p/1389790#M9712</guid>
      <dc:creator>ChristopherCounsell</dc:creator>
      <dc:date>2024-03-02T00:24:44Z</dc:date>
    </item>
    <item>
      <title>Re: Identify groups with the Shared Update capability</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/identify-groups-with-the-shared-update-capability/m-p/1389944#M9713</link>
      <description>&lt;P&gt;As&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/412943"&gt;@ChristopherCounsell&lt;/a&gt;&amp;nbsp;notes, what you are looking for is a group's capabilities. If you set the parameter&amp;nbsp;&lt;SPAN&gt;&lt;FONT face="andale mono,times"&gt;users_update_items=True&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;when you create a group, then '&lt;/SPAN&gt;updateitemcontrol'&lt;SPAN&gt; is added to the group's capabilities.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;There are other capabilities a group can have, such as "distributed", so you should not rely solely on testing that capabilities is not null. I would recommend explicitly testing that 'updateitemcontrol' is in the group's list of capabilities.&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can specify a capability as part of your group search query, so one way to retrieve a list of shared update groups is:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;shared_udpate_groups = gis.groups.search(
    # A shared update group has 'updateitemcontrol' as one of its capabilites.
    query = 'capabilities:updateitemcontrol', 
    # 10,000 appears to be a hard limit. 
    # If more than 10,000 might be returned, then split up your query and aggregate the results.
    max_groups = 10000    
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 03 Mar 2024 01:49:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/identify-groups-with-the-shared-update-capability/m-p/1389944#M9713</guid>
      <dc:creator>PeterKnoop</dc:creator>
      <dc:date>2024-03-03T01:49:02Z</dc:date>
    </item>
    <item>
      <title>Re: Identify groups with the Shared Update capability</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/identify-groups-with-the-shared-update-capability/m-p/1390433#M9716</link>
      <description>&lt;P&gt;Thanks gentlemen! That's exactly what I was looking for!&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2024 15:40:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/identify-groups-with-the-shared-update-capability/m-p/1390433#M9716</guid>
      <dc:creator>HeathBrackett1</dc:creator>
      <dc:date>2024-03-04T15:40:28Z</dc:date>
    </item>
  </channel>
</rss>

