laptop and a wrench

Bug

The arcpy.management.CalculateField() function uses the active portal connection in ArcGIS Pro, even when run in a standalone script, and the script signs in to a different portal using the SignInToPortal() function.

Zuletzt veröffentlicht: February 14, 2023 ArcGIS Pro
Bug-ID-Nummer BUG-000142191
EingereichtAugust 13, 2021
Zuletzt geändertOctober 7, 2024
Gilt fürArcGIS Pro
Gefunden in Version2.8.2
BetriebssystemWindows OS
Betriebssystemversion10.0
StatusNon-Reproducible

Zusätzliche Informationen

This is not reproducible in ArcGIS Pro 3.0.

Workaround

Use the URL+Token generated from the SignInToPortal function to add the layer to a map stored in a .aprx file, and run the calculation based on the map layer. Since the layer is authenticated with the token, then there is no need to authenticate further with the portal.

Schritte zur Reproduzierung

Bug-ID: BUG-000142191

Software:

  • ArcGIS Pro

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln