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
AtiqahAtiqah 

mass update record owner based on name

Hi, we have created mass upload records using CSV file. but when we upload the file, the owner name will be the one who uploads the CSV. May I know how to make a record owner name based on the name that has in the CSV file? Any code that can refer? 
Best Answer chosen by Atiqah
PriyaPriya (Salesforce Developers) 

Hi Atiqah,

Field 'Owner name' is the look up field to that object. So in the excel sheet, you need to enter the respective owner id.

If it helps, please mark it as best answer.

Regards,

Priya Ranjan