We’ve made it easy for Salesforce CRM admins to convert 15 digit IDs to 18 digit IDs with Google Spreadsheets.
The Salesforce.com CRM assigns 15 digit IDs to records. This is a problem when integrating Salesforce with windows systems (like SQL server or naming files based on Salesforce IDs). Windows is case insensitive, so duplication often happens when using 15 digit IDs.
Salesforce developed 18 digit IDs to ensure uniqueness across case insensitive, Windows platforms. But, they make you convert the IDs yourself with a complicated formula unless you buy an expensive version of Salesforce.
- Generate a report of the records you want to convert in Salesforce
- Export the report as a CSV
- Import the CSV into Google Spreadsheets
- In the Google Spreadsheet, select Tools > Scripts > Insert
- Type Salesforce in the search box
- Click Install on the script by bluep@quanten….
- Select the row containing the IDs you want to convert
- Select from the newly created top menu Salesforce ID > ID 15 => ID 18
- If you want to convert 18 digit IDs to 15 digit IDs, select the row with IDs and select Salesforce ID > ID 18 => ID 15
To see how the spec was written for this script, see the post, How to Manage Outsourced Developers.