May 2019
Intermediate to advanced
546 pages
12h 41m
English
Each object has a description. No, not a description like this object is used for..., but a description of the fields that are available in the object, the field sets, and the prefix of the object (the first three characters of the ID describes the type of your object). For standard objects, a global prefix defined, but not for custom objects. You can find this prefix via this schema. Along with the label in the language of the user, plural labels, and information about the record types if the user is able to create a record of this object.
If you use this object description, the result is dependent on which user executes the following code:
Map<String, Schema.SObjectType> mapObjects = Schema.getGlobalDescribe();DescribeSObjectResult ...
Read now
Unlock full access