[SalesForce] Why is the LastName field required for the contact? What is the best approach to import contacts that only have the first name

The reason for this question is that I have a spreadsheet with lots of contacts to import, but some of them only have the first name. The LastName, being mandatory, will make my job harder.

I have seen people switching the FirstName and LastName labels so that the first name is mandatory for the user (but on the API, the user is filling the last name), but that seems to be a bad workaround to me.

What would be the best practice to import contacts that do not have the last name? Put something generic on the field?

Best Answer

As for the LastName being mandatory, I can only say that it's by design. And seems there were ideas to get it optional, but Salesforce doesn't have any plan to do so. So it is very unlikely we can get away with it.

As for the workaround, as you have noted you can either switch the FirstName to the LastName

OR

I have seen people using a notion LNU which represents Last Name Unknown (or UND Ăšltimo Nome Desconhecido in Portuguese :) ) to populate the LastName field. I have also seen this used widely with some Organizations when people don't have a valid Last Name.

One other approach that I have seen around especially with Government Authorities where Last Name is always required, they use the approach of populating the First Name as Last Name and then using FNU for the First Name which represents First Name Unknown. (I have had a personal experience with this)

So as long as you have a way to identify such records, you can go with any of these approaches.

Related Topic