Becci No Comments

There may be times when you want to see data in its raw form and be able to query on specific criteria.  The Query Editor in the Developer Console allows you to write and execute a SOQL query on the data in your organization. The History pane displays your last 10 queries for quick reuse. Results are displayed in a Query Results grid, in which you can open, create, and update records.

To open the Developer Console from Salesforce Classic:

  1. Click Your Name.
  2. Select Developer Console.

To open the Developer Console from Lightning Experience:

  1. Click the Gear Icon.
  2. Select Developer Console.

  1. Enter a SOQL query in the Editor box or navigate to File –> Open Resource. The Open Resource window displays.
  2. Search for the object by typing in the Select an item to open box. Select the object and click the Open  For this example we will query on Account.

**BE SURE TO SELECT THE OBJECT WITH THE “.obj” EXTENTION

  1. All of the object’s fields display. Select the fields you would like displayed in the result list.  Select multiple fields by holding down the Control
  2. Click the Query button to create and add the SOQL query to the editor.
  3. Click the Execute button to run the query and see the results.

  1. Add a where clause, include more fields, etc. to the SOQL query at any time.
  2. Click on the Create New (add new record for the type of object in the query), Open Detail Page (open record in read mode), or Edit Page (open record in edit mode) to perform quick actions.

  1. To refresh the result list click the Refresh Grid
  2. To execute the SOQL query after making changes, click the Execute

Leave a Reply

Your email address will not be published. Required fields are marked *