<?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: Scripting Creation of ArcGIS Online Groups with Shared Update and Administrative Group setting using Arcpy in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/scripting-creation-of-arcgis-online-groups-with/m-p/1283266#M67532</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/612480"&gt;@JosephSia2&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The API allows for these settings when creating a Group using Python from the documentation in the link &lt;A href="https://developers.arcgis.com/python/api-reference/arcgis.gis.toc.html#arcgis.gis.GroupManager.create" target="_blank" rel="nofollow noopener noreferrer"&gt;arcgis.gis module | ArcGIS API for Python&lt;/A&gt;, see example below, the last two parameters handle the Administrative and Shared Update capabilities (leaving_disallowed, and users_update_items respectively)&lt;/P&gt;&lt;LI-CODE lang="python"&gt;from arcgis import GIS

agol = GIS("home")

grp_item = agol.groups.create(
    title="My_Group",
    tags="tag1,tag2,tag3",
    description="This is the description for a test group for our fake project",
    snippet="To summarize this is a test group",
    access="private", # private, public, org
    is_invitation_only = True,
    sort_field = "owner", # title, owner, modified, numviews
    sort_order = "asc", # asc or desc
    leaving_disallowed = True, # sets as Administrative
    users_update_items = True # set to Shared Update
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 27 Apr 2023 11:58:18 GMT</pubDate>
    <dc:creator>Clubdebambos</dc:creator>
    <dc:date>2023-04-27T11:58:18Z</dc:date>
    <item>
      <title>Scripting Creation of ArcGIS Online Groups with Shared Update and Administrative Group setting using Arcpy</title>
      <link>https://community.esri.com/t5/python-questions/scripting-creation-of-arcgis-online-groups-with/m-p/1280188#M67459</link>
      <description>&lt;P&gt;I've tried scripting the creation of groups by referring to this documentation (&lt;A href="https://developers.arcgis.com/python/api-reference/arcgis.gis.toc.html#arcgis.gis.GroupManager.create" target="_blank"&gt;arcgis.gis module | ArcGIS API for Python&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;Unfortunately, it seems like the documentation is incomplete and scripting seems impossible for the type of groups I'm trying to create where settings have to be done at the point of creation.&amp;nbsp; e.g.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JosephSia2_0-1681914362808.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/68397i1EA39A811BCFADF9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JosephSia2_0-1681914362808.png" alt="JosephSia2_0-1681914362808.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not so critical are the group membership settings which can be updated (using scripts?) after the groups are created.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JosephSia2_1-1681914843307.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/68400i37AFA05DDF280674/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JosephSia2_1-1681914843307.png" alt="JosephSia2_1-1681914843307.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I do not know what the valid arguments are to certain parameters. Has anyone figured out how the parameters map to the configurations offered in Portal? If not, how do I find the information? Feeling somewhat let down knowing that the method with the likely implementation is there but it cannot be used because of the documentation.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2023 14:35:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/scripting-creation-of-arcgis-online-groups-with/m-p/1280188#M67459</guid>
      <dc:creator>JosephSia2</dc:creator>
      <dc:date>2023-04-19T14:35:16Z</dc:date>
    </item>
    <item>
      <title>Re: Scripting Creation of ArcGIS Online Groups with Shared Update and Administrative Group setting using Arcpy</title>
      <link>https://community.esri.com/t5/python-questions/scripting-creation-of-arcgis-online-groups-with/m-p/1283266#M67532</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/612480"&gt;@JosephSia2&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The API allows for these settings when creating a Group using Python from the documentation in the link &lt;A href="https://developers.arcgis.com/python/api-reference/arcgis.gis.toc.html#arcgis.gis.GroupManager.create" target="_blank" rel="nofollow noopener noreferrer"&gt;arcgis.gis module | ArcGIS API for Python&lt;/A&gt;, see example below, the last two parameters handle the Administrative and Shared Update capabilities (leaving_disallowed, and users_update_items respectively)&lt;/P&gt;&lt;LI-CODE lang="python"&gt;from arcgis import GIS

agol = GIS("home")

grp_item = agol.groups.create(
    title="My_Group",
    tags="tag1,tag2,tag3",
    description="This is the description for a test group for our fake project",
    snippet="To summarize this is a test group",
    access="private", # private, public, org
    is_invitation_only = True,
    sort_field = "owner", # title, owner, modified, numviews
    sort_order = "asc", # asc or desc
    leaving_disallowed = True, # sets as Administrative
    users_update_items = True # set to Shared Update
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Apr 2023 11:58:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/scripting-creation-of-arcgis-online-groups-with/m-p/1283266#M67532</guid>
      <dc:creator>Clubdebambos</dc:creator>
      <dc:date>2023-04-27T11:58:18Z</dc:date>
    </item>
    <item>
      <title>Re: Scripting Creation of ArcGIS Online Groups with Shared Update and Administrative Group setting using Arcpy</title>
      <link>https://community.esri.com/t5/python-questions/scripting-creation-of-arcgis-online-groups-with/m-p/1283702#M67537</link>
      <description>&lt;P&gt;Have manually created the groups and yet to test this but it looks about right.&lt;/P&gt;&lt;P&gt;Will test it over the weekend.&lt;/P&gt;&lt;P&gt;Many thanks. You've likely saved my automation.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2023 05:45:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/scripting-creation-of-arcgis-online-groups-with/m-p/1283702#M67537</guid>
      <dc:creator>JosephSia2</dc:creator>
      <dc:date>2023-04-28T05:45:02Z</dc:date>
    </item>
  </channel>
</rss>

