Why custom User and Record Type Lookups are not filled in during Insert operation?

Question.

I'm inporting data from CSV source.

I have custom object with custom Lookup(User) field, but for any reason it is not filled in when inserting new records. Why?

Answer.

To porperly import lookup values, you need to add ALL CSV source files (including RecordType.csv and UserAndGroup.csv) into the source CSV package.
The reason of this, that the Plugin considers the CSV source files exactly like the Org source that has those records present.

Last updated on Tu May 2022