laptop and a wrench

Bogue

ArcGIS API for Python is unable to access hosted feature layers in a portal with Integrated Windows Authentication (IWA) configured, unless the layer is shared with 'Everyone'.

Dernière publication: July 18, 2019 ArcGIS API for Python
Numéro d’ID de bogue BUG-000109779
EnvoiNovember 27, 2017
Dernière modificationJune 5, 2024
S’applique àArcGIS API for Python
Version trouvée1.2.4
Système d’exploitationWindows OS
Version du système d’exploitation7.0 64 Bit
Version de correctionN/A
StatutFixed

Informations supplémentaires

This issue is fixed in the 1.2.5 update.

Solution de contournement

Share the hosted feature layer item to 'Everyone'.ORUse the built-in authentication with Portal for ArcGIS:import arcgisfrom arcgis.gis import GISuser = "username"password = "password"url = "http://webadaptorhost.domain.com/webadaptorname"gis = GIS(url, user, password)fs = gis.content.get('InsertHostedFeatureServiceItemID')print (fs.layers)

Étapes pour reproduire

ID de bogue: BUG-000109779

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