Skipping key validation

When it is not possible to validate the key field in an imported .csv field, you can skip key validation.

You validate key fields in imported .csv files by mapping the key field to the field in your data type that is the unique identifier. If you import records without keys and expect to generate keys during the import process by using custom APIs in the preprocess extension points, then validation is not possible. In this case, you can skip key validation.
  1. In Dev Studio, search for and open the pyPreProcessDataImport activity.
  2. Click Save as.
  3. Click Create and open.
  4. Click Expand to see method parameters.
  5. Click Add item.
  6. In the PropertiesName field, select .pySkipKeyValidation.
  7. In the PropertiesValue field, enter true.

    Figure: Skip key validation configuration

    The pyPreProcessDataImport activity
  8. Click Save.
Result: The key field is not validated during the data import process.