Quantcast
Channel: Forums - ArcGIS Viewer for Flex
Viewing all articles
Browse latest Browse all 2097

Viewer 3.2 Geoprocessing widget error

$
0
0
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:
Code:

handleResponseObject(JSONUtil.decode(event.data))
from:
Code:

handleResponseObject(JSON.parse(event.data));
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

Viewing all articles
Browse latest Browse all 2097

Trending Articles