Please enable JavaScript.
Coggle requires JavaScript to display documents.
Object Schema (Methods (isAccessible() (Does user have read access to a…
Object Schema
Methods
isAccessible()
Does user have read access to a field?
isCreatable()
can the current user create an object?
isDeletable()
Can the current user delete a record in the object?
isUpdateable()
can an object be updated by the current user?
isSearchable()
Can the object be searched by current user?
isUndeletable()
can an object be deleted by the current user?
Schema Class
Methods
groupStructures(pairs)
Returns data category structure for one or more category groups and objects
describeDataCategoryGroups(sObjectNames)
Returns a list of category groups related to the specified sObjects
describeTabs()
Retrieves metadata about the standard and custom apps available to the current user
describeSObjects(sObjectTypes)
Retrieves metadata about an individual sObject or an array of objects
getGlobalDescription()
Returns a map of all sObject names and tokens for standard and custom objects
DescribeSObjectResult Class
Methods
getName()
Gets the name of the object used in Apex
getLabel()
Returns the text label of the object
getRecordTypeInfos()
Returns a list of record types supported by the object
getRecordTypeInfosByDeveloperName()
Returns a map of developer names and associated record types
getSObjectType()
Returns the Schema.SObjectType object for the sObject
DescribeFieldResult Class
Methods
getName()
Returns the field name used in Apex
getLabel()
returns text label of a field
getPicklistValue()
Returns a list of PicklistEntry objects for a picklist field
getDefaultValue()
Returns default value for a field
getDigits()
Returns max number of digitd specified for a field
getSObjectField()
Returns token for a field