laptop and a wrench

Bogue

When creating group in Python API, setting the 'users_update_items' parameter to 'true' has no effect.

Dernière publication: May 10, 2021 ArcGIS API for Python
Numéro d’ID de bogue BUG-000137253
EnvoiFebruary 4, 2021
Dernière modificationJune 5, 2024
S’applique àArcGIS API for Python
Version trouvée1.8.1
Système d’exploitationWindows OS
Version du système d’exploitation10.0 64 Bit
Version de correction1.9.1
StatutFixed

Solution de contournement

  1. Use gis.groups.create_from_dict as outlined in this tutorial, refer to, https://developers.arcgis.com/python/sample-notebooks/batch-creation-of-groups/.
  2. Create a dictionary, set the keys and values, and pass it as a parameter.
  3. Use the capabilities key and set the value to updateitemcontrol.

The dictionary is saved to a CSV file with its keys and values:

access,description,isFav,isInvitationOnly,isViewOnly,snippet,sortField,capabilities,sortOrder,tags,thumbnail,title

private,Central Admin,FALSE,TRUE,TRUE,Central Admin,title,updateitemcontrol,asc,"Central, Admin, Central Admin",,CentralAdmin.

Use the two lines in a CSV file together with the tutorial linked above.

Étapes pour reproduire

ID de bogue: BUG-000137253

Logiciel:

  • ArcGIS API for Python

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement