Normalising Rows for Validation when using OnEachRow #2985
-
|
Hello! I'm currently working on a CSV Import which uses Is there a way of normalising the column names so that the validator and Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
For validation yes, but I'm not sure it work with onRow. You'll have to try it out |
Beta Was this translation helpful? Give feedback.
-
|
For anyone that might be trying to accomplish this same thing in the future, I was able to use Example Import |
Beta Was this translation helpful? Give feedback.
For anyone that might be trying to accomplish this same thing in the future, I was able to use
prepareForValidation()to normalise the row prior to applying validation rules. This also works correctly withSkipsOnFailureandSkipsFailures.Example Import