Having some difficulty with a seemingly simple scope issue that I am struggling to understand. Someone will probably be able to quickly identify what I'm missing here!
I have a function that calculates planar area and calculates an acreage value with the geometry of a graphic as the input parameter. In that process I intended to set "this.acrevalue" and have it set and available later on in other functions of a button click event. However, it's always null BUT I can see that the correct acreage value is being calculated.
saveDataBtnClick() function is a button in the html of the widget that I hoped to somehow use the getAcreageValueFromPolygon() function to get the acreage value before submitting a applyEdit() on the feature service.