laptop and a wrench

Error

The application state (appState) user property is not updated after the popup login for a secured map.

Última publicación: October 9, 2020 ArcGIS Experience Builder developer edition
Número de ID del error BUG-000134383
EnviadoOctober 6, 2020
Última modificaciónAugust 5, 2025
Relacionado conArcGIS Experience Builder developer edition
Versión encontrada1.1
Sistema operativoWindows OS
Versión de sistema operativo10.0 64 Bit
EstadoIn Product Plan

Solución alternativa

Detect the null value of the token before the login, and then check if the token exists in the componentDidUpdate function.

Code snippet:

static mapExtraStateProps = (state: IMState, props: AllWidgetProps<IMConfig>): Props => {

if (!state.token) {

return{

userLog: state.token

};

};

componentDidUpdate(){

const {userLog} = this.props

if (userLog) {

do something

}

else{

do something else`

}

}

}

Pasos para reproducir

ID del error: BUG-000134383

Software:

  • ArcGIS Experience Builder developer edition

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