GPString length

09-24-2015 12:10 PM
Occasional Contributor II


I have a geoprocessing service that has several fields, most of them are strings.

One field in particular is the streamcode, which can be up to 35 characters (numbers as characters).

When I run the script in ArcCatalog, it works, even with a long value in the streamcode field.

Then I publish it.

When I run the same job with the same parameters from the rest service GPServer, it does not work. The problem is the streamcode field can only have 19 characters.

I have not found any way to specify the number of characters and I find it weird that this one field can't handle anything more than 19.

Any ideas?


0 Kudos
0 Replies