Saturday, February 9, 2019

How to Query all Object Names in org using SOQL

This post explains how to check all object names using SOQL.
Use below simple query to get all object names org.

SOQL Query
SELECT MasterLabel, PluralLabel, KeyPrefix, DeveloperName, QualifiedApiName, NamespacePrefix FROM EntityDefinition WHERE IsCustomSetting = false Order by MasterLabel

Result

Resource
EntityDefinition Tooling API 

Happy Learning!!

2 comments: