SObject
SOBJECTTYPE
Returns API name of an object
SOBJECTTYPE(id)
Replace id with the id of an object.
SOBJECT({Stub.Id}) will return 'Stub__c'
SOBJECTDESCRIBE
Retrieves metadata for an object. Returns object (JSON).
SOBJECTDESCRIBE(object_api_name)
Replace object_api_name with the API name of an object.
JGET(SOBJECTDESCRIBE('Account'), 'LabelPlural') will return 'Accounts'
SOBJECTFIELDDESCRIBE
Retrieves metadata for an object field. Returns object (JSON)
SOBJECTFIELD(object_api_name, field_api_name)
Replace object_api_name with the API name of an object and field_api_name with an API name of a field to retrieve metadata for.
JGET(SOBJECTFIELDDESCRIBE('Stub__c', 'Check__c'), 'Type') will return 'BOOLEAN' which is type of a Check__c field.
Last updated