Monday, April 14, 2014

Case-Insensitive 18-Character Org ID in 15 Seconds

In some situations you want to get your org's case-insensitive 18-character ID, instead of the case-sensitive 15-character ID shown in the Salesforce.com Organization ID field on the Company Info page.

You can actually copy the 18-character ID to your clipboard in 15 seconds, using only your web browser. If this video demo goes a bit too fast, below are the written steps:

  1. Open the Developer Console
  2. In the bottom panel, open the Query Editor tab
  3. For the query, write: SELECT Id FROM Organization
  4. Click the Execute button. The keyboard shortcut is to press Tab, Tab, Enter.
  5. Double-click the single ID returned to select the 18-character value
  6. Copy and paste as needed