Hello,
Today i downloaded the new ArcGIS Viewer for Flex v3.2 from gitHub. The import and adding the swc as usual went fine but i got an error in the Georpocessing widget.
Specifically it was located in rendereres >input>GPInputDataFileParamItemRenderer.mxml>Line 132 (in the fileRef_uploadCompleteDataHandler() function).
The error says 'Access to undefined property JSON'.
Importing com.esri.ags.utils.JSONUtil and modifying the call on line 132 to:
from:
resolved the error.
I am not using the geoprocessing widget right now, but will be soon so wanted to make sure this was gonna fly once i do use it.
-daniel
Today i downloaded the new ArcGIS Viewer for Flex v3.2 from gitHub. The import and adding the swc as usual went fine but i got an error in the Georpocessing widget.
Specifically it was located in rendereres >input>GPInputDataFileParamItemRenderer.mxml>Line 132 (in the fileRef_uploadCompleteDataHandler() function).
The error says 'Access to undefined property JSON'.
Importing com.esri.ags.utils.JSONUtil and modifying the call on line 132 to:
Code:
handleResponseObject(JSONUtil.decode(event.data))
Code:
handleResponseObject(JSON.parse(event.data));
I am not using the geoprocessing widget right now, but will be soon so wanted to make sure this was gonna fly once i do use it.
-daniel