laptop and a wrench

Bug

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

Last Published: October 9, 2020 ArcGIS Experience Builder developer edition
Bug ID Number BUG-000134383
SubmittedOctober 6, 2020
Last ModifiedAugust 5, 2025
Applies toArcGIS Experience Builder developer edition
Version found1.1
Operating SystemWindows OS
Operating System Version10.0 64 Bit
StatusIn Product Plan

Workaround

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`

}

}

}

Steps to Reproduce

Bug ID: BUG-000134383

Software:

  • ArcGIS Experience Builder developer edition

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options