Select to view content in your preferred language

ArcGIS Viewer for Flex 2.4 - Geoprocessing widget

2996
13
07-30-2011 11:19 AM
PetraStrbenac
Deactivated User
Hi everyone,
I have just upgraded to the new version 2.4. I am really excited about Geoprocessing widget and other improvements!
I have already tried to create a Geoprocessing widget that will execute my geoprocessing service. I have copied .xlm file from existing geoprocessing widget and modified it to suite my geoprocessing service (changed task url, input and output parameters - I followed the widget documentation and was really carefull about syntax). I really found this easy to do but however I can't get rid of the application error #1104 (http response status: 200, fault code: Client.CouldNotDecode). I have looked it up (http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/runtimeErrors.html?filter_flash=c...) and it seems like I have defined same attribute more then once for the same parameter (I checked code over and over again and I can't seem to find such a mistake) or is this pointing to something else?
Any help would be highly appreciated!
Petra
Tags (2)
0 Kudos
13 Replies
PetraStrbenac
Deactivated User
Hi!
I've noticed that Clear button on geoprocessing widget clears only graphics (drawn features) but doesn't clear the value of a string parameter (which can be a bit confusing for a user). How can I add this functionality to a Clear button? (I have tried to add this in widget's .mxml but I don't know how to reference a string input parameter? :-/)
Petra
0 Kudos
TomDeWitte
Esri Regular Contributor
I too am working with the geoprocessing widget and have had some initial success.  But, when my input parameter is a "DATE" field the Flex geoprocessing window provides a Calendar date picker which I am required to use.  Unfortunately the calendar starts in the year "00".  How can I set this calendar date picker to start with a date that is actually in my lifetime?

Thanks

T DeWitte
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Thomas,

   Every input parameter has a defaultvalue. So just add a defaultvalue="some date".
0 Kudos
TomDeWitte
Esri Regular Contributor
Robert,

Thank you for the quick response.  That was exactly what I needed.  Adding the following property to my Input parameter fixed my calendar picker.

defaultvalue="05/01/2011"

Thanks Again

T DeWitte
0 Kudos