I'm currently working to use the Salesforce REST API to get a list of all Salesforce Custom SObjects without including System or Standard Objects (like how the
Is this possible or supported? I have found this answer which suggests using the following query:
SELECT SObjectType From ObjectPermissions Group By SObjectType
to get any object where you can assign a permission, but I do not know if that is a reasonable alternative to a simple Custom Objects call that I am seeking.
Ideally I would like both the
label properties in the list, as I can query based on the object name for specifics later.
For Additional Context: The goal is to have a user select from a typeahead which object they would like to load. I originally was using the Describe route, however fetching the 2.3k objects (2.2MB payload) and filtering out non-custom objects take between 2 to 3 seconds, which is not effective.
Thank you in advance for any pointers.