Quick summary
This demo shows how to query all fields in Salesforce using the Developer Console and a SOQL FIELDS(ALL) statement. In just a few steps, you can retrieve every available field for any Salesforce object without manually listing them.
Steps
- Click the gear icon at the top right menu of the Salesforce dashboard.
- Select Developer Console from the dropdown menu.
- In the new window, navigate to the lower part of the console and click Query Editor.
- In the Query text box, type SELECT FIELDS(ALL) FROM <your object name> LIMIT 200.
- Click Execute at the bottom left corner of the interface to run the query.
- Salesforce will process the request and retrieve all available fields for the selected object.
