Sunday, October 20, 2013

How to view data inserted into SalesForce Objects?

For a database or a DBMS we do a 'Select * from' to view the contents of a table.

How do we do the same for SalesForce objects?

Check out the following steps:

  1. Log onto developer.salesforce.com. And then click on the "Developer Console" as shown below.
    SalesForce Developer Console Step1
  2. You should see the "Developer Console" open in a new Window...
    Then Click on the "Query editor" Tab as shown below.
    SalesForce Developer Console Step2
  3. Give the select command as below and see the results for the Account object. Note that column names are a must in the Salesforce's SOQL.
    Note: For Custom objects/fields  '__c' must be appended to their names.
    To know the field names, Once can go to the 'Schema Builder' and select the object.
    SalesForce Developer Console Step3

No comments:

Post a Comment