Find your content:

Search form

You are here

Finding Record Type IDs


Export a report on the Contract Record Type ID's. I want the name and Record type ID's (18 digit long ID's) of the Contract record types who's name starts with "BUNDLE".

Attribution to: appu

Possible Suggestion/Solution #1

This can't be done with reports, however, you can achieve this by using the Dataloader and exporting to CSV, you can then open the csv in Excel, Open Office or something else.

  1. Start up the dataloader
  2. Log in
  3. Export
  4. Check "Show all salesforce objects" at the top
  5. Click on RecordType in the list
  6. At choose target for extraction: you pick a directory on your hard drive where the CSV must be stored. Click NEXT
  7. In the next window, at the bottom, in the box saying "the generated query will appear below. You may edit it before finishing" you fill in:

    SELECT Name, Id, DeveloperName, SobjectType FROM RecordType WHERE SobjectType = 'Contract' AND DeveloperName LIKE 'BUNDLE%'

  8. Click Finish

  9. If a message box appears, click YES
  10. Now go to the directory you picked in step 6, and there you'll find your export.

Good luck!

Attribution to: pjcarly
This content is remixed from stackoverflow or stackexchange. Please visit

My Block Status

My Block Content