Select to view content in your preferred language

datafile input broken in Geoprocessing widget

2575
2
10-06-2011 10:36 AM
by Anonymous User
Not applicable
Original User: DanialRosenbalm

Has anyone been able to sucessfully implement a dataile input for the geoprocessing widget?

  I have a published geoprocessing tool that accepts a GPDataFile type as input.  This works just fine in ArcMap, but in Flex the geoprocessing widget simply gives me a red box.  If I type the path to a file in the red box, the popup hint says that the field is invalid.  Pushing the submit button returns the message "required field".  This is the only input for the published tool.  Here is the inputparams snippet from my config file:

<inputparams>
  <param>
    name="File"
    required="true"
    type="datafile"
    visible="true"
  </param>
</inputparams>

Any ideas why the geoprocessing widget won't allow me to pick a file?

Thanks,

Dan
0 Kudos
2 Replies
by Anonymous User
Not applicable
Original User: chris.frost.1

Did you ever solve this problem? I'm having the same trouble. It only seems to accept a url starting with http as valid input.
0 Kudos
by Anonymous User
Not applicable
Original User: DanialRosenbalm

See this thread in the geoprocessing forum for a discussion of this issue:

http://forums.arcgis.com/threads/73949-Uploading-and-using-data-to-a-geoprocessing-service
0 Kudos