AnsweredAssumed Answered

How can I specify the data types for the columns in a CSV I upload?

Question asked by mgongora_developer on Feb 16, 2018
Latest reply on Feb 19, 2018 by xander_bakker

I'm trying to upload data to a feature layer using a CSV file, but some columns that are strings, ArcGIS recognized it as a number and I can't wire that columns. A dummy row don't work for me because I have to load three values that are choices and they are string type. The disponibles choices are "1", "2", or "3", if I use a dummy row to set those columns as string, for example "abc123", an Object Null Reference Exception is thrown, because "abc123" is an avoide value for these fields.

 

There is any way to specify that a column is a string type instead a number, when the value is "1", "2", etc?

Outcomes