Esri / data-assistant

ArcGIS Pro Add-in that assists in emergency management, local government and state government data aggregation workflows.
Apache License 2.0
22 stars 8 forks source link

No check for .isNullable on target fields #218

Closed JRosenfeldIntern closed 7 years ago

JRosenfeldIntern commented 7 years ago

There needs to be a check when appending null into a target field that that field's .isNullable is true. Otherwise, the Append_management() tool (from arcpy) will not append any rows and will present warning messages similar to what is seen in issue #215

JRosenfeldIntern commented 7 years ago

Fixed. Will put in a new pull request. The default value and the isNullable trait are now saved into their respective xml TargetFields. Fieldcalculator will then go through and check to make sure that the fields being mapped to None allow null or have a default value.

Should the condition be met, an iformative message i shared to the user.