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.
Result: The key field is not validated during the data import process.
- In Dev Studio, search for and open the pyPreProcessDataImport activity.
- Click Save as.
- Click Create and open.
- Click Expand to see method parameters.
- Click Add item.
- In the PropertiesName field, select .pySkipKeyValidation.
- In the PropertiesValue field, enter true.
- Click Save.
Previous topic Preventing users from selecting a data import purpose Next topic Adding post processing to import