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
sultansultan 

How to update a record without using a record id using a dataloader?

Best Answer chosen by sultan
James LoghryJames Loghry
Radnip forgot to mention that performing an update using an external id is only available as an "Upsert" operation.

Upserts are a godsend for dataloading.  For instance, if you have a relationship based on an external id you can insert relationships on records without knowing their particular Salesforce ids. 

All Answers

RadnipRadnip
You can make a field on the object you want to update an external ID. So if you have an external system that you want to update information in Salesforce you ca use that external systems ID to update the record rather than the Salesforce Id. Or you could create an external Id based on the data you have in your org. EG you could create an contact field which is an external Id based on the users firstname, lastname and phone number. EG: francispindar5557163512 BUT you need to make sure its unique as you don't want to update different records.
James LoghryJames Loghry
Radnip forgot to mention that performing an update using an external id is only available as an "Upsert" operation.

Upserts are a godsend for dataloading.  For instance, if you have a relationship based on an external id you can insert relationships on records without knowing their particular Salesforce ids. 

This was selected as the best answer
Meghraj Kurmi 6Meghraj Kurmi 6
If you don't have salesforce record Id and if you have some other unique field values then by using that you can export record ID using Report or SOQL query Or you can use dataloader.io and there is a lookup option and by using that you can lookup your record id with other unique field
value and update/upsert those records.