function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
AsshAssh 

Adding new fields

Hi All,

 

I need to add new fields such as DOB, gender, Marital status, ethnicity, contact phone no of a constituent in Salesforce. I believe that contact is the right place to capture all these information. I already have 1000 contacts in my account. I would like to know what are the steps I need to follow in order to add these fields under contact? Since I already have 1000 records under contact how to update these records with the new field's information? Please let me know what is the usual procedure followed here. Your help is greatly appreciated.

 

Thank you,

Assh

Best Answer chosen by Admin (Salesforce Developers) 
SakshiSakshi

Hi,

 

1. You can add all custom fields to "Contact" object.

2. Export all records i.e. 1000 contacts to CSV. You can have id, firstName, LastName columns plus newly added custom columns in export.

3. Update values within CSV for newly added column

4. Import as "Update" using Apex DataLoader.

 

Hope above steps will help you to restore your contacts. Thank you!

 

Sakshi

All Answers

SakshiSakshi

Hi,

 

1. You can add all custom fields to "Contact" object.

2. Export all records i.e. 1000 contacts to CSV. You can have id, firstName, LastName columns plus newly added custom columns in export.

3. Update values within CSV for newly added column

4. Import as "Update" using Apex DataLoader.

 

Hope above steps will help you to restore your contacts. Thank you!

 

Sakshi

This was selected as the best answer
AsshAssh

Hi Sakshi,

 

Thank you for your valuable suggestion. I will implement the steps you have given.

 

Thank you,

Assh