laptop and a wrench

Error

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.

Última publicación: February 14, 2023 ArcGIS Pro
Número de ID del error BUG-000142191
EnviadoAugust 13, 2021
Última modificaciónOctober 7, 2024
Relacionado conArcGIS Pro
Versión encontrada2.8.2
Sistema operativoWindows OS
Versión de sistema operativo10.0
EstadoNon-Reproducible

Información adicional

This is not reproducible in ArcGIS Pro 3.0.

Solución alternativa

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.

Pasos para reproducir

ID del error: BUG-000142191

Software:

  • ArcGIS Pro

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga